Make Some Noise: Reliable and Efficient Single-Step Adversarial Training

Pau de Jorge, Adel Bibi, Riccardo Volpi, Amartya Sanyal, Philip H. S. Torr +2 more
2/2/2022
cs.LGcs.CV

Official code: pdejorge/N-FGSM (26 stars, Python, MIT, last commit 2022-10-17).

Abstract

Recently, Wong et al. showed that adversarial training with single-step FGSM leads to a characteristic failure mode named Catastrophic Overfitting (CO), in which a model becomes suddenly vulnerable to multi-step attacks. Experimentally they showed that simply adding a random perturbation prior to FGSM (RS-FGSM) could prevent CO.

Show full abstract

However, Andriushchenko and Flammarion observed that RS-FGSM still leads to CO for larger perturbations, and proposed a computationally expensive regularizer (GradAlign) to avoid it. In this work, we methodically revisit the role of noise and clipping in single-step adversarial training. Contrary to previous intuitions, we find that using a stronger noise around the clean sample combined with \textit{not clipping} is highly effective in avoiding CO for large perturbation radii. We then propose Noise-FGSM (N-FGSM) that, while providing the benefits of single-step adversarial training, does not suffer from CO. Empirical analyses on a large suite of experiments show that N-FGSM is able to match or surpass the performance of previous state-of-the-art GradAlign, while achieving 3x speed-up. Code can be found in https://github.com/pdejorge/N-FGSM

View on arXivView PDF

Code Implementations(1)

pdejorge/N-FGSMOfficial100%
MIT

Official repo for the paper "Make Some Noise: Reliable and Efficient Single-Step Adversarial Training" (https://arxiv.org/abs/2202.01181)

263Python, ShellJun 19, 20224 years agoMIT

Similar Papers

Cite this paper

@article{jorge2022make,
  title  = {Make Some Noise: Reliable and Efficient Single-Step Adversarial Training},
  author = {Pau de Jorge and Adel Bibi and Riccardo Volpi and Amartya Sanyal and Philip H. S. Torr and Grégory Rogez and Puneet K. Dokania},
  year   = {2022},
  eprint = {2202.01181},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.01181}
}

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/2202.01181.svg)](https://codeofpaper.com/paper/2202.01181)

Discussion