Rethinking Sharpness-Aware Minimization as Variational Inference
Not on the map. Why?
Abstract (arXiv)
Sharpness-aware minimization (SAM) aims to improve the generalisation of gradient-based learning by seeking out flat minima. In this work, we establish connections between SAM and Mean-Field Variational Inference (MFVI) of neural network parameters. We show that both these methods have interpretations as optimizing notions of flatness, and when using the reparametrisation trick, they both boil down to calculating the gradient at a perturbed version of the current mean parameter. This thinking motivates our study of algorithms that combine or interpolate between SAM and MFVI. We evaluate the proposed variational algorithms on several benchmark datasets, and compare their performance to variants of SAM. Taking a broader perspective, our work suggests that SAM-like updates can be used as a drop-in replacement for the reparametrisation trick.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 15 of its 24 references that are in the map. First posted on arXiv 19 Oct 2022.
Builds on
15 of 24 references.
References · 15
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2013Auto-Encoding Variational Bayescited by 4,053
- 2016Wide Residual Networkscited by 3,070
- 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
- 2019When Does Label Smoothing Help?cited by 988
- 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 533
- 2017Sharp Minima Can Generalize For Deep Netscited by 466
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 359
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 184
- 2020Implicit Gradient Regularizationcited by 146
3 more
Built on by
Citing papers per year: 2023: 4; 2024: 3; 2025: 0; 2026: 1.
8 papers.
- 2023An SDE for Modeling SAM: Theory and Insightscited by 22
- 2023Decentralized SGD and Average-direction SAM are Asymptotically Equivalentcited by 15
- 2024Improving Generalization and Convergence by Enhancing Implicit Regularizationcited by 14
- 2023mSAM: Micro-Batch-Averaged Sharpness-Aware Minimizationcited by 10
- 2023On Statistical Properties of Sharpness-Aware Minimization: Provable Guaranteescited by 5
- 2024A Precise Characterization of SGD Stability Using Loss Surface Geometrycited by 2
- 2026Beyond Superficial Unlearning: Sharpness-Aware Robust Erasure of Hallucinations in Multimodal LLMscited by 1
- 2024Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamicscited by 0
- 2026Beyond Superficial Unlearning: Sharpness-Aware Robust Erasure of Hallucinations in Multimodal LLMs23 Jan 2026
- 2024Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamics10 Jun 2024
- 2024Improving Generalization and Convergence by Enhancing Implicit Regularization31 May 2024
- 2024A Precise Characterization of SGD Stability Using Loss Surface Geometry22 Jan 2024
- 2023Decentralized SGD and Average-direction SAM are Asymptotically Equivalent5 Jun 2023
- 2023On Statistical Properties of Sharpness-Aware Minimization: Provable Guarantees23 Feb 2023
- 2023mSAM: Micro-Batch-Averaged Sharpness-Aware Minimization19 Feb 2023
- 2023An SDE for Modeling SAM: Theory and Insights19 Jan 2023