On the Duality Between Sharpness-Aware Minimization and Adversarial Training
Not on the map. Why?
Abstract (arXiv)
Adversarial Training (AT), which adversarially perturb the input samples during training, has been acknowledged as one of the most effective defenses against adversarial attacks, yet suffers from inevitably decreased clean accuracy. Instead of perturbing the samples, Sharpness-Aware Minimization (SAM) perturbs the model weights during training to find a more flat loss landscape and improve generalization. However, as SAM is designed for better clean accuracy, its effectiveness in enhancing adversarial robustness remains unexplored. In this work, considering the duality between SAM and AT, we investigate the adversarial robustness derived from SAM. Intriguingly, we find that using SAM alone can improve adversarial robustness. To understand this unexpected property of SAM, we first provide empirical and theoretical insights into how SAM can implicitly learn more robust features, and conduct comprehensive experiments to show that SAM can improve adversarial robustness notably without sacrificing any clean accuracy, shedding light on the potential of SAM to be a substitute for AT when accuracy comes at a higher priority. Code is available at https://github.com/weizeming/SAM_AT.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 64 of its 80 references that are in the map. First posted on arXiv 23 Feb 2024.
Builds on
64 of 80 references.
References · 64
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016Wide Residual Networkscited by 3,057
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
38 more
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2018Robustness May Be at Odds with Accuracycited by 873
- 2020Fast is better than free: Revisiting adversarial trainingcited by 723
- 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 675
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 659
- 2019Adversarial Training for Free!cited by 638
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2017Exploring Generalization in Deep Learningcited by 595
- 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 527
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
- 2017A Downsampled Variant of ImageNet as an Alternative to the CIFAR datasetscited by 374
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
- 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 333
- 2018Feature Denoising for Improving Adversarial Robustnesscited by 312
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2020Bag of Tricks for Adversarial Trainingcited by 199
- 2018Spatially Transformed Adversarial Examplescited by 195
- 2023How Robust is Google's Bard to Adversarial Image Attacks?cited by 177
- 2020Torchattacks: A PyTorch Repository for Adversarial Attackscited by 156
- 2022Towards Understanding Sharpness-Aware Minimizationcited by 145
- 2020To be Robust or to be Fair: Towards Fairness in Adversarial Trainingcited by 137
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
- 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
- 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuningcited by 89
- 2023Rethinking Model Ensemble in Transfer-based Adversarial Attackscited by 88
- 2022Fisher SAM: Information Geometry and Sharpness Aware Minimisationcited by 84
- 2023Robust Classification via a Single Diffusion Modelcited by 79
- 2022Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approachcited by 70
- 2022When Adversarial Training Meets Vision Transformers: Recipes from Training to Architecturecited by 64
50 most cited of 64 All 64 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 13; 2026: 8.
24 papers.
Sort:
By area:
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyondcited by 76
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Trainingcited by 24
- 2024Exploring the Robustness of In-Context Learning with Noisy Labelscited by 13
- 2025Unveiling the Basin-Like Loss Landscape in Large Language Modelscited by 13
- 2024Adversarial Representation Engineering: A General Model Editing Framework for Large Language Modelscited by 12
- 2025Sharpness-Aware Minimization: General Analysis and Improved Ratescited by 10
- 2025SAFE: Finding Sparse and Flat Minima to Improve Pruningcited by 5
- 2026Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minimacited by 4
- 2025Dual-Space Smoothness for Robust and Balanced LLM Unlearningcited by 2
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Biascited by 2
- 2026Reward Sharpness-Aware Fine-Tuning for Diffusion Modelscited by 2
- 2025A Flat Minima Perspective on Understanding Augmentations and Model Robustnesscited by 1
12 more
- 2025Flatness-aware Curriculum Learning via Adversarial Difficultycited by 1
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Studycited by 1
- 2025Feature Statistics with Uncertainty Help Adversarial Robustnesscited by 0
- 2025Understanding Machine Unlearning Through the Lens of Mode Connectivitycited by 0
- 2025Identifying and Understanding Cross-Class Features in Adversarial Trainingcited by 0
- 2025On the Escaping Efficiency of Distributed Adversarial Training Algorithmscited by 0
- 2025S2AP: Score-space Sharpness Minimization for Adversarial Pruningcited by 0
- 2026Adversarial Samples Are Not Created Equalcited by 0
- 2026UTOPIA: Unlearnable Tabular Data via Decoupled Shortcut Embeddingcited by 0
- 2026Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimizationcited by 0
- 2026Understanding Machine Unlearning Through the Lens of Mode Connectivitycited by 0
- 2026Sparsity-Adaptive Sharpness-Aware Minimizationcited by 0
- 2026Sparsity-Adaptive Sharpness-Aware Minimization13 Sep 2026
- 2026Understanding Machine Unlearning Through the Lens of Mode Connectivity27 Jul 2026
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study26 May 2026
- 2026Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization11 May 2026
- 2026Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minima10 Apr 2026
- 2026Reward Sharpness-Aware Fine-Tuning for Diffusion Models22 Mar 2026
- 2026UTOPIA: Unlearnable Tabular Data via Decoupled Shortcut Embedding7 Feb 2026
- 2026Adversarial Samples Are Not Created Equal2 Jan 2026
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias21 Nov 2025
- 2025S2AP: Score-space Sharpness Minimization for Adversarial Pruning21 Oct 2025
- 2025Dual-Space Smoothness for Robust and Balanced LLM Unlearning27 Sep 2025
- 2025On the Escaping Efficiency of Distributed Adversarial Training Algorithms14 Sep 2025
12 more
- 2025Flatness-aware Curriculum Learning via Adversarial Difficulty26 Aug 2025
- 2025SAFE: Finding Sparse and Flat Minima to Improve Pruning7 Jun 2025
- 2025Identifying and Understanding Cross-Class Features in Adversarial Training5 Jun 2025
- 2025A Flat Minima Perspective on Understanding Augmentations and Model Robustness30 May 2025
- 2025Unveiling the Basin-Like Loss Landscape in Large Language Models23 May 2025
- 2025Understanding Machine Unlearning Through the Lens of Mode Connectivity8 Apr 2025
- 2025Feature Statistics with Uncertainty Help Adversarial Robustness26 Mar 2025
- 2025Sharpness-Aware Minimization: General Analysis and Improved Rates4 Mar 2025
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyond7 Feb 2025
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Training14 Oct 2024
- 2024Exploring the Robustness of In-Context Learning with Noisy Labels28 Apr 2024
- 2024Adversarial Representation Engineering: A General Model Editing Framework for Large Language Models21 Apr 2024
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyondcited by 76
- 2025Dual-Space Smoothness for Robust and Balanced LLM Unlearningcited by 2
- 2025Understanding Machine Unlearning Through the Lens of Mode Connectivitycited by 0
- 2026Understanding Machine Unlearning Through the Lens of Mode Connectivitycited by 0
- 2026Understanding Machine Unlearning Through the Lens of Mode Connectivity27 Jul 2026
- 2025Dual-Space Smoothness for Robust and Balanced LLM Unlearning27 Sep 2025
- 2025Understanding Machine Unlearning Through the Lens of Mode Connectivity8 Apr 2025
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyond7 Feb 2025
- 2026Reward Sharpness-Aware Fine-Tuning for Diffusion Modelscited by 2
- 2026Reward Sharpness-Aware Fine-Tuning for Diffusion Models22 Mar 2026
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Trainingcited by 24
- 2024Exploring the Robustness of In-Context Learning with Noisy Labelscited by 13
- 2025Unveiling the Basin-Like Loss Landscape in Large Language Modelscited by 13
- 2024Adversarial Representation Engineering: A General Model Editing Framework for Large Language Modelscited by 12
- 2025Sharpness-Aware Minimization: General Analysis and Improved Ratescited by 10
- 2025SAFE: Finding Sparse and Flat Minima to Improve Pruningcited by 5
- 2026Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minimacited by 4
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Biascited by 2
- 2025A Flat Minima Perspective on Understanding Augmentations and Model Robustnesscited by 1
- 2025Flatness-aware Curriculum Learning via Adversarial Difficultycited by 1
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Studycited by 1
- 2025Feature Statistics with Uncertainty Help Adversarial Robustnesscited by 0
12 most cited of 19 All 19 (JSON)
- 2026Sparsity-Adaptive Sharpness-Aware Minimization13 Sep 2026
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study26 May 2026
- 2026Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization11 May 2026
- 2026Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minima10 Apr 2026
- 2026UTOPIA: Unlearnable Tabular Data via Decoupled Shortcut Embedding7 Feb 2026
- 2026Adversarial Samples Are Not Created Equal2 Jan 2026
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias21 Nov 2025
- 2025S2AP: Score-space Sharpness Minimization for Adversarial Pruning21 Oct 2025
- 2025On the Escaping Efficiency of Distributed Adversarial Training Algorithms14 Sep 2025
- 2025Flatness-aware Curriculum Learning via Adversarial Difficulty26 Aug 2025
- 2025SAFE: Finding Sparse and Flat Minima to Improve Pruning7 Jun 2025
- 2025Identifying and Understanding Cross-Class Features in Adversarial Training5 Jun 2025
12 newest of 19 All 19 (JSON)