mlsanityData to 7 Oct 2026

Surrogate Gap Minimization Improves Sharpness-Aware Training

arXiv 2203.08065 ↗First posted 15 Mar 2022cs.LG cs.AIcited by 171

Not on the map. Why?

Abstract (arXiv)

The recently proposed Sharpness-Aware Minimization (SAM) improves generalization by minimizing a textitperturbed loss defined as the maximum loss within a neighborhood in the parameter space. However, we show that both sharp and flat minima can have a low perturbed loss, implying that SAM does not always prefer flat minima. Instead, we define a textitsurrogate gap, a measure equivalent to the dominant eigenvalue of Hessian at a local minimum when the radius of the neighborhood (to derive the perturbed loss) is small. The surrogate gap is easy to compute and feasible for direct minimization during training. Based on the above observations, we propose Surrogate Gap Guided Sharpness-Aware Minimization (GSAM), a novel improvement over SAM with negligible computation overhead. Conceptually, GSAM consists of two steps: 1) a gradient descent like SAM to minimize the perturbed loss, and 2) an textitascent step in the textitorthogonal direction (after gradient decomposition) to minimize the surrogate gap and yet not affect the perturbed loss. GSAM seeks a region with both small loss (by step 1) and low sharpness (by step 2), giving rise to a model with high generalization capabilities. Theoretically, we show the convergence of GSAM and provably better generalization than SAM. Empirically, GSAM consistently improves generalization (e.g., +3.2% over SAM and +5.4% over AdamW on ImageNet top-1 accuracy for ViT-B/32). Code is released at url https://sites.google.com/view/gsam-iclr22/home.

Key facts. Cited by 171 papers in the map (data through 7 Oct 2026). Builds on 36 of its 55 references that are in the map. First posted on arXiv 15 Mar 2022.

Builds on

36 of 55 references.

References · 36

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  4. 2014Going Deeper with Convolutionscited by 4,231
  5. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
  6. 2016Understanding deep learning requires rethinking generalizationcited by 1,657
  7. 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,623
  8. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  9. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  10. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  11. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  12. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
24 more
  1. 2019When Does Label Smoothing Help?cited by 985
  2. 2019On the Convergence of Adam and Beyondcited by 834
  3. 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
  4. 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
  5. 2019Fantastic Generalization Measures and Where to Find Themcited by 507
  6. 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
  7. 2019Lookahead Optimizer: k steps forward, 1 step backcited by 333
  8. 2020Are we done with ImageNet?cited by 329
  9. 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 309
  10. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  11. 2020AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradientscited by 282
  12. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
  13. 2019Adaptive Gradient Methods with Dynamic Bound of Learning Ratecited by 181
  14. 2019Towards Explaining the Regularization Effect of Initial Large Learning Rate in Training Neural Networkscited by 162
  15. 2018Regularization Matters: Generalization and Optimization of Neural Nets v.s. their Induced Kernelcited by 131
  16. 2020Towards Theoretically Understanding Why SGD Generalizes Better Than ADAM in Deep Learningcited by 125
  17. 2017Improving Generalization Performance by Switching from Adam to SGDcited by 121
  18. 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
  19. 2017Fisher-Rao Metric, Geometry, and Complexity of Neural Networkscited by 99
  20. 2017Shake-Shake regularizationcited by 87
  21. 2020Regularizing Neural Networks via Adversarial Model Perturbationcited by 78
  22. 2021Learning in High Dimension Always Amounts to Extrapolationcited by 62
  23. 2021Positive-Negative Momentum: Manipulating Stochastic Gradient Noise to Improve Generalizationcited by 28
  24. 2020Extrapolation for Large-batch Training in Deep Learningcited by 25

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 14; 2023: 47; 2024: 40; 2025: 42; 2026: 28.

171 papers.

Sort:

By area:

  1. 2022Generalized Federated Learning via Sharpness Aware Minimizationcited by 144
  2. 2022Minimizing the Accumulated Trajectory Error to Improve Dataset Distillationcited by 142
  3. 2023Sharpness-Aware Gradient Matching for Domain Generalizationcited by 102
  4. 2022Sharpness-Aware Training for Freecited by 95
  5. 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
  6. 2022Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approachcited by 70
  7. 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimizationcited by 60
  8. 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
  9. 2024Friendly Sharpness-Aware Minimizationcited by 52
  10. 2023Dynamic Regularized Sharpness Aware Minimization in Federated Learning: Approaching Global Consistency and Smooth Landscapecited by 46
  11. 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
  12. 2022Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Modelscited by 42
38 more
  1. 2022Towards A Proactive ML Approach for Detecting Backdoor Poison Samplescited by 40
  2. 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
  3. 2024Make Continual Learning Stronger via C-Flatcited by 35
  4. 2023Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferabilitycited by 32
  5. 2022Escaping Saddle Points for Effective Generalization on Class-Imbalanced Datacited by 28
  6. 2024Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimizationcited by 28
  7. 2023Normalization Layers Are All That Sharpness-Aware Minimization Needscited by 27
  8. 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
  9. 2023Why Does Sharpness-Aware Minimization Generalize Better Than SGD?cited by 27
  10. 2023The Crucial Role of Normalization in Sharpness-Aware Minimizationcited by 26
  11. 2024Gradient Alignment for Cross-Domain Face Anti-Spoofingcited by 26
  12. 2023SAM operates far from home: eigenvalue regularization as a dynamical phenomenoncited by 24
  13. 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Trainingcited by 24
  14. 2023An SDE for Modeling SAM: Theory and Insightscited by 22
  15. 2023AdaSAM: Boosting Sharpness-Aware Minimization with Adaptive Learning Rate and Momentum for Training Deep Neural Networkscited by 21
  16. 2025Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimizationcited by 21
  17. 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optimacited by 20
  18. 2024Flat-LoRA: Low-Rank Adaptation over a Flat Loss Landscapecited by 19
  19. 2022Understanding Gradient Regularization in Deep Learning: Efficient Finite-Difference Computation and Implicit Biascited by 16
  20. 2023Sharpness-Aware Minimization Revisited: Weighted Sharpness as a Regularization Termcited by 16
  21. 2023Decentralized SGD and Average-direction SAM are Asymptotically Equivalentcited by 15
  22. 2022Randomized Sharpness-Aware Training for Boosting Computational Efficiency in Deep Learningcited by 14
  23. 2023Stability Analysis of Sharpness-Aware Minimizationcited by 14
  24. 2023Differentially Private Sharpness-Aware Trainingcited by 14
  25. 2023FedSOL: Stabilized Orthogonal Learning with Proximal Restrictions in Federated Learningcited by 14
  26. 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
  27. 2024Momentum-SAM: Sharpness Aware Minimization without Computational Overheadcited by 13
  28. 2024Domain-Inspired Sharpness-Aware Minimization Under Domain Shiftscited by 12
  29. 2022Greybox XAI: a Neural-Symbolic learning framework to produce interpretable predictions for image classificationcited by 11
  30. 2023Flat Seeking Bayesian Neural Networkscited by 10
  31. 2023mSAM: Micro-Batch-Averaged Sharpness-Aware Minimizationcited by 10
  32. 2023CR-SAM: Curvature Regularized Sharpness-Aware Minimizationcited by 10
  33. 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapescited by 10
  34. 2025Sharpness-Aware Minimization: General Analysis and Improved Ratescited by 10
  35. 2025TDVE-Assessor: Benchmarking and Evaluating the Quality of Text-Driven Video Editing with LMMscited by 10
  36. 2023Exploring the Effect of Multi-step Ascent in Sharpness-Aware Minimizationcited by 9
  37. 2024Switch EMA: A Free Lunch for Better Flatness and Sharpnesscited by 9
  38. 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9

50 most cited of 171 All 171 (JSON)