mlsanityData to 7 Oct 2026

Sharpness-Aware Training for Free

arXiv 2205.14083 ↗First posted 27 May 2022cs.LG cs.AI cs.CVcited by 95

Not on the map. Why?

Abstract (arXiv)

Modern deep neural networks (DNNs) have achieved state-of-the-art performances but are typically over-parameterized. The over-parameterization may result in undesirably large generalization error in the absence of other customized training strategies. Recently, a line of research under the name of Sharpness-Aware Minimization (SAM) has shown that minimizing a sharpness measure, which reflects the geometry of the loss landscape, can significantly reduce the generalization error. However, SAM-like methods incur a two-fold computational overhead of the given base optimizer (e.g. SGD) for approximating the sharpness measure. In this paper, we propose Sharpness-Aware Training for Free, or SAF, which mitigates the sharp landscape at almost zero additional computational cost over the base optimizer. Intuitively, SAF achieves this by avoiding sudden drops in the loss in the sharp local minima throughout the trajectory of the updates of the weights. Specifically, we suggest a novel trajectory loss, based on the KL-divergence between the outputs of DNNs with the current weights and past weights, as a replacement of the SAM's sharpness measure. This loss captures the rate of change of the training loss along the model's update trajectory. By minimizing it, SAF ensures the convergence to a flat minimum with improved generalization capabilities. Extensive empirical results show that SAF minimizes the sharpness in the same way that SAM does, yielding better results on the ImageNet dataset with essentially the same computational cost as the base optimizer.

Key facts. Cited by 95 papers in the map (data through 7 Oct 2026). Builds on 30 of its 38 references that are in the map. First posted on arXiv 27 May 2022.

Builds on

30 of 38 references.

References · 30

  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. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  6. 2016Wide Residual Networkscited by 3,057
  7. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  8. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  9. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  10. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  11. 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
  12. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
18 more
  1. 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
  2. 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 527
  3. 2019Fantastic Generalization Measures and Where to Find Themcited by 507
  4. 2017Sharp Minima Can Generalize For Deep Netscited by 462
  5. 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 309
  6. 2018Stronger generalization bounds for deep nets via a compression approachcited by 306
  7. 2021DeepViT: Towards Deeper Vision Transformercited by 288
  8. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
  9. 2018Robustness via curvature regularization, and vice versacited by 174
  10. 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 171
  11. 2016Deep Pyramidal Residual Networkscited by 163
  12. 2022Understanding The Robustness in Vision Transformerscited by 144
  13. 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
  14. 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
  15. 2017Fisher-Rao Metric, Geometry, and Complexity of Neural Networkscited by 99
  16. 2020Regularizing Neural Networks via Adversarial Model Perturbationcited by 78
  17. 2020On the Loss Landscape of Adversarial Training: Identifying Challenges and How to Overcome Themcited by 59
  18. 2019Normalized Flat Minima: Exploring Scale Invariant Definition of Flat Minima for Neural Networks using PAC-Bayesian Analysiscited by 58

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 7; 2023: 29; 2024: 31; 2025: 22; 2026: 6.

95 papers.

Sort:

By area:

  1. 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
  2. 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
  3. 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyondcited by 76
  4. 2023FasterViT: Fast Vision Transformers with Hierarchical Attentioncited by 65
  5. 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
  6. 2024Friendly Sharpness-Aware Minimizationcited by 52
  7. 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
  8. 2024Elucidating the Design Space of Dataset Condensationcited by 40
  9. 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusioncited by 40
  10. 2023A Survey on Efficient Training of Transformerscited by 37
  11. 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
  12. 2024Make Continual Learning Stronger via C-Flatcited by 35
38 more
  1. 2023Robust Generalization against Photon-Limited Corruptions via Worst-Case Sharpness Minimizationcited by 29
  2. 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
  3. 2024Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimizationcited by 28
  4. 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
  5. 2023FlatMatch: Bridging Labeled Data and Unlabeled Data with Cross-Sharpness for Semi-Supervised Learningcited by 20
  6. 2023Adaptive Sharpness-Aware Pruning for Robust Sparse Networkscited by 17
  7. 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Dualitycited by 17
  8. 2022Bootstrap Generalization Ability from Loss Landscape Perspectivecited by 16
  9. 2025Mitigating Parameter Interference in Model Merging via Sharpness-Aware Fine-Tuningcited by 16
  10. 2025ViT3: Unlocking Test-Time Training in Visioncited by 15
  11. 2023Differentially Private Sharpness-Aware Trainingcited by 14
  12. 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
  13. 2023Catch-Up Distillation: You Only Need to Train Once for Accelerating Samplingcited by 13
  14. 2024Momentum-SAM: Sharpness Aware Minimization without Computational Overheadcited by 13
  15. 2024Revisiting Random Weight Perturbation for Efficiently Improving Generalizationcited by 13
  16. 2024Neglected Hessian component explains mysteries in Sharpness regularizationcited by 12
  17. 2024Domain-Inspired Sharpness-Aware Minimization Under Domain Shiftscited by 12
  18. 2023Flat Seeking Bayesian Neural Networkscited by 10
  19. 2023mSAM: Micro-Batch-Averaged Sharpness-Aware Minimizationcited by 10
  20. 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapescited by 10
  21. 2026C-RADIOv4 (Tech Report)cited by 10
  22. 2024Switch EMA: A Free Lunch for Better Flatness and Sharpnesscited by 9
  23. 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
  24. 2024Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problemscited by 9
  25. 2025DAMamba: Vision State Space Model with Dynamic Adaptive Scancited by 9
  26. 2022Efficient Generalization Improvement Guided by Random Weight Perturbationcited by 8
  27. 2024Stabilizing Sharpness-aware Minimization Through A Simple Renormalization Strategycited by 8
  28. 2024SAMPa: Sharpness-aware Minimization Parallelizedcited by 8
  29. 2024Beyond Local Sharpness: Communication-Efficient Global Sharpness-aware Minimization for Federated Learningcited by 8
  30. 2025HOTFormerLoc: Hierarchical Octree Transformer for Versatile Lidar Place Recognition Across Ground and Aerial Viewscited by 8
  31. 2022CrAM: A Compression-Aware Minimizercited by 7
  32. 2024QGen: On the Ability to Generalize in Quantization Aware Trainingcited by 7
  33. 2024Efficient Sharpness-Aware Minimization for Molecular Graph Transformer Modelscited by 7
  34. 2025Adjusting Initial Noise to Mitigate Memorization in Text-to-Image Diffusion Modelscited by 7
  35. 2023Improving Differentiable Architecture Search via Self-Distillationcited by 6
  36. 2023TRAM: Bridging Trust Regions and Sharpness Aware Minimizationcited by 6
  37. 2024Tilted Sharpness-Aware Minimizationcited by 6
  38. 2025Zeroth-Order Optimization Finds Flat Minimacited by 6

50 most cited of 95 All 95 (JSON)