Surrogate Gap Minimization Improves Sharpness-Aware Training
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2014Going Deeper with Convolutionscited by 4,231
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2016Understanding deep learning requires rethinking generalizationcited by 1,657
- 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,623
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 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
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
24 more
- 2019When Does Label Smoothing Help?cited by 985
- 2019On the Convergence of Adam and Beyondcited by 834
- 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
- 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
- 2019Lookahead Optimizer: k steps forward, 1 step backcited by 333
- 2020Are we done with ImageNet?cited by 329
- 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 309
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2020AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradientscited by 282
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2019Adaptive Gradient Methods with Dynamic Bound of Learning Ratecited by 181
- 2019Towards Explaining the Regularization Effect of Initial Large Learning Rate in Training Neural Networkscited by 162
- 2018Regularization Matters: Generalization and Optimization of Neural Nets v.s. their Induced Kernelcited by 131
- 2020Towards Theoretically Understanding Why SGD Generalizes Better Than ADAM in Deep Learningcited by 125
- 2017Improving Generalization Performance by Switching from Adam to SGDcited by 121
- 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
- 2017Fisher-Rao Metric, Geometry, and Complexity of Neural Networkscited by 99
- 2017Shake-Shake regularizationcited by 87
- 2020Regularizing Neural Networks via Adversarial Model Perturbationcited by 78
- 2021Learning in High Dimension Always Amounts to Extrapolationcited by 62
- 2021Positive-Negative Momentum: Manipulating Stochastic Gradient Noise to Improve Generalizationcited by 28
- 2020Extrapolation for Large-batch Training in Deep Learningcited by 25
Built on by
Citing papers per year: 2022: 14; 2023: 47; 2024: 40; 2025: 42; 2026: 28.
171 papers.
Sort:
By area:
- 2022Generalized Federated Learning via Sharpness Aware Minimizationcited by 144
- 2022Minimizing the Accumulated Trajectory Error to Improve Dataset Distillationcited by 142
- 2023Sharpness-Aware Gradient Matching for Domain Generalizationcited by 102
- 2022Sharpness-Aware Training for Freecited by 95
- 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
- 2022Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approachcited by 70
- 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimizationcited by 60
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
- 2024Friendly Sharpness-Aware Minimizationcited by 52
- 2023Dynamic Regularized Sharpness Aware Minimization in Federated Learning: Approaching Global Consistency and Smooth Landscapecited by 46
- 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
- 2022Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Modelscited by 42
38 more
- 2022Towards A Proactive ML Approach for Detecting Backdoor Poison Samplescited by 40
- 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
- 2024Make Continual Learning Stronger via C-Flatcited by 35
- 2023Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferabilitycited by 32
- 2022Escaping Saddle Points for Effective Generalization on Class-Imbalanced Datacited by 28
- 2024Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimizationcited by 28
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needscited by 27
- 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
- 2023Why Does Sharpness-Aware Minimization Generalize Better Than SGD?cited by 27
- 2023The Crucial Role of Normalization in Sharpness-Aware Minimizationcited by 26
- 2024Gradient Alignment for Cross-Domain Face Anti-Spoofingcited by 26
- 2023SAM operates far from home: eigenvalue regularization as a dynamical phenomenoncited by 24
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Trainingcited by 24
- 2023An SDE for Modeling SAM: Theory and Insightscited by 22
- 2023AdaSAM: Boosting Sharpness-Aware Minimization with Adaptive Learning Rate and Momentum for Training Deep Neural Networkscited by 21
- 2025Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimizationcited by 21
- 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optimacited by 20
- 2024Flat-LoRA: Low-Rank Adaptation over a Flat Loss Landscapecited by 19
- 2022Understanding Gradient Regularization in Deep Learning: Efficient Finite-Difference Computation and Implicit Biascited by 16
- 2023Sharpness-Aware Minimization Revisited: Weighted Sharpness as a Regularization Termcited by 16
- 2023Decentralized SGD and Average-direction SAM are Asymptotically Equivalentcited by 15
- 2022Randomized Sharpness-Aware Training for Boosting Computational Efficiency in Deep Learningcited by 14
- 2023Stability Analysis of Sharpness-Aware Minimizationcited by 14
- 2023Differentially Private Sharpness-Aware Trainingcited by 14
- 2023FedSOL: Stabilized Orthogonal Learning with Proximal Restrictions in Federated Learningcited by 14
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2024Momentum-SAM: Sharpness Aware Minimization without Computational Overheadcited by 13
- 2024Domain-Inspired Sharpness-Aware Minimization Under Domain Shiftscited by 12
- 2022Greybox XAI: a Neural-Symbolic learning framework to produce interpretable predictions for image classificationcited by 11
- 2023Flat Seeking Bayesian Neural Networkscited by 10
- 2023mSAM: Micro-Batch-Averaged Sharpness-Aware Minimizationcited by 10
- 2023CR-SAM: Curvature Regularized Sharpness-Aware Minimizationcited by 10
- 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapescited by 10
- 2025Sharpness-Aware Minimization: General Analysis and Improved Ratescited by 10
- 2025TDVE-Assessor: Benchmarking and Evaluating the Quality of Text-Driven Video Editing with LMMscited by 10
- 2023Exploring the Effect of Multi-step Ascent in Sharpness-Aware Minimizationcited by 9
- 2024Switch EMA: A Free Lunch for Better Flatness and Sharpnesscited by 9
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
50 most cited of 171 All 171 (JSON)
- 2026SAM-on-the-Curve: Sharpness-Aware Mode Connectivity for Robust Weight-Space Interpolation15 Sep 2026
- 2026PAPT++: Risk-Aware Adversarial Tuning and Generation for Single Domain Generalization4 Sep 2026
- 2026EMASAM: a Computationally Efficient Sharpness-Aware Minimization via EMA-Guided Perturbations15 Aug 2026
- 2026Sharpness-Aware Minimization and Muon: Robustness under the Spectral Norm28 Jul 2026
- 2026Gradient-Energy Guided Block-Wise Perturbations for Sharpness-Aware Minimization17 Jul 2026
- 2026Leveraging Extragradient for Effective Sharpness-Aware Minimization in Deep Learning7 Jul 2026
- 2026SAMPLe: SAM-based Optimizer for Prompt Learning in VLMs7 Jul 2026
- 2026FedFFT: Taming Client Drift in Federated SAM via Spectral Perturbation Filtering5 Jul 2026
- 2026Modeling Local, Global, and Cross-Modal Context in Multimodal 3D MRI25 Jun 2026
- 2026Adversarial Domain Prompt Tuning and Generation for Single Domain Generalization19 Jun 2026
- 2026Inconsistency-Aware Minimization: Improving Generalization with Unlabeled Data29 May 2026
- 2026Gradient Perturbation: Learning to Perturb Gradients for Adaptive Training28 May 2026
38 more
- 2026UniAlign: A Model-Agnostic Framework for Robust Network Traffic Classification under Distribution Shifts17 May 2026
- 2026Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization11 May 2026
- 2026FedVSSAM: Mitigating Flatness Incompatibility in Sharpness-Aware Federated Learning9 May 2026
- 2026Flatness and Gradient Alignment Are Both Necessary: Spectral-Aware Gradient-Aligned Exploration for Multi-Distribution Learning8 May 2026
- 2026Hessian Surgery: Class-Targeted Post-Hoc Rebalancing via Hessian Spike Perturbation8 May 2026
- 2026Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting4 May 2026
- 2026Improving Calibration in Test-Time Prompt Tuning for Vision-Language Models via Data-Free Flatness-Aware Prompt Pretraining30 Apr 2026
- 2026A Faster Path to Continual Learning13 Apr 2026
- 2026ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Training13 Mar 2026
- 2026Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation9 Mar 2026
- 2026Dynamic Momentum Recalibration in Online Gradient Learning6 Mar 2026
- 2026Sparse Layer Sharpness-Aware Minimization for Efficient Fine-Tuning10 Feb 2026
- 2026Robust Policy Optimization to Prevent Catastrophic Forgetting9 Feb 2026
- 2026Sharpness-Aware Hybrid Model Learning for Architecture-Agnostic Parameter Estimation6 Feb 2026
- 2026DSP-Reg: Domain-Sensitive Parameter Regularization for Robust Domain Generalization27 Jan 2026
- 2026X-SAM: Boosting Sharpness-Aware Minimization with Dominant-Eigenvector Gradient Correction15 Jan 2026
- 2025Sharpness-aware Federated Graph Learning18 Dec 2025
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimization5 Nov 2025
- 2025Sharpness-Guided Group Relative Policy Optimization via Probability Shaping29 Oct 2025
- 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learning28 Oct 2025
- 2025Learning Regularizers: Learning Optimizers that can Regularize10 Oct 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
- 2025Adaptively Sampling-Reusing-Mixing Decomposed Gradients to Speed Up Sharpness Aware Minimization4 Oct 2025
- 2025Beyond Magic Words: Sharpness-Aware Prompt Evolving for Robust Large Language Models with TARE28 Sep 2025
- 2025Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise22 Sep 2025
- 2025VASSO: Variance Suppression for Sharpness-Aware Minimization2 Sep 2025
- 2025Quantization Meets OOD: Generalizable Quantization-aware Training from a Flatness Perspective31 Aug 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
- 2025Curvature Learning for Generalization of Hyperbolic Neural Networks24 Aug 2025
- 2025Domain-Generalization to Improve Learning in Meta-Learning Algorithms13 Aug 2025
- 2025Communication-Efficient Distributed Training for Collaborative Flat Optima Recovery in Deep Learning27 Jul 2025
- 2025GLAD: Generalizable Tuning for Vision-Language Models17 Jul 2025
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbation10 Jul 2025
- 2025Adversarial Data Augmentation for Single Domain Generalization via Lyapunov Exponent-Guided Optimization6 Jul 2025
- 2025Prompt Disentanglement via Language Guidance and Representation Alignment for Domain Generalization3 Jul 2025
- 2025Underwater Monocular Metric Depth Estimation: Real-World Benchmarks and Synthetic Fine-Tuning with Vision Foundation Models2 Jul 2025
50 newest of 171 All 171 (JSON)
- 2025GLAD: Generalizable Tuning for Vision-Language Modelscited by 3
- 2026Improving Calibration in Test-Time Prompt Tuning for Vision-Language Models via Data-Free Flatness-Aware Prompt Pretrainingcited by 2
- 2023Gradient constrained sharpness-aware prompt learning for vision-language modelscited by 1
- 2026SAMPLe: SAM-based Optimizer for Prompt Learning in VLMscited by 0
- 2026SAMPLe: SAM-based Optimizer for Prompt Learning in VLMs7 Jul 2026
- 2026Improving Calibration in Test-Time Prompt Tuning for Vision-Language Models via Data-Free Flatness-Aware Prompt Pretraining30 Apr 2026
- 2025GLAD: Generalizable Tuning for Vision-Language Models17 Jul 2025
- 2023Gradient constrained sharpness-aware prompt learning for vision-language models14 Sep 2023
- 2022Generalized Federated Learning via Sharpness Aware Minimizationcited by 144
- 2022Minimizing the Accumulated Trajectory Error to Improve Dataset Distillationcited by 142
- 2023Sharpness-Aware Gradient Matching for Domain Generalizationcited by 102
- 2022Sharpness-Aware Training for Freecited by 95
- 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
- 2022Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approachcited by 70
- 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimizationcited by 60
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
- 2024Friendly Sharpness-Aware Minimizationcited by 52
- 2023Dynamic Regularized Sharpness Aware Minimization in Federated Learning: Approaching Global Consistency and Smooth Landscapecited by 46
- 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
- 2022Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Modelscited by 42
12 most cited of 161 All 161 (JSON)
- 2026SAM-on-the-Curve: Sharpness-Aware Mode Connectivity for Robust Weight-Space Interpolation15 Sep 2026
- 2026EMASAM: a Computationally Efficient Sharpness-Aware Minimization via EMA-Guided Perturbations15 Aug 2026
- 2026Sharpness-Aware Minimization and Muon: Robustness under the Spectral Norm28 Jul 2026
- 2026Gradient-Energy Guided Block-Wise Perturbations for Sharpness-Aware Minimization17 Jul 2026
- 2026Leveraging Extragradient for Effective Sharpness-Aware Minimization in Deep Learning7 Jul 2026
- 2026FedFFT: Taming Client Drift in Federated SAM via Spectral Perturbation Filtering5 Jul 2026
- 2026Modeling Local, Global, and Cross-Modal Context in Multimodal 3D MRI25 Jun 2026
- 2026Inconsistency-Aware Minimization: Improving Generalization with Unlabeled Data29 May 2026
- 2026Gradient Perturbation: Learning to Perturb Gradients for Adaptive Training28 May 2026
- 2026UniAlign: A Model-Agnostic Framework for Robust Network Traffic Classification under Distribution Shifts17 May 2026
- 2026Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization11 May 2026
- 2026FedVSSAM: Mitigating Flatness Incompatibility in Sharpness-Aware Federated Learning9 May 2026
12 newest of 161 All 161 (JSON)