mlsanityData to 7 Oct 2026

How Does Sharpness-Aware Minimization Minimize Sharpness?

arXiv 2211.05729 ↗First posted 10 Nov 2022cs.LG math.OC stat.MLcited by 64

Not on the map. Why?

Abstract (arXiv)

Sharpness-Aware Minimization (SAM) is a highly effective regularization technique for improving the generalization of deep neural networks for various settings. However, the underlying working of SAM remains elusive because of various intriguing approximations in the theoretical characterizations. SAM intends to penalize a notion of sharpness of the model but implements a computationally efficient variant; moreover, a third notion of sharpness was used for proving generalization guarantees. The subtle differences in these notions of sharpness can indeed lead to significantly different empirical results. This paper rigorously nails down the exact sharpness notion that SAM regularizes and clarifies the underlying mechanism. We also show that the two steps of approximations in the original motivation of SAM individually lead to inaccurate local conclusions, but their combination accidentally reveals the correct effect, when full-batch gradients are applied. Furthermore, we also prove that the stochastic version of SAM in fact regularizes the third notion of sharpness mentioned above, which is most likely to be the preferred notion for practical performance. The key mechanism behind this intriguing phenomenon is the alignment between the gradient and the top eigenvector of Hessian when SAM is applied.

Key facts. Cited by 64 papers in the map (data through 7 Oct 2026). Builds on 19 of its 23 references that are in the map. First posted on arXiv 10 Nov 2022.

Builds on

19 of 23 references.

References · 19

  1. 2016Understanding deep learning requires rethinking generalizationcited by 1,657
  2. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  3. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  4. 2017Exploring Generalization in Deep Learningcited by 595
  5. 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 527
  6. 2019Fantastic Generalization Measures and Where to Find Themcited by 507
  7. 2017Sharp Minima Can Generalize For Deep Netscited by 462
  8. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  9. 2017Three Factors Influencing Minima in SGDcited by 270
  10. 2022Towards Understanding Sharpness-Aware Minimizationcited by 145
  11. 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
  12. 2022Understanding Gradient Descent on Edge of Stability in Deep Learningcited by 126
7 more
  1. 2019Implicit regularization for deep neural networks driven by an Ornstein-Uhlenbeck like processcited by 123
  2. 2022Penalizing Gradient Norm for Efficiently Improving Generalization in Deep Learningcited by 122
  3. 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
  4. 2021What Happens after SGD Reaches Zero Loss? --A Mathematical Frameworkcited by 106
  5. 2022Understanding the Generalization Benefit of Normalization Layers: Sharpness Reductioncited by 86
  6. 2019Convergence rates for the stochastic gradient descent method for non-convex objective functionscited by 66
  7. 2019Improved Sample Complexities for Deep Networks and Robust Classification via an All-Layer Margincited by 56

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 20; 2024: 15; 2025: 16; 2026: 13.

64 papers.

Sort:

By area:

  1. 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 76
  2. 2024Why are Sensitive Functions Hard for Transformers?cited by 74
  3. 2023Sharpness Minimization Algorithms Do Not Only Minimize Sharpness To Achieve Better Generalizationcited by 39
  4. 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
  5. 2023Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferabilitycited by 32
  6. 2023Why Does Sharpness-Aware Minimization Generalize Better Than SGD?cited by 27
  7. 2023The Crucial Role of Normalization in Sharpness-Aware Minimizationcited by 26
  8. 2023SAM operates far from home: eigenvalue regularization as a dynamical phenomenoncited by 24
  9. 2023An SDE for Modeling SAM: Theory and Insightscited by 22
  10. 2024Why is SAM Robust to Label Noise?cited by 21
  11. 2025Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimizationcited by 21
  12. 2026There Will Be a Scientific Theory of Deep Learningcited by 21
38 more
  1. 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optimacited by 20
  2. 2023The Marginal Value of Momentum for Small Learning Rate SGDcited by 16
  3. 2023Noise Stability Optimization for Finding Flat Minima: A Hessian-based Regularization Approachcited by 14
  4. 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
  5. 2023How to escape sharp minima with random perturbationscited by 13
  6. 2025Unveiling the Basin-Like Loss Landscape in Large Language Modelscited by 13
  7. 2024Neglected Hessian component explains mysteries in Sharpness regularizationcited by 12
  8. 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Modelscited by 11
  9. 2023mSAM: Micro-Batch-Averaged Sharpness-Aware Minimizationcited by 10
  10. 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
  11. 2024Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problemscited by 9
  12. 2024Stabilizing Sharpness-aware Minimization Through A Simple Renormalization Strategycited by 8
  13. 2023Per-Example Gradient Regularization Improves Learning Signals from Noisy Datacited by 7
  14. 2026Sharpness-Aware Pretraining Mitigates Catastrophic Forgettingcited by 7
  15. 2023The Inductive Bias of Flatness Regularization for Deep Matrix Factorizationcited by 6
  16. 2024Tilted Sharpness-Aware Minimizationcited by 6
  17. 2025How Memory in Optimization Algorithms Implicitly Modifies the Losscited by 6
  18. 2025On Learning Verifiers and Implications to Chain-of-Thought Reasoningcited by 6
  19. 2023Systematic Investigation of Sparse Perturbed Sharpness-Aware Minimization Optimizercited by 4
  20. 2024Simplicity Bias via Global Convergence of Sharpness Minimizationcited by 4
  21. 2025How Far Are We from True Unlearnability?cited by 4
  22. 2026Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minimacited by 4
  23. 2024Changing the Training Data Distribution to Reduce Simplicity Bias Improves In-distribution Generalizationcited by 3
  24. 2024An Uncertainty-Aware Generalization Framework for Cardiovascular Image Segmentationcited by 3
  25. 2024SSE-SAM: Balancing Head and Tail Classes Gradually through Stage-Wise SAMcited by 3
  26. 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimizationcited by 3
  27. 2023FAM: Relative Flatness Aware Minimizationcited by 2
  28. 2024A Precise Characterization of SGD Stability Using Loss Surface Geometrycited by 2
  29. 2025Do We Need All the Synthetic Data? Targeted Image Augmentation via Diffusion Modelscited by 2
  30. 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimizationcited by 2
  31. 2025Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noisecited by 2
  32. 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Biascited by 2
  33. 2023A Stability Analysis of Fine-Tuning a Pre-Trained Modelcited by 1
  34. 2023Generalization error bounds for iterative learning algorithms with bounded updatescited by 1
  35. 2025Preconditioned Sharpness-Aware Minimization: Unifying Analysis and a Novel Learning Algorithmcited by 1
  36. 2025Task Vector Bases: A Unified and Scalable Framework for Compressed Task Arithmeticcited by 1
  37. 2025VASSO: Variance Suppression for Sharpness-Aware Minimizationcited by 1
  38. 2026Easy to Learn, Yet Hard to Forget: Towards Robust Unlearning Under Biascited by 1

50 most cited of 64 All 64 (JSON)