Sharpness-Aware Minimization for Efficiently Improving Generalization
Pierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam Neyshabur

TL;DR
This paper introduces Sharpness-Aware Minimization (SAM), a new optimization method that improves model generalization by minimizing loss sharpness, achieving state-of-the-art results across various datasets and models, and providing robustness to label noise.
Contribution
The paper proposes SAM, a novel min-max optimization technique that explicitly minimizes loss sharpness, leading to better generalization and robustness in overparameterized models.
Findings
SAM improves generalization across multiple datasets and models.
SAM achieves state-of-the-art performance on benchmark tasks.
SAM provides robustness to label noise comparable to specialized methods.
Abstract
In today's heavily overparameterized models, the value of the training loss provides few guarantees on model generalization ability. Indeed, optimizing only the training loss value, as is commonly done, can easily lead to suboptimal model quality. Motivated by prior work connecting the geometry of the loss landscape and generalization, we introduce a novel, effective procedure for instead simultaneously minimizing loss value and loss sharpness. In particular, our procedure, Sharpness-Aware Minimization (SAM), seeks parameters that lie in neighborhoods having uniformly low loss; this formulation results in a min-max optimization problem on which gradient descent can be performed efficiently. We present empirical results showing that SAM improves model generalization across a variety of benchmark datasets (e.g., CIFAR-10, CIFAR-100, ImageNet, finetuning tasks) and models, yielding novel…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsAdvanced Neural Network Applications · Machine Learning and Data Classification · Machine Learning and Algorithms
MethodsSharpness-Aware Minimization
