Improving Accuracy-robustness Trade-off via Pixel Reweighted Adversarial Training

Jiacheng Zhang, Feng Liu, Dawei Zhou, Jingfeng Zhang, Tongliang Liu
6/2/2024
cs.CVcs.LG

No official code found. Best implementation: tmlr-group/PART (17 stars, MIT, last commit 2024-06-04). 1 more below.

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.

View on arXivView PDF

Code Implementations(2)

tmlr-group/PARTCommunity100%
MIT

[ICML 2024] "Improving Accuracy-robustness Trade-off via Pixel Reweighted Adversarial Training"

172PythonMay 29, 20242 years agoMIT
JiachengZ01/PARTCommunity71%
MIT

[ICML 2024] "Improving Accuracy-robustness Trade-off via Pixel Reweighted Adversarial Training"

43PythonMay 28, 20242 years agoMIT

Similar Papers

Cite this paper

@article{zhang2024improving,
  title  = {Improving Accuracy-robustness Trade-off via Pixel Reweighted Adversarial Training},
  author = {Jiacheng Zhang and Feng Liu and Dawei Zhou and Jingfeng Zhang and Tongliang Liu},
  year   = {2024},
  eprint = {2406.00685},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.00685v1},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.00685.svg)](https://codeofpaper.com/paper/2406.00685)

Discussion