Sharpness-Aware Training for Free
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016Wide Residual Networkscited by 3,057
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
18 more
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 527
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2017Sharp Minima Can Generalize For Deep Netscited by 462
- 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 309
- 2018Stronger generalization bounds for deep nets via a compression approachcited by 306
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2018Robustness via curvature regularization, and vice versacited by 174
- 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 171
- 2016Deep Pyramidal Residual Networkscited by 163
- 2022Understanding The Robustness in Vision Transformerscited by 144
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
- 2017Fisher-Rao Metric, Geometry, and Complexity of Neural Networkscited by 99
- 2020Regularizing Neural Networks via Adversarial Model Perturbationcited by 78
- 2020On the Loss Landscape of Adversarial Training: Identifying Challenges and How to Overcome Themcited by 59
- 2019Normalized Flat Minima: Exploring Scale Invariant Definition of Flat Minima for Neural Networks using PAC-Bayesian Analysiscited by 58
Built on by
Citing papers per year: 2022: 7; 2023: 29; 2024: 31; 2025: 22; 2026: 6.
95 papers.
Sort:
By area:
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyondcited by 76
- 2023FasterViT: Fast Vision Transformers with Hierarchical Attentioncited by 65
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
- 2024Friendly Sharpness-Aware Minimizationcited by 52
- 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
- 2024Elucidating the Design Space of Dataset Condensationcited by 40
- 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusioncited by 40
- 2023A Survey on Efficient Training of Transformerscited by 37
- 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
- 2024Make Continual Learning Stronger via C-Flatcited by 35
38 more
- 2023Robust Generalization against Photon-Limited Corruptions via Worst-Case Sharpness Minimizationcited by 29
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2024Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimizationcited by 28
- 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
- 2023FlatMatch: Bridging Labeled Data and Unlabeled Data with Cross-Sharpness for Semi-Supervised Learningcited by 20
- 2023Adaptive Sharpness-Aware Pruning for Robust Sparse Networkscited by 17
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Dualitycited by 17
- 2022Bootstrap Generalization Ability from Loss Landscape Perspectivecited by 16
- 2025Mitigating Parameter Interference in Model Merging via Sharpness-Aware Fine-Tuningcited by 16
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 15
- 2023Differentially Private Sharpness-Aware Trainingcited by 14
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2023Catch-Up Distillation: You Only Need to Train Once for Accelerating Samplingcited by 13
- 2024Momentum-SAM: Sharpness Aware Minimization without Computational Overheadcited by 13
- 2024Revisiting Random Weight Perturbation for Efficiently Improving Generalizationcited by 13
- 2024Neglected Hessian component explains mysteries in Sharpness regularizationcited by 12
- 2024Domain-Inspired Sharpness-Aware Minimization Under Domain Shiftscited by 12
- 2023Flat Seeking Bayesian Neural Networkscited by 10
- 2023mSAM: Micro-Batch-Averaged Sharpness-Aware Minimizationcited by 10
- 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapescited by 10
- 2026C-RADIOv4 (Tech Report)cited by 10
- 2024Switch EMA: A Free Lunch for Better Flatness and Sharpnesscited by 9
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
- 2024Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problemscited by 9
- 2025DAMamba: Vision State Space Model with Dynamic Adaptive Scancited by 9
- 2022Efficient Generalization Improvement Guided by Random Weight Perturbationcited by 8
- 2024Stabilizing Sharpness-aware Minimization Through A Simple Renormalization Strategycited by 8
- 2024SAMPa: Sharpness-aware Minimization Parallelizedcited by 8
- 2024Beyond Local Sharpness: Communication-Efficient Global Sharpness-aware Minimization for Federated Learningcited by 8
- 2025HOTFormerLoc: Hierarchical Octree Transformer for Versatile Lidar Place Recognition Across Ground and Aerial Viewscited by 8
- 2022CrAM: A Compression-Aware Minimizercited by 7
- 2024QGen: On the Ability to Generalize in Quantization Aware Trainingcited by 7
- 2024Efficient Sharpness-Aware Minimization for Molecular Graph Transformer Modelscited by 7
- 2025Adjusting Initial Noise to Mitigate Memorization in Text-to-Image Diffusion Modelscited by 7
- 2023Improving Differentiable Architecture Search via Self-Distillationcited by 6
- 2023TRAM: Bridging Trust Regions and Sharpness Aware Minimizationcited by 6
- 2024Tilted Sharpness-Aware Minimizationcited by 6
- 2025Zeroth-Order Optimization Finds Flat Minimacited by 6
50 most cited of 95 All 95 (JSON)
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026Why Muon Outperforms Adam: A Curvature Perspective3 Jun 2026
- 2026Deformba: Vision State Space Model with Adaptive State Fusion20 May 2026
- 2026A Faster Path to Continual Learning13 Apr 2026
- 2026The Effect of Mini-Batch Noise on the Implicit Bias of Adam2 Feb 2026
- 2026C-RADIOv4 (Tech Report)24 Jan 2026
- 2025ViT3: Unlocking Test-Time Training in Vision1 Dec 2025
- 2025GSPN-2: Efficient Parallel Sequence Modeling28 Nov 2025
- 2025HOTFLoc++: End-to-End Hierarchical LiDAR Place Recognition, Re-Ranking, and 6-DoF Metric Localisation in Forests12 Nov 2025
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimization5 Nov 2025
- 2025R'enyi Sharpness: A Novel Sharpness that Strongly Correlates with Generalization9 Oct 2025
- 2025Adjusting Initial Noise to Mitigate Memorization in Text-to-Image Diffusion Models8 Oct 2025
38 more
- 2025Adaptively Sampling-Reusing-Mixing Decomposed Gradients to Speed Up Sharpness Aware Minimization4 Oct 2025
- 2025Flatness-Aware Stochastic Gradient Langevin Dynamics2 Oct 2025
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizers26 Sep 2025
- 2025Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise22 Sep 2025
- 2025VASSO: Variance Suppression for Sharpness-Aware Minimization2 Sep 2025
- 2025Bi-LoRA: Efficient Sharpness-Aware Minimization for Fine-Tuning Large-Scale Models27 Aug 2025
- 2025C-Flat++: Towards a More Efficient and Powerful Framework for Continual Learning26 Aug 2025
- 2025Branch, or Layer? Zeroth-Order Optimization for Continual Learning of Vision-Language Models14 Jun 2025
- 2025Zeroth-Order Optimization Finds Flat Minima5 Jun 2025
- 2025LightSAM: Parameter-Agnostic Sharpness-Aware Minimization30 May 2025
- 2025Mitigating Parameter Interference in Model Merging via Sharpness-Aware Fine-Tuning20 Apr 2025
- 2025AMMSM: Adaptive Motion Magnification and Sparse Mamba for Micro-Expression Recognition31 Mar 2025
- 2025HOTFormerLoc: Hierarchical Octree Transformer for Versatile Lidar Place Recognition Across Ground and Aerial Views11 Mar 2025
- 2025SASSHA: Sharpness-aware Adaptive Second-order Optimization with Stable Hessian Approximation25 Feb 2025
- 2025DAMamba: Vision State Space Model with Dynamic Adaptive Scan18 Feb 2025
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyond7 Feb 2025
- 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapes18 Dec 2024
- 2024Beyond Local Sharpness: Communication-Efficient Global Sharpness-aware Minimization for Federated Learning4 Dec 2024
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality22 Nov 2024
- 2024Perfecting Imperfect Physical Neural Networks with Transferable Robustness using Sharpness-Aware Training19 Nov 2024
- 2024Tilted Sharpness-Aware Minimization30 Oct 2024
- 2024Fast Graph Sharpness-Aware Minimization for Enhancing and Accelerating Few-Shot Node Classification22 Oct 2024
- 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusion19 Oct 2024
- 2024Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problems18 Oct 2024
- 2024SAMPa: Sharpness-aware Minimization Parallelized14 Oct 2024
- 2024Bilateral Sharpness-Aware Minimization for Flatter Minima20 Sep 2024
- 2024VSSD: Vision Mamba with Non-Causal State Space Duality26 Jul 2024
- 2024Efficient Sharpness-Aware Minimization for Molecular Graph Transformer Models19 Jun 2024
- 2024Asymptotic Unbiased Sample Sampling to Speed Up Sharpness-Aware Minimization12 Jun 2024
- 2024Agnostic Sharpness-Aware Minimization11 Jun 2024
- 2024A Universal Class of Sharpness-Aware Minimization Algorithms6 Jun 2024
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learning30 May 2024
- 2024Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimization29 May 2024
- 2024Domain-Inspired Sharpness-Aware Minimization Under Domain Shifts29 May 2024
- 2024Demystify Mamba in Vision: A Linear Attention Perspective26 May 2024
- 2024SADDLe: Sharpness-Aware Decentralized Deep Learning with Heterogeneous Data22 May 2024
- 2024Elucidating the Design Space of Dataset Condensation21 Apr 2024
- 2024QGen: On the Ability to Generalize in Quantization Aware Training17 Apr 2024
50 newest of 95 All 95 (JSON)
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusioncited by 40
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Dualitycited by 17
- 2025AMMSM: Adaptive Motion Magnification and Sparse Mamba for Micro-Expression Recognitioncited by 1
- 2025AMMSM: Adaptive Motion Magnification and Sparse Mamba for Micro-Expression Recognition31 Mar 2025
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality22 Nov 2024
- 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusion19 Oct 2024
- 2024VSSD: Vision Mamba with Non-Causal State Space Duality26 Jul 2024
- 2024Demystify Mamba in Vision: A Linear Attention Perspective26 May 2024
- 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
- 2023FasterViT: Fast Vision Transformers with Hierarchical Attentioncited by 65
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
- 2024Friendly Sharpness-Aware Minimizationcited by 52
- 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
- 2024Elucidating the Design Space of Dataset Condensationcited by 40
- 2023A Survey on Efficient Training of Transformerscited by 37
- 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
- 2024Make Continual Learning Stronger via C-Flatcited by 35
- 2023Robust Generalization against Photon-Limited Corruptions via Worst-Case Sharpness Minimizationcited by 29
- 2024Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimizationcited by 28
- 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
12 most cited of 87 All 87 (JSON)
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026Why Muon Outperforms Adam: A Curvature Perspective3 Jun 2026
- 2026Deformba: Vision State Space Model with Adaptive State Fusion20 May 2026
- 2026A Faster Path to Continual Learning13 Apr 2026
- 2026The Effect of Mini-Batch Noise on the Implicit Bias of Adam2 Feb 2026
- 2026C-RADIOv4 (Tech Report)24 Jan 2026
- 2025ViT3: Unlocking Test-Time Training in Vision1 Dec 2025
- 2025GSPN-2: Efficient Parallel Sequence Modeling28 Nov 2025
- 2025HOTFLoc++: End-to-End Hierarchical LiDAR Place Recognition, Re-Ranking, and 6-DoF Metric Localisation in Forests12 Nov 2025
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimization5 Nov 2025
- 2025R'enyi Sharpness: A Novel Sharpness that Strongly Correlates with Generalization9 Oct 2025
- 2025Adaptively Sampling-Reusing-Mixing Decomposed Gradients to Speed Up Sharpness Aware Minimization4 Oct 2025
12 newest of 87 All 87 (JSON)