An SDE for Modeling SAM: Theory and Insights
Not on the map. Why?
Abstract (arXiv)
We study the SAM (Sharpness-Aware Minimization) optimizer which has recently attracted a lot of interest due to its increased performance over more classical variants of stochastic gradient descent. Our main contribution is the derivation of continuous-time models (in the form of SDEs) for SAM and two of its variants, both for the full-batch and mini-batch settings. We demonstrate that these SDEs are rigorous approximations of the real discrete-time algorithms (in a weak sense, scaling linearly with the learning rate). Using these models, we then offer an explanation of why SAM prefers flat minima over sharp ones~--~by showing that it minimizes an implicitly regularized loss with a Hessian-dependent noise structure. Finally, we prove that SAM is attracted to saddle points under some realistic conditions. Our theoretical results are supported by detailed experiments.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 42 of its 69 references that are in the map. First posted on arXiv 19 Jan 2023.
Builds on
42 of 69 references.
References · 42
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 533
- 2019Fantastic Generalization Measures and Where to Find Themcited by 513
- 2017Stochastic Gradient Descent as Approximate Bayesian Inferencecited by 300
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 290
- 2017How to Escape Saddle Points Efficientlycited by 285
- 2017Three Factors Influencing Minima in SGDcited by 273
- 2015Escaping From Saddle Points --- Online Stochastic Gradient for Tensor Decompositioncited by 243
- 2019A Tail-Index Analysis of Stochastic Gradient Noise in Deep Neural Networkscited by 214
- 2015A Differential Equation for Modeling Nesterov's Accelerated Gradient Method: Theory and Insightscited by 206
30 more
- 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 172
- 2022Towards Understanding Sharpness-Aware Minimizationcited by 146
- 2015Stochastic modified equations and adaptive stochastic gradient algorithmscited by 142
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2020Towards Theoretically Understanding Why SGD Generalizes Better Than ADAM in Deep Learningcited by 126
- 2018Stochastic Modified Equations and Dynamics of Stochastic Gradient Algorithms I: Mathematical Foundationscited by 114
- 2017Stochastic gradient descent performs variational inference, converges to limit cycles for deep networkscited by 109
- 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
- 2017Spurious Local Minima are Common in Two-Layer ReLU Neural Networkscited by 104
- 2022On the SDEs and Scaling Rules for Adaptive Gradient Algorithmscited by 104
- 2020Neural Mechanics: Symmetry and Broken Conservation Laws in Deep Learning Dynamicscited by 96
- 2020On the Generalization Benefit of Noise in Stochastic Gradient Descentcited by 82
- 2022When Do Flat Minima Optimizers Work?cited by 78
- 2021On the Validity of Modeling SGD with Stochastic Differential Equations (SDEs)cited by 73
- 2018Escaping Saddles with Stochastic Gradientscited by 66
- 2022How Does Sharpness-Aware Minimization Minimize Sharpness?cited by 65
- 2020Reconciling Modern Deep Learning with Traditional Optimization Analyses: The Intrinsic Learning Ratecited by 59
- 2022The Dynamics of Sharpness-Aware Minimization: Bouncing Across Ravines and Drifting Towards Wide Minimacited by 51
- 2019Loss Landscapes of Regularized Linear Autoencoderscited by 46
- 2016On the Convergence of Stochastic Gradient MCMC Algorithms with High-Order Integratorscited by 35
- 2017Theory of Deep Learning III: explaining the non-overfitting puzzlecited by 32
- 2016The Power of Normalization: Faster Evasion of Saddle Pointscited by 29
- 2022Escaping Saddle Points for Effective Generalization on Class-Imbalanced Datacited by 28
- 2019Non-Gaussianity of Stochastic Gradient Noisecited by 22
- 2018Continuous-time Models for Stochastic Optimization Algorithmscited by 17
- 2023Stability Analysis of Sharpness-Aware Minimizationcited by 14
- 2020A Diffusion Theory For Deep Learning Dynamics: Stochastic Gradient Descent Exponentially Favors Flat Minimacited by 11
- 2022Rethinking Sharpness-Aware Minimization as Variational Inferencecited by 8
- 2022On the Theoretical Properties of Noise Correlation in Stochastic Optimizationcited by 5
- 2018Differential Equations for Modeling Asynchronous Algorithmscited by 4
Built on by
Citing papers per year: 2023: 5; 2024: 4; 2025: 7; 2026: 6.
22 papers.
Sort:
- 2023The Crucial Role of Normalization in Sharpness-Aware Minimizationcited by 26
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Trainingcited by 24
- 2025Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimizationcited by 21
- 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optimacited by 20
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2026A Defense of the Quadratic Modelcited by 14
- 2023How to escape sharp minima with random perturbationscited by 13
- 2024Stabilizing Sharpness-aware Minimization Through A Simple Renormalization Strategycited by 8
- 2024SDEs for Minimax Optimizationcited by 6
- 2023On Statistical Properties of Sharpness-Aware Minimization: Provable Guaranteescited by 5
- 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEscited by 5
- 2025On the Interaction of Batch Noise, Adaptivity, and Compression, under (L0,L1)-Smoothness: An SDE Approachcited by 4
10 more
- 2023Critical Influence of Overparameterization on Sharpness-aware Minimizationcited by 3
- 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimizationcited by 2
- 2025Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noisecited by 2
- 2026Adaptive Methods Are Preferable in High Privacy Settings: An SDE Perspectivecited by 2
- 2025Unpacking the Implicit Norm Dynamics of Sharpness-Aware Minimization in Tensorized Modelscited by 0
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizerscited by 0
- 2026X-SAM: Boosting Sharpness-Aware Minimization with Dominant-Eigenvector Gradient Correctioncited by 0
- 2026On the Learning Dynamics of Two-layer Linear Networks with Label Noise SGDcited by 0
- 2026A Diffusion Approximation for Temporal-Difference Learning with Linear Features under Markovian Noisecited by 0
- 2026On the Implicit Flatness Bias of Sharpness-Aware Minimization: A Linear Stability Analysis with Quantitative Hyperparameter Boundscited by 0
- 2026On the Implicit Flatness Bias of Sharpness-Aware Minimization: A Linear Stability Analysis with Quantitative Hyperparameter Bounds4 Aug 2026
- 2026A Defense of the Quadratic Model23 Jul 2026
- 2026A Diffusion Approximation for Temporal-Difference Learning with Linear Features under Markovian Noise16 Jun 2026
- 2026On the Learning Dynamics of Two-layer Linear Networks with Label Noise SGD11 Mar 2026
- 2026Adaptive Methods Are Preferable in High Privacy Settings: An SDE Perspective3 Mar 2026
- 2026X-SAM: Boosting Sharpness-Aware Minimization with Dominant-Eigenvector Gradient Correction15 Jan 2026
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizers26 Sep 2025
- 2025Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise22 Sep 2025
- 2025Unpacking the Implicit Norm Dynamics of Sharpness-Aware Minimization in Tensorized Models14 Aug 2025
- 2025On the Interaction of Batch Noise, Adaptivity, and Compression, under (L0,L1)-Smoothness: An SDE Approach30 May 2025
- 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimization29 May 2025
- 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEs24 Feb 2025
10 more
- 2025Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimization22 Jan 2025
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Training14 Oct 2024
- 2024A Universal Class of Sharpness-Aware Minimization Algorithms6 Jun 2024
- 2024SDEs for Minimax Optimization19 Feb 2024
- 2024Stabilizing Sharpness-aware Minimization Through A Simple Renormalization Strategy14 Jan 2024
- 2023Critical Influence of Overparameterization on Sharpness-aware Minimization29 Nov 2023
- 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optima16 Jun 2023
- 2023How to escape sharp minima with random perturbations25 May 2023
- 2023The Crucial Role of Normalization in Sharpness-Aware Minimization24 May 2023
- 2023On Statistical Properties of Sharpness-Aware Minimization: Provable Guarantees23 Feb 2023
- 2023The Crucial Role of Normalization in Sharpness-Aware Minimizationcited by 26
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Trainingcited by 24
- 2025Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimizationcited by 21
- 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optimacited by 20
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2026A Defense of the Quadratic Modelcited by 14
- 2023How to escape sharp minima with random perturbationscited by 13
- 2024Stabilizing Sharpness-aware Minimization Through A Simple Renormalization Strategycited by 8
- 2024SDEs for Minimax Optimizationcited by 6
- 2023On Statistical Properties of Sharpness-Aware Minimization: Provable Guaranteescited by 5
- 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEscited by 5
- 2025On the Interaction of Batch Noise, Adaptivity, and Compression, under (L0,L1)-Smoothness: An SDE Approachcited by 4
12 most cited of 22 All 22 (JSON)
- 2026On the Implicit Flatness Bias of Sharpness-Aware Minimization: A Linear Stability Analysis with Quantitative Hyperparameter Bounds4 Aug 2026
- 2026A Defense of the Quadratic Model23 Jul 2026
- 2026A Diffusion Approximation for Temporal-Difference Learning with Linear Features under Markovian Noise16 Jun 2026
- 2026On the Learning Dynamics of Two-layer Linear Networks with Label Noise SGD11 Mar 2026
- 2026Adaptive Methods Are Preferable in High Privacy Settings: An SDE Perspective3 Mar 2026
- 2026X-SAM: Boosting Sharpness-Aware Minimization with Dominant-Eigenvector Gradient Correction15 Jan 2026
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizers26 Sep 2025
- 2025Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise22 Sep 2025
- 2025Unpacking the Implicit Norm Dynamics of Sharpness-Aware Minimization in Tensorized Models14 Aug 2025
- 2025On the Interaction of Batch Noise, Adaptivity, and Compression, under (L0,L1)-Smoothness: An SDE Approach30 May 2025
- 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimization29 May 2025
- 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEs24 Feb 2025
12 newest of 22 All 22 (JSON)