Why Does Sharpness-Aware Minimization Generalize Better Than SGD?
Not on the map. Why?
Abstract (arXiv)
The challenge of overfitting, in which the model memorizes the training data and fails to generalize to test data, has become increasingly significant in the training of large neural networks. To tackle this challenge, Sharpness-Aware Minimization (SAM) has emerged as a promising training method, which can improve the generalization of neural networks even in the presence of label noise. However, a deep understanding of how SAM works, especially in the setting of nonlinear neural networks and classification tasks, remains largely missing. This paper fills this gap by demonstrating why SAM generalizes better than Stochastic Gradient Descent (SGD) for a certain data model and two-layer convolutional ReLU networks. The loss landscape of our studied problem is nonsmooth, thus current explanations for the success of SAM based on the Hessian information are insufficient. Our result explains the benefits of SAM, particularly its ability to prevent noise learning in the early stages, thereby facilitating more effective learning of features. Experiments on both synthetic and real data corroborate our theory.
Key facts. Cited by 28 papers in the map (data through 14 Oct 2026). Builds on 28 of its 37 references that are in the map. First posted on arXiv 11 Oct 2023.
Builds on
28 of 37 references.
References · 28
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2019Benign Overfitting in Linear Regressioncited by 549
- 2020Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learningcited by 297
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
- 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 172
- 2019Towards Explaining the Regularization Effect of Initial Large Learning Rate in Training Neural Networkscited by 162
- 2022Towards Understanding Sharpness-Aware Minimizationcited by 146
- 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
- 2022Penalizing Gradient Norm for Efficiently Improving Generalization in Deep Learningcited by 122
- 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
- 2020Feature Purification: How Adversarial Training Performs Robust Deep Learningcited by 107
16 more
- 2021What Happens after SGD Reaches Zero Loss? --A Mathematical Frameworkcited by 107
- 2022Benign Overfitting in Two-layer Convolutional Neural Networkscited by 91
- 2020The Interpolation Phase Transition in Neural Networks: Memorization and Generalization under Lazy Trainingcited by 84
- 2020Finite-sample Analysis of Interpolating Linear Classifiers in the Overparameterized Regimecited by 81
- 2020Regularizing Neural Networks via Adversarial Model Perturbationcited by 78
- 2022Benign Overfitting without Linearity: Neural Network Classifiers Trained by Gradient Descent for Noisy Linear Datacited by 74
- 2022SGD with Large Step Sizes Learns Sparse Featurescited by 68
- 2022How Does Sharpness-Aware Minimization Minimize Sharpness?cited by 65
- 2022The Dynamics of Sharpness-Aware Minimization: Bouncing Across Ravines and Drifting Towards Wide Minimacited by 51
- 2022Learning threshold neurons via the "edge of stability"cited by 51
- 2022Towards understanding how momentum improves generalization in deep learningcited by 40
- 2021Towards an Understanding of Benign Overfitting in Neural Networkscited by 30
- 2022Data Augmentation as Feature Manipulationcited by 18
- 2022Deep Linear Networks can Benignly Overfit when Shallow Ones Docited by 8
- 2023Per-Example Gradient Regularization Improves Learning Signals from Noisy Datacited by 7
- 2022Improved Deep Neural Network Generalization Using m-Sharpness-Aware Minimizationcited by 5
Built on by
Citing papers per year: 2024: 13; 2025: 9; 2026: 6.
28 papers.
Sort:
By area:
- 2024Friendly Sharpness-Aware Minimizationcited by 53
- 2024Why is SAM Robust to Label Noise?cited by 21
- 2024Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problemscited by 10
- 2024SURE: SUrvey REcipes for building reliable and robust deep networkscited by 8
- 2025Adjusting Initial Noise to Mitigate Memorization in Text-to-Image Diffusion Modelscited by 7
- 2024Benign overfitting in leaky ReLU networks with moderate input dimensioncited by 6
- 2024Tilted Sharpness-Aware Minimizationcited by 6
- 2024Provably Neural Active Learning Succeeds via Prioritizing Perplexing Samplescited by 5
- 2024Provable Benefit of Cutout and CutMix for Feature Learningcited by 4
- 2025On the Role of Label Noise in the Feature Learning Processcited by 4
- 2025How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?cited by 4
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimizationcited by 4
16 more
- 2024Changing the Training Data Distribution to Reduce Simplicity Bias Improves In-distribution Generalizationcited by 3
- 2024Towards Understanding the Role of Sharpness-Aware Minimization Algorithms for Out-of-Distribution Generalizationcited by 3
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidthcited by 3
- 2025Do We Need All the Synthetic Data? Targeted Image Augmentation via Diffusion Modelscited by 2
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Biascited by 2
- 2024Convergence of Sharpness-Aware Minimization Algorithms using Increasing Batch Size and Decaying Learning Ratecited by 1
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbationcited by 1
- 2026Easy to Learn, Yet Hard to Forget: Towards Robust Unlearning Under Biascited by 1
- 2024Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamicscited by 0
- 2024Understanding SAM's Robustness to Noisy Labels through Gradient Down-weightingcited by 0
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizerscited by 0
- 2025SAMOSA: Sharpness Aware Minimization for Open Set Active learningcited by 0
- 2026Data Distribution as a Lever for Guiding Optimizers Toward Superior Generalization in LLMscited by 0
- 2026Sharpness-Aware Poisoning: Enhancing Transferability of Injective Attacks on Recommender Systemscited by 0
- 2026Certification of Machine Learning Models via Directional Sharpnesscited by 0
- 2026Optimal Algorithms for Nonsmooth Nonconvex Stochastic Optimization with Constraintscited by 0
- 2026Optimal Algorithms for Nonsmooth Nonconvex Stochastic Optimization with Constraints9 Oct 2026
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026Sharpness-Aware Poisoning: Enhancing Transferability of Injective Attacks on Recommender Systems24 Apr 2026
- 2026Easy to Learn, Yet Hard to Forget: Towards Robust Unlearning Under Bias25 Feb 2026
- 2026Data Distribution as a Lever for Guiding Optimizers Toward Superior Generalization in LLMs31 Jan 2026
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidth19 Jan 2026
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias21 Nov 2025
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimization5 Nov 2025
- 2025How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?20 Oct 2025
- 2025SAMOSA: Sharpness Aware Minimization for Open Set Active learning19 Oct 2025
- 2025Adjusting Initial Noise to Mitigate Memorization in Text-to-Image Diffusion Models8 Oct 2025
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizers26 Sep 2025
16 more
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbation10 Jul 2025
- 2025Do We Need All the Synthetic Data? Targeted Image Augmentation via Diffusion Models27 May 2025
- 2025On the Role of Label Noise in the Feature Learning Process25 May 2025
- 2024Towards Understanding the Role of Sharpness-Aware Minimization Algorithms for Out-of-Distribution Generalization6 Dec 2024
- 2024Understanding SAM's Robustness to Noisy Labels through Gradient Down-weighting26 Nov 2024
- 2024Provable Benefit of Cutout and CutMix for Feature Learning31 Oct 2024
- 2024Tilted Sharpness-Aware Minimization30 Oct 2024
- 2024Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problems18 Oct 2024
- 2024Convergence of Sharpness-Aware Minimization Algorithms using Increasing Batch Size and Decaying Learning Rate16 Sep 2024
- 2024Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamics10 Jun 2024
- 2024Provably Neural Active Learning Succeeds via Prioritizing Perplexing Samples6 Jun 2024
- 2024Why is SAM Robust to Label Noise?6 May 2024
- 2024Changing the Training Data Distribution to Reduce Simplicity Bias Improves In-distribution Generalization27 Apr 2024
- 2024Friendly Sharpness-Aware Minimization19 Mar 2024
- 2024Benign overfitting in leaky ReLU networks with moderate input dimension11 Mar 2024
- 2024SURE: SUrvey REcipes for building reliable and robust deep networks1 Mar 2024
- 2024Friendly Sharpness-Aware Minimizationcited by 53
- 2024Why is SAM Robust to Label Noise?cited by 21
- 2024Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problemscited by 10
- 2024SURE: SUrvey REcipes for building reliable and robust deep networkscited by 8
- 2024Benign overfitting in leaky ReLU networks with moderate input dimensioncited by 6
- 2024Tilted Sharpness-Aware Minimizationcited by 6
- 2024Provably Neural Active Learning Succeeds via Prioritizing Perplexing Samplescited by 5
- 2024Provable Benefit of Cutout and CutMix for Feature Learningcited by 4
- 2025On the Role of Label Noise in the Feature Learning Processcited by 4
- 2025How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?cited by 4
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimizationcited by 4
- 2024Changing the Training Data Distribution to Reduce Simplicity Bias Improves In-distribution Generalizationcited by 3
12 most cited of 25 All 25 (JSON)
- 2026Optimal Algorithms for Nonsmooth Nonconvex Stochastic Optimization with Constraints9 Oct 2026
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026Sharpness-Aware Poisoning: Enhancing Transferability of Injective Attacks on Recommender Systems24 Apr 2026
- 2026Data Distribution as a Lever for Guiding Optimizers Toward Superior Generalization in LLMs31 Jan 2026
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidth19 Jan 2026
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias21 Nov 2025
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimization5 Nov 2025
- 2025How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?20 Oct 2025
- 2025SAMOSA: Sharpness Aware Minimization for Open Set Active learning19 Oct 2025
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizers26 Sep 2025
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbation10 Jul 2025
- 2025On the Role of Label Noise in the Feature Learning Process25 May 2025
12 newest of 25 All 25 (JSON)