Towards Understanding Sharpness-Aware Minimization
Not on the map. Why?
Abstract (arXiv)
Sharpness-Aware Minimization (SAM) is a recent training method that relies on worst-case weight perturbations which significantly improves generalization in various settings. We argue that the existing justifications for the success of SAM which are based on a PAC-Bayes generalization bound and the idea of convergence to flat minima are incomplete. Moreover, there are no explanations for the success of using m-sharpness in SAM which has been shown as essential for generalization. To better understand this aspect of SAM, we theoretically analyze its implicit bias for diagonal linear networks. We prove that SAM always chooses a solution that enjoys better generalization properties than standard gradient descent for a certain class of problems, and this effect is amplified by using m-sharpness. We further study the properties of the implicit bias on non-linear networks empirically, where we show that fine-tuning a standard model with SAM can lead to significant generalization improvements. Finally, we provide convergence results of SAM for non-convex objectives when used with stochastic gradients. We illustrate these results empirically for deep networks and discuss their relation to the generalization behavior of SAM. The code of our experiments is available at https://github.com/tml-epfl/understanding-sam.
Key facts. Cited by 145 papers in the map (data through 7 Oct 2026). Builds on 32 of its 48 references that are in the map. First posted on arXiv 13 Jun 2022.
Builds on
32 of 48 references.
References · 32
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2016Understanding deep learning requires rethinking generalizationcited by 1,657
- 2018Group Normalizationcited by 1,514
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 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
- 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
- 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
- 2013Speech Recognition with Deep Recurrent Neural Networkscited by 666
- 2017Exploring Generalization in Deep Learningcited by 595
- 2016Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Lojasiewicz Conditioncited by 526
20 more
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2020Overfitting in adversarially robust deep learningcited by 504
- 2017Sharp Minima Can Generalize For Deep Netscited by 462
- 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 339
- 2020Kernel and Rich Regimes in Overparametrized Modelscited by 302
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
- 2020Implicit Bias of Gradient Descent for Wide Two-layer Neural Networks Trained with the Logistic Losscited by 267
- 2019Uniform convergence may be unable to explain generalization in deep learningcited by 223
- 2019SGD: General Analysis and Improved Ratescited by 206
- 2019Implicit regularization for deep neural networks driven by an Ornstein-Uhlenbeck like processcited by 123
- 2021Implicit Bias of SGD for Diagonal Linear Networks: a Provable Benefit of Stochasticitycited by 107
- 2019Asymmetric Valleys: Beyond Sharp and Flat Local Minimacited by 90
- 2021Information-Theoretic Generalization Bounds for Stochastic Gradient Descentcited by 84
- 2020Regularizing Neural Networks via Adversarial Model Perturbationcited by 78
- 2019Bad Global Minima Exist and SGD Can Reach Themcited by 49
- 2021On the Generalization of Models Trained with SGD: Information-Theoretic Bounds and Implicationscited by 31
- 2018SmoothOut: Smoothing Out Sharp Minima to Improve Generalization in Deep Learningcited by 25
- 2020Extrapolation for Large-batch Training in Deep Learningcited by 25
- 2019Gradient Noise Convolution (GNC): Smoothing Loss Function for Distributed Large-Batch SGDcited by 7
Built on by
Citing papers per year: 2022: 8; 2023: 43; 2024: 43; 2025: 34; 2026: 17.
145 papers.
Sort:
By area:
- 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyondcited by 76
- 2022How Does Sharpness-Aware Minimization Minimize Sharpness?cited by 64
- 2022On the Maximum Hessian Eigenvalue and Generalizationcited by 57
- 2024Friendly Sharpness-Aware Minimizationcited by 52
- 2023FedSpeed: Larger Local Interval, Less Communication Round, and Higher Generalization Accuracycited by 49
- 2024Deep Networks Always Grok and Here is Whycited by 49
- 2023Improving the Model Consistency of Decentralized Federated Learningcited by 45
- 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
- 2023Sharpness-Aware Minimization Leads to Low-Rank Featurescited by 38
- 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
- 2024Make Continual Learning Stronger via C-Flatcited by 35
38 more
- 2024Does SGD really happen in tiny subspaces?cited by 35
- 2023Make Landscape Flatter in Differentially Private Federated Learningcited by 33
- 2023Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferabilitycited by 32
- 2024Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimizationcited by 28
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needscited by 27
- 2023Why Does Sharpness-Aware Minimization Generalize Better Than SGD?cited by 27
- 2023On Efficient Training of Large-Scale Deep Learning Models: A Literature Reviewcited by 26
- 2023The Crucial Role of Normalization in Sharpness-Aware Minimizationcited by 26
- 2023SAM operates far from home: eigenvalue regularization as a dynamical phenomenoncited by 24
- 2024On the Duality Between Sharpness-Aware Minimization and Adversarial Trainingcited by 24
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Trainingcited by 24
- 2023An SDE for Modeling SAM: Theory and Insightscited by 22
- 2023AdaSAM: Boosting Sharpness-Aware Minimization with Adaptive Learning Rate and Momentum for Training Deep Neural Networkscited by 21
- 2024Why is SAM Robust to Label Noise?cited by 21
- 2025Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimizationcited by 21
- 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optimacited by 20
- 2023FlatMatch: Bridging Labeled Data and Unlabeled Data with Cross-Sharpness for Semi-Supervised Learningcited by 20
- 2022Understanding Gradient Regularization in Deep Learning: Efficient Finite-Difference Computation and Implicit Biascited by 16
- 2023Sharpness-Aware Minimization and the Edge of Stabilitycited by 16
- 2023Decentralized SGD and Average-direction SAM are Asymptotically Equivalentcited by 15
- 2023Stability Analysis of Sharpness-Aware Minimizationcited by 14
- 2023Differentially Private Sharpness-Aware Trainingcited by 14
- 2023Noise Stability Optimization for Finding Flat Minima: A Hessian-based Regularization Approachcited by 14
- 2024Implicit Optimization Bias of Next-Token Prediction in Linear Modelscited by 14
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2024Momentum-SAM: Sharpness Aware Minimization without Computational Overheadcited by 13
- 2024Revisiting Random Weight Perturbation for Efficiently Improving Generalizationcited by 13
- 2023Chasing Fairness Under Distribution Shift: A Model Weight Perturbation Approachcited by 12
- 2023Winning Prize Comes from Losing Tickets: Improve Invariant Learning by Exploring Variant Parameters for Out-of-Distribution Generalizationcited by 12
- 2024Neglected Hessian component explains mysteries in Sharpness regularizationcited by 12
- 2025A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm Minimisationcited by 11
- 2023Approximately Bayes-Optimal Pseudo Label Selectioncited by 10
- 2023mSAM: Micro-Batch-Averaged Sharpness-Aware Minimizationcited by 10
- 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapescited by 10
- 2025Sharpness-Aware Minimization: General Analysis and Improved Ratescited by 10
- 2023Exploring the Effect of Multi-step Ascent in Sharpness-Aware Minimizationcited by 9
- 2023Multi-Dataset Co-Training with Sharpness-Aware Optimization for Audio Anti-spoofingcited by 9
- 2024Unveiling Privacy, Memorization, and Input Curvature Linkscited by 9
50 most cited of 145 All 145 (JSON)
- 2026FL-OA: A Byzantine-Robust Federated Learning Framework with Outsourced Auditing for Intelligent Devices2 Aug 2026
- 2026Mini-batch Noise Lowers Sharpness via Dominant-Subspace Fluctuations25 Jul 2026
- 2026Leveraging Extragradient for Effective Sharpness-Aware Minimization in Deep Learning7 Jul 2026
- 2026How Far Can Sharpness and Complexity Jointly Explain Generalization?27 Jun 2026
- 2026Closed-Form Steepest Descent Direction toward Flat Minima: Reducing Upper Bounds on the Loss Hessian Eigenspectrum in Neural Networks27 Jun 2026
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026SHAPO: Sharpness-Aware Policy Optimization for Safe Exploration8 Jun 2026
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study26 May 2026
- 2026FedVSSAM: Mitigating Flatness Incompatibility in Sharpness-Aware Federated Learning9 May 2026
- 2026Wolkowicz-Styan Upper Bound on the Hessian Eigenspectrum for Cross-Entropy Loss in Nonlinear Smooth Neural Networks11 Apr 2026
- 2026Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation9 Mar 2026
- 2026Fractional Order Federated Learning for Battery Electric Vehicle Energy Consumption Modeling13 Feb 2026
38 more
- 2026Sparse Layer Sharpness-Aware Minimization for Efficient Fine-Tuning10 Feb 2026
- 2026Incorruptible Neural Networks: Training Models that can Generalize to Large Internal Perturbations7 Feb 2026
- 2026Data Distribution as a Lever for Guiding Optimizers Toward Superior Generalization in LLMs31 Jan 2026
- 2026Towards Compact and Robust DNNs via Compression-aware Sharpness Minimization28 Jan 2026
- 2026X-SAM: Boosting Sharpness-Aware Minimization with Dominant-Eigenvector Gradient Correction15 Jan 2026
- 2025A Unified Stability Analysis of SAM vs SGD: Role of Data Coherence and Emergence of Simplicity Bias21 Nov 2025
- 2025Task Specific Sharpness Aware O-RAN Resource Management using Multi Agent Reinforcement Learning19 Nov 2025
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimization5 Nov 2025
- 2025Position: Many generalization measures for deep learning are fragile21 Oct 2025
- 2025Zeroth-Order Sharpness-Aware Learning with Exponential Tilting17 Oct 2025
- 2025Convergence of optimizers implies eigenvalues filtering at equilibrium10 Oct 2025
- 2025Adjusting Initial Noise to Mitigate Memorization in Text-to-Image Diffusion Models8 Oct 2025
- 2025Adaptively Sampling-Reusing-Mixing Decomposed Gradients to Speed Up Sharpness Aware Minimization4 Oct 2025
- 2025Flatness-Aware Stochastic Gradient Langevin Dynamics2 Oct 2025
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizers26 Sep 2025
- 2025Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise22 Sep 2025
- 2025Flatness is Necessary, Neural Collapse is Not: Rethinking Generalization via Grokking22 Sep 2025
- 2025How Far Are We from True Unlearnability?9 Sep 2025
- 2025LSAM: Asynchronous Distributed Training with Landscape-Smoothed Sharpness-Aware Minimization3 Sep 2025
- 2025VASSO: Variance Suppression for Sharpness-Aware Minimization2 Sep 2025
- 2025Bi-LoRA: Efficient Sharpness-Aware Minimization for Fine-Tuning Large-Scale Models27 Aug 2025
- 2025C-Flat++: Towards a More Efficient and Powerful Framework for Continual Learning26 Aug 2025
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbation10 Jul 2025
- 2025Attributing Data for Sharpness-Aware Minimization5 Jul 2025
- 2025Zeroth-Order Optimization Finds Flat Minima5 Jun 2025
- 2025LightSAM: Parameter-Agnostic Sharpness-Aware Minimization30 May 2025
- 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimization29 May 2025
- 2025Do We Need All the Synthetic Data? Targeted Image Augmentation via Diffusion Models27 May 2025
- 2025A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm Minimisation26 May 2025
- 2025FIC-TSC: Learning Time Series Classification with Fisher Information Constraint9 May 2025
- 2025Sharpness-Aware Minimization with Z-Score Gradient Filtering5 May 2025
- 2025Sharpness-Aware Parameter Selection for Machine Unlearning8 Apr 2025
- 2025Stabilizing Quantization-Aware Training by Implicit-Regularization on Hessian Matrix14 Mar 2025
- 2025Architecture-Aware Minimization (A2M): How to Find Flat Minima in Neural Architecture Search13 Mar 2025
- 2025Sharpness-Aware Minimization: General Analysis and Improved Rates4 Mar 2025
- 2025STAR: Stability-Inducing Weight Perturbation for Continual Learning3 Mar 2025
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyond7 Feb 2025
- 2025Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimization22 Jan 2025
50 newest of 145 All 145 (JSON)
- 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
- 2022How Does Sharpness-Aware Minimization Minimize Sharpness?cited by 64
- 2022On the Maximum Hessian Eigenvalue and Generalizationcited by 57
- 2024Friendly Sharpness-Aware Minimizationcited by 52
- 2023FedSpeed: Larger Local Interval, Less Communication Round, and Higher Generalization Accuracycited by 49
- 2024Deep Networks Always Grok and Here is Whycited by 49
- 2023Improving the Model Consistency of Decentralized Federated Learningcited by 45
- 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
- 2023Sharpness-Aware Minimization Leads to Low-Rank Featurescited by 38
- 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
- 2024Make Continual Learning Stronger via C-Flatcited by 35
- 2024Does SGD really happen in tiny subspaces?cited by 35
12 most cited of 140 All 140 (JSON)
- 2026FL-OA: A Byzantine-Robust Federated Learning Framework with Outsourced Auditing for Intelligent Devices2 Aug 2026
- 2026Mini-batch Noise Lowers Sharpness via Dominant-Subspace Fluctuations25 Jul 2026
- 2026Leveraging Extragradient for Effective Sharpness-Aware Minimization in Deep Learning7 Jul 2026
- 2026How Far Can Sharpness and Complexity Jointly Explain Generalization?27 Jun 2026
- 2026Closed-Form Steepest Descent Direction toward Flat Minima: Reducing Upper Bounds on the Loss Hessian Eigenspectrum in Neural Networks27 Jun 2026
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026SHAPO: Sharpness-Aware Policy Optimization for Safe Exploration8 Jun 2026
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study26 May 2026
- 2026FedVSSAM: Mitigating Flatness Incompatibility in Sharpness-Aware Federated Learning9 May 2026
- 2026Wolkowicz-Styan Upper Bound on the Hessian Eigenspectrum for Cross-Entropy Loss in Nonlinear Smooth Neural Networks11 Apr 2026
- 2026Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation9 Mar 2026
- 2026Fractional Order Federated Learning for Battery Electric Vehicle Energy Consumption Modeling13 Feb 2026
12 newest of 140 All 140 (JSON)