Adversarial Weight Perturbation Helps Robust Generalization
Dongxian Wu, Shu-Tao Xia, Yisen Wang
Abstract
The study on improving the robustness of deep neural networks against adversarial examples grows rapidly in recent years. Among them, adversarial training is the most promising one, which flattens the input loss landscape (loss change with respect to input) via training on adversarially perturbed examples. However, how the widely used weight loss landscape (loss change with respect to weight) performs in adversarial training is rarely explored. In this paper, we investigate the weight loss landscape from a new perspective, and identify a clear correlation between the flatness of weight loss landscape and robust generalization gap. Several well-recognized adversarial training improvements, such as early stopping, designing new objective functions, or leveraging unlabeled data, all implicitly flatten the weight loss landscape. Based on these observations, we propose a simple yet effective Adversarial Weight Perturbation (AWP) to explicitly regularize the flatness of weight loss landscape, forming a double-perturbation mechanism in the adversarial training framework that adversarially perturbs both inputs and weights. Extensive experiments demonstrate that AWP indeed brings flatter weight loss landscape and can be easily incorporated into various existing adversarial training methods to further boost their adversarial robustness.
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.
315 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
- When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations cites Fast is better than free: Revisiting adversarial training
- Towards Evaluating the Robustness of Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- Diffusion Models for Adversarial Purification cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Diffusion Models for Adversarial Purification cites Fast is better than free: Revisiting adversarial training
- 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 Data Augmentation Can Improve Robustness
- Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks cites Towards Evaluating the Robustness of Neural Networks
- Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- 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
- Fast is better than free: Revisiting adversarial training cites Towards Evaluating the Robustness of Neural Networks
- Fast is better than free: Revisiting adversarial training cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- Data Augmentation Can Improve Robustness cites Towards Evaluating the Robustness of Neural Networks
- Data Augmentation Can Improve Robustness cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- Data Augmentation Can Improve Robustness cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
Cited by top-tier papers315
- Cross-Entropy Loss Functions: Theoretical Analysis and ApplicationsAnqi Mao, Mehryar Mohri, Yutao ZhongICML 2023 · 790 citations
- Diffusion Models for Adversarial PurificationWeili Nie, Brandon Guo, Yujia Huang, Chaowei Xiao et al.ICML 2022 · 663 citations
- Adversarial Neuron Pruning Purifies Backdoored Deep ModelsDongxian Wu, Yisen WangNeurIPS 2021 · 441 citations
- Data Augmentation Can Improve RobustnessSylvestre-Alvise Rebuffi, Sven Gowal, Dan Andrei Calian, Florian Stimberg et al.NeurIPS 2021 · 427 citations
- When Vision Transformers Outperform ResNets without Pre-training or Strong Data AugmentationsXiangning Chen, Cho-Jui Hsieh, Boqing GongICLR 2022 · 388 citations
Builds on10
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha et al.S&P 2016 · 3,275 citations
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
- Feature Squeezing: Detecting Adversarial Examples in Deep Neural NetworksWeilin Xu, David Evans, Yanjun QiNDSS 2018 · 1,633 citations
- Fast is better than free: Revisiting adversarial trainingEric Wong, Leslie Rice, J. Zico KolterICLR 2020 · 1,352 citations
Related papers
- Relating Adversarially Robust Generalization to Flat MinimaDavid Stutz, Matthias Hein, Bernt SchieleICCV 2021 · 80 citations
- Overfitting in adversarially robust deep learningLeslie Rice, Eric Wong, J. Zico KolterICML 2020 · 935 citations
- Randomized Adversarial Training via Taylor ExpansionGaojie Jin, Xinping Yi, Dengyu Wu, Ronghui Mu et al.CVPR 2023
- On the Duality Between Sharpness-Aware Minimization and Adversarial TrainingYihao Zhang, Hangzhou He, Jingyu Zhu, Huanran Chen et al.ICML 2024 · 29 citations
- Adversarial Weight Perturbation Improves Generalization in Graph Neural NetworksYihan Wu, Aleksandar Bojchevski, Heng HuangAAAI 2023 · 35 citations
