Sharpness-Aware Minimization Improves Language Model Generalization
Not on the map. Why?
Abstract (arXiv)
The allure of superhuman-level capabilities has led to considerable interest in language models like GPT-3 and T5, wherein the research has, by and large, revolved around new model architectures, training tasks, and loss objectives, along with substantial engineering efforts to scale up model capacity and dataset size. Comparatively little work has been done to improve the generalization of these models through better optimization. In this work, we show that Sharpness-Aware Minimization (SAM), a recently proposed optimization procedure that encourages convergence to flatter minima, can substantially improve the generalization of language models without much computational overhead. We show that SAM is able to boost performance on SuperGLUE, GLUE, Web Questions, Natural Questions, Trivia QA, and TyDiQA, with particularly large gains when training data for these tasks is limited.
Key facts. Cited by 108 papers in the map (data through 7 Oct 2026). Builds on 36 of its 49 references that are in the map. First posted on arXiv 16 Oct 2021.
Builds on
36 of 49 references.
References · 36
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
24 more
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 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
- 2019When Does Label Smoothing Help?cited by 985
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2020TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languagescited by 486
- 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
- 2021High-Performance Large-Scale Image Recognition Without Normalizationcited by 359
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 253
- 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 183
- 2020Self-Distillation Amplifies Regularization in Hilbert Spacecited by 171
- 2020Better Fine-Tuning by Reducing Representational Collapsecited by 156
- 2020Implicit Gradient Regularizationcited by 145
- 2017A Bayesian Perspective on Generalization and Stochastic Gradient Descentcited by 134
- 2018An Alternative View: When Does SGD Escape Local Minima?cited by 115
Built on by
Citing papers per year: 2021: 1; 2022: 20; 2023: 32; 2024: 25; 2025: 17; 2026: 13.
108 papers.
Sort:
By area:
- 2022Improving Generalization in Federated Learning by Seeking Flat Minimacited by 98
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2022Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Modelscited by 84
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2022When Do Flat Minima Optimizers Work?cited by 78
- 2022Sharp-MAML: Sharpness-Aware Model-Agnostic Meta Learningcited by 57
- 2023Baby Llama: knowledge distillation from an ensemble of teachers trained on a small dataset with no performance penaltycited by 57
- 2022The Dynamics of Sharpness-Aware Minimization: Bouncing Across Ravines and Drifting Towards Wide Minimacited by 51
- 2022Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Modelscited by 42
- 2023PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learningcited by 42
- 2022SAM as an Optimal Relaxation of Bayescited by 40
- 2024Elucidating the Design Space of Dataset Condensationcited by 40
38 more
- 2022DSI++: Updating Transformer Memory with New Documentscited by 35
- 2022Escaping Saddle Points for Effective Generalization on Class-Imbalanced Datacited by 28
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needscited 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
- 2023SAM operates far from home: eigenvalue regularization as a dynamical phenomenoncited by 24
- 2024On the Duality Between Sharpness-Aware Minimization and Adversarial Trainingcited by 24
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Trainingcited by 24
- 2023An SDE for Modeling SAM: Theory and Insightscited by 22
- 2022Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Modelscited by 20
- 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optimacited by 20
- 2023Sharpness-Aware Minimization Revisited: Weighted Sharpness as a Regularization Termcited by 16
- 2022Towards Bridging the Performance Gaps of Joint Energy-based Modelscited by 15
- 2022Beyond Losses Reweighting: Empowering Multi-Task Learning via the Generalization Perspectivecited by 15
- 2023Decentralized SGD and Average-direction SAM are Asymptotically Equivalentcited by 15
- 2022Randomized Sharpness-Aware Training for Boosting Computational Efficiency in Deep Learningcited by 14
- 2023Sharpness-Aware Minimization Alone can Improve Adversarial Robustnesscited by 14
- 2023Differentially Private Sharpness-Aware Trainingcited by 14
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2023How to escape sharp minima with random perturbationscited by 13
- 2024Momentum-SAM: Sharpness Aware Minimization without Computational Overheadcited by 13
- 2025Understanding Silent Data Corruption in LLM Trainingcited by 13
- 2024Model Balancing Helps Low-data Training and Fine-tuningcited by 11
- 2022K-SAM: Sharpness-Aware Minimization at the Speed of SGDcited by 10
- 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
- 2022Improving Generalization of Pre-trained Language Models via Stochastic Weight Averagingcited by 9
- 2023Multi-Dataset Co-Training with Sharpness-Aware Optimization for Audio Anti-spoofingcited 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
- 2024Stabilizing Sharpness-aware Minimization Through A Simple Renormalization Strategycited by 8
- 2024SAMPa: Sharpness-aware Minimization Parallelizedcited by 8
- 2026Gradient Regularization Mitigates Reward Hacking in Reinforcement Learning from Human Feedback and Verifiable Rewardscited by 8
- 2024Efficient Sharpness-Aware Minimization for Molecular Graph Transformer Modelscited by 7
- 2021Sharpness-Aware Minimization with Dynamic Reweightingcited by 6
- 2023TRAM: Bridging Trust Regions and Sharpness Aware Minimizationcited by 6
50 most cited of 108 All 108 (JSON)
- 2026SAUL: Sharpness-Aware Augmented-Lagrangian Unlearning17 Aug 2026
- 2026Temperon: Full-Time SAM Quality at a Third Less Wall-Clock31 Jul 2026
- 2026SAMPLe: SAM-based Optimizer for Prompt Learning in VLMs7 Jul 2026
- 2026Flatness Preserves Instruction Following in Vision-Language-Action Models22 Jun 2026
- 2026What Shapes Emergent Misalignment? Insights from Training Dynamics, Model Priors, and Data18 Jun 2026
- 2026Unveiling Multi-regime Patterns in SciML: Distinct Failure Modes and Regime-specific Optimization27 May 2026
- 2026Fitting Is Not Enough: Smoothness in Extremely Quantized LLMs9 May 2026
- 2026Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation9 Mar 2026
- 2026Gradient Regularization Mitigates Reward Hacking in Reinforcement Learning from Human Feedback and Verifiable Rewards20 Feb 2026
- 2026Sparse Layer Sharpness-Aware Minimization for Efficient Fine-Tuning10 Feb 2026
- 2026Robust Policy Optimization to Prevent Catastrophic Forgetting9 Feb 2026
- 2026Revisiting Robustness for LLM Safety Alignment via Selective Geometry Control7 Feb 2026
38 more
- 2026X-SAM: Boosting Sharpness-Aware Minimization with Dominant-Eigenvector Gradient Correction15 Jan 2026
- 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
- 2025Zeroth-Order Sharpness-Aware Learning with Exponential Tilting17 Oct 2025
- 2025Balanced Sharpness-Aware Minimization for Imbalanced Regression23 Aug 2025
- 2025Unpacking the Implicit Norm Dynamics of Sharpness-Aware Minimization in Tensorized Models14 Aug 2025
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbation10 Jul 2025
- 2025Attributing Data for Sharpness-Aware Minimization5 Jul 2025
- 2025Promoting Ensemble Diversity with Interactive Bayesian Distributional Robustness for Fine-tuning Foundation Models8 Jun 2025
- 2025SAFE: Finding Sparse and Flat Minima to Improve Pruning7 Jun 2025
- 2025Towards Better Generalization via Distributional Input Projection Network5 Jun 2025
- 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimization29 May 2025
- 2025Improving Generalization of Medical Image Registration Foundation Model10 May 2025
- 2025Unified Enhancement of the Generalization and Robustness of Language Models via Bi-Stage Optimization19 Mar 2025
- 2025SASSHA: Sharpness-aware Adaptive Second-order Optimization with Stable Hessian Approximation25 Feb 2025
- 2025Understanding Silent Data Corruption in LLM Training17 Feb 2025
- 2025GCSAM: Gradient Centralized Sharpness Aware Minimization20 Jan 2025
- 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapes18 Dec 2024
- 2024Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problems18 Oct 2024
- 2024Sharpness-Aware Black-Box Optimization16 Oct 2024
- 2024Model Balancing Helps Low-data Training and Fine-tuning16 Oct 2024
- 2024SAMPa: Sharpness-aware Minimization Parallelized14 Oct 2024
- 2024Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late in Training14 Oct 2024
- 2024Improving Generalization with Flat Hilbert Bayesian Inference5 Oct 2024
- 2024COSCO: A Sharpness-Aware Training Framework for Few-shot Multivariate Time Series Classification15 Sep 2024
- 2024Enhancing Sharpness-Aware Minimization by Learning Perturbation Radius15 Aug 2024
- 2024Do Sharpness-based Optimizers Improve Generalization in Medical Image Analysis?7 Aug 2024
- 2024Improving SAM Requires Rethinking its Optimization Formulation17 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
- 2024Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamics10 Jun 2024
- 2024A Universal Class of Sharpness-Aware Minimization Algorithms6 Jun 2024
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learning30 May 2024
- 2024Elucidating the Design Space of Dataset Condensation21 Apr 2024
- 2024A Hybrid Generative and Discriminative PointNet on Unordered Point Sets19 Apr 2024
- 2024Flatness Improves Backbone Generalisation in Few-shot Classification11 Apr 2024
50 newest of 108 All 108 (JSON)
- 2026SAMPLe: SAM-based Optimizer for Prompt Learning in VLMscited by 0
- 2026SAMPLe: SAM-based Optimizer for Prompt Learning in VLMs7 Jul 2026
- 2026SAUL: Sharpness-Aware Augmented-Lagrangian Unlearningcited by 0
- 2026SAUL: Sharpness-Aware Augmented-Lagrangian Unlearning17 Aug 2026
- 2022Improving Generalization in Federated Learning by Seeking Flat Minimacited by 98
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2022Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Modelscited by 84
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2022When Do Flat Minima Optimizers Work?cited by 78
- 2022Sharp-MAML: Sharpness-Aware Model-Agnostic Meta Learningcited by 57
- 2023Baby Llama: knowledge distillation from an ensemble of teachers trained on a small dataset with no performance penaltycited by 57
- 2022The Dynamics of Sharpness-Aware Minimization: Bouncing Across Ravines and Drifting Towards Wide Minimacited by 51
- 2022Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Modelscited by 42
- 2023PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learningcited by 42
- 2022SAM as an Optimal Relaxation of Bayescited by 40
- 2024Elucidating the Design Space of Dataset Condensationcited by 40
12 most cited of 100 All 100 (JSON)
- 2026Temperon: Full-Time SAM Quality at a Third Less Wall-Clock31 Jul 2026
- 2026What Shapes Emergent Misalignment? Insights from Training Dynamics, Model Priors, and Data18 Jun 2026
- 2026Unveiling Multi-regime Patterns in SciML: Distinct Failure Modes and Regime-specific Optimization27 May 2026
- 2026Fitting Is Not Enough: Smoothness in Extremely Quantized LLMs9 May 2026
- 2026Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementation9 Mar 2026
- 2026Sparse Layer Sharpness-Aware Minimization for Efficient Fine-Tuning10 Feb 2026
- 2026X-SAM: Boosting Sharpness-Aware Minimization with Dominant-Eigenvector Gradient Correction15 Jan 2026
- 2025Flat Minima and Generalization: Insights from Stochastic Convex Optimization5 Nov 2025
- 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learning28 Oct 2025
- 2025Zeroth-Order Sharpness-Aware Learning with Exponential Tilting17 Oct 2025
- 2025Balanced Sharpness-Aware Minimization for Imbalanced Regression23 Aug 2025
- 2025Unpacking the Implicit Norm Dynamics of Sharpness-Aware Minimization in Tensorized Models14 Aug 2025
12 newest of 100 All 100 (JSON)