Improving Accuracy-robustness Trade-off via Pixel Reweighted Adversarial Training
Jiacheng Zhang, Feng Liu, Dawei Zhou, Jingfeng Zhang, Tongliang Liu
TL;DR
This work addresses the accuracy-robustness trade-off in adversarial training by showing that pixel regions contribute unequally to robustness and accuracy. It introduces PART, a CAM-guided, pixel-based reweighting framework that assigns full perturbation budget to important regions and reduced budgets to less influential ones via Pixel-AG. Empirically, PART improves natural accuracy with minimal robustness loss on CIFAR-10, SVHN, and TinyImagenet-200 and remains compatible with standard AT methods and CAM variants, while also resisting adaptive attacks and improving corruption robustness. The approach offers a practical enhancement to robust classification and suggests broader applicability to future architectures and optimization of per-pixel perturbation budgets.
Abstract
Adversarial training (AT) trains models using adversarial examples (AEs), which are natural images modified with specific perturbations to mislead the model. These perturbations are constrained by a predefined perturbation budget $ε$ and are equally applied to each pixel within an image. However, in this paper, we discover that not all pixels contribute equally to the accuracy on AEs (i.e., robustness) and accuracy on natural images (i.e., accuracy). Motivated by this finding, we propose Pixel-reweighted AdveRsarial Training (PART), a new framework that partially reduces $ε$ for less influential pixels, guiding the model to focus more on key regions that affect its outputs. Specifically, we first use class activation mapping (CAM) methods to identify important pixel regions, then we keep the perturbation budget for these regions while lowering it for the remaining regions when generating AEs. In the end, we use these pixel-reweighted AEs to train a model. PART achieves a notable improvement in accuracy without compromising robustness on CIFAR-10, SVHN and TinyImagenet-200, justifying the necessity to allocate distinct weights to different pixel regions in robust classification.
