Bag of Tricks for Adversarial Training
Tianyu Pang, Xiao Yang, Yinpeng Dong, Hang Su, Jun Zhu
Abstract
Adversarial training (AT) is one of the most effective strategies for promoting model robustness. However, recent benchmarks show that most of the proposed improvements on AT are less effective than simply early stopping the training procedure. This counter-intuitive fact motivates us to investigate the implementation details of tens of AT methods. Surprisingly, we find that the basic settings (e.g., weight decay, training schedule, etc.) used in these methods are highly inconsistent. In this work, we provide comprehensive evaluations on CIFAR-10, focusing on the effects of mostly overlooked training tricks and hyperparameters for adversarially trained models. Our empirical observations suggest that adversarial robustness is much more sensitive to some basic training settings than we thought. For example, a slightly different value of weight decay can reduce the model robust accuracy by more than 7%, which is probable to override the potential promotion induced by the proposed methods. We conclude a baseline training setting and re-implement previous defenses to achieve new state-of-the-art results 1 . These facts also appeal to more concerns on the overlooked confounders when benchmarking defenses.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
111 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Boosting Adversarial Training with Hypersphere Embedding cites Towards Evaluating the Robustness of Neural Networks
- Boosting Adversarial Training with Hypersphere Embedding cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Boosting Adversarial Training with Hypersphere Embedding cites Fast is better than free: Revisiting adversarial training
- Boosting Adversarial Training with Hypersphere Embedding cites Overfitting in adversarially robust deep learning
- Robust Learning Meets Generative Models: Can Proxy Distributions Improve Adversarial Robustness? cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Robust Learning Meets Generative Models: Can Proxy Distributions Improve Adversarial Robustness? cites On Adaptive Attacks to Adversarial Example Defenses
- Robust Learning Meets Generative Models: Can Proxy Distributions Improve Adversarial Robustness? cites Overfitting in adversarially robust deep learning
- Improving Robustness using Generated Data cites Boosting Adversarial Training with Hypersphere Embedding
- Improving Robustness using Generated Data cites Towards Evaluating the Robustness of Neural Networks
- Improving Robustness using Generated Data cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Improving Robustness using Generated Data cites On Adaptive Attacks to Adversarial Example Defenses
- Improving Robustness using Generated Data cites Overfitting in adversarially robust deep learning
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Boosting Adversarial Training with Hypersphere Embedding
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Towards Evaluating the Robustness of Neural Networks
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Fast is better than free: Revisiting adversarial training
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Overfitting in adversarially robust deep learning
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Towards Evaluating the Robustness of Neural Networks
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Fast is better than free: Revisiting adversarial training
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Overfitting in adversarially robust deep learning
- Fast is better than free: Revisiting adversarial training cites Towards Evaluating the Robustness of Neural Networks
- On Adaptive Attacks to Adversarial Example Defenses cites Towards Evaluating the Robustness of Neural Networks
- On Adaptive Attacks to Adversarial Example Defenses cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Overfitting in adversarially robust deep learning cites Towards Evaluating the Robustness of Neural Networks
- Overfitting in adversarially robust deep learning cites Fast is better than free: Revisiting adversarial training
- Better Diffusion Models Further Improve Adversarial Training cites Boosting Adversarial Training with Hypersphere Embedding
- Better Diffusion Models Further Improve Adversarial Training cites Robust Learning Meets Generative Models: Can Proxy Distributions Improve Adversarial Robustness?
- Better Diffusion Models Further Improve Adversarial Training cites Improving Robustness using Generated Data
- Better Diffusion Models Further Improve Adversarial Training cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Better Diffusion Models Further Improve Adversarial Training cites Fast is better than free: Revisiting adversarial training
- Better Diffusion Models Further Improve Adversarial Training cites On Adaptive Attacks to Adversarial Example Defenses
- Better Diffusion Models Further Improve Adversarial Training cites Overfitting in adversarially robust deep learning
Cited by top-tier papers111
- Cross-Entropy Loss Functions: Theoretical Analysis and ApplicationsAnqi Mao, Mehryar Mohri, Yutao ZhongICML 2023 · 790 citations
- Improving Robustness using Generated DataSven Gowal, Sylvestre-Alvise Rebuffi, Olivia Wiles, Florian Stimberg et al.NeurIPS 2021 · 384 citations
- Better Diffusion Models Further Improve Adversarial TrainingZekai Wang, Tianyu Pang, Chao Du, Min Lin et al.ICML 2023 · 300 citations
- Boosting Adversarial Training with Hypersphere EmbeddingTianyu Pang, Xiao Yang, Yinpeng Dong, Taufik Xu et al.NeurIPS 2020 · 170 citations
- Robust Learning Meets Generative Models: Can Proxy Distributions Improve Adversarial Robustness?Vikash Sehwag, Saeed Mahloujifar, Tinashe Handina, Sihui Dai et al.ICLR 2022 · 150 citations
Builds on24
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
- Fast is better than free: Revisiting adversarial trainingEric Wong, Leslie Rice, J. Zico KolterICLR 2020 · 1,352 citations
- On Adaptive Attacks to Adversarial Example DefensesFlorian Tramèr, Nicholas Carlini, Wieland Brendel, Aleksander MadryNeurIPS 2020 · 1,026 citations
- Overfitting in adversarially robust deep learningLeslie Rice, Eric Wong, J. Zico KolterICML 2020 · 935 citations
Related papers
- Relating Adversarially Robust Generalization to Flat MinimaDavid Stutz, Matthias Hein, Bernt SchieleICCV 2021 · 80 citations
- Improving Robustness with Adaptive Weight DecayAmin Ghiasi, Ali Shafahi, Reza ArdekaniNeurIPS 2023 · 18 citations
- On the Duality Between Sharpness-Aware Minimization and Adversarial TrainingYihao Zhang, Hangzhou He, Jingyu Zhu, Huanran Chen et al.ICML 2024 · 29 citations
- Once-for-All Adversarial Training: In-Situ Tradeoff between Robustness and Accuracy for FreeHaotao Wang, Tianlong Chen, Shupeng Gui, Ting-Kuei Hu et al.NeurIPS 2020 · 94 citations
- Advancing Example Exploitation Can Alleviate Critical Challenges in Adversarial TrainingYao Ge, Yun Li, Keji Han, Junyi Zhu et al.ICCV 2023 · 6 citations
