Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Models
Not on the map. Why?
Abstract (arXiv)
Model compression by way of parameter pruning, quantization, or distillation has recently gained popularity as an approach for reducing the computational requirements of modern deep neural network models for NLP. Inspired by prior works suggesting a connection between simpler, more generalizable models and those that lie within wider loss basins, we hypothesize that optimizing for flat minima should lead to simpler parameterizations and thus more compressible models. We propose to combine sharpness-aware minimization (SAM) with various task-specific model compression methods, including iterative magnitude pruning (IMP), structured pruning with a distillation objective, and post-training dynamic quantization. Empirically, we show that optimizing for flatter minima consistently leads to greater compressibility of parameters compared to vanilla Adam when fine-tuning BERT models, with little to no loss in accuracy on the GLUE text classification and SQuAD question answering benchmarks. Moreover, SAM finds superior winning tickets during IMP that 1) are amenable to vanilla Adam optimization, and 2) transfer more effectively across tasks.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 67 of its 97 references that are in the map. First posted on arXiv 25 May 2022.
Builds on
67 of 97 references.
References · 67
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
38 more
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 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
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2018Neural Network Acceptability Judgmentscited by 952
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
- 2020What is the State of Neural Network Pruning?cited by 578
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2017Sharp Minima Can Generalize For Deep Netscited by 462
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
- 2020What is being transferred in transfer learning?cited by 365
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
- 2020Parameter-Efficient Transfer Learning with Diff Pruningcited by 351
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
- 2021I-BERT: Integer-only BERT Quantizationcited by 250
- 2020Comparing Rewinding and Fine-tuning in Neural Network Pruningcited by 238
- 2021Block Pruning For Faster Transformerscited by 176
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
- 2022Structured Pruning Learns Compact and Accurate Modelscited by 167
- 2020Characterising Bias in Compressed Modelscited by 162
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
- 2018Non-Vacuous Generalization Bounds at the ImageNet Scale: A PAC-Bayesian Compression Approachcited by 125
50 most cited of 67 All 67 (JSON)
Built on by
Citing papers per year: 2022: 2; 2023: 10; 2024: 2; 2025: 6.
20 papers.
Sort:
By area:
- 2023PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learningcited by 42
- 2022Unmasking the Lottery Ticket Hypothesis: What's Encoded in a Winning Ticket's Mask?cited by 38
- 2023Sharpness-Aware Minimization Leads to Low-Rank Featurescited by 38
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needscited by 27
- 2023Adaptive Sharpness-Aware Pruning for Robust Sparse Networkscited by 17
- 2023A Three-regime Model of Network Pruningcited by 15
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
- 2023Flatness-Aware Prompt Selection Improves Accuracy and Sample Efficiencycited by 5
- 2025SAFE: Finding Sparse and Flat Minima to Improve Pruningcited by 5
- 2025Understanding Flatness in Generative Models: Its Role and Benefitscited by 3
- 2022Model Generalization: A Sharpness Aware Optimization Perspectivecited by 2
- 2023Sparse Weight Averaging with Multiple Particles for Iterative Magnitude Pruningcited by 2
8 more
- 2023The Split Matters: Flat Minima Methods for Improving the Performance of GNNscited by 2
- 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learningcited by 2
- 2025Model Merging via Multi-Teacher Knowledge Distillationcited by 2
- 2023To Asymmetry and Beyond: Structured Pruning of Sequence to Sequence Models for Improved Inference Efficiencycited by 1
- 2023CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptationcited by 0
- 2024Long-Tailed Recognition on Binary Networks by Calibrating A Pre-trained Modelcited by 0
- 2025S2AP: Score-space Sharpness Minimization for Adversarial Pruningcited by 0
- 2025Weight Concentration Regularization for Improving Pruning Robustness Under High Sparsitycited by 0
- 2025Model Merging via Multi-Teacher Knowledge Distillation24 Dec 2025
- 2025Weight Concentration Regularization for Improving Pruning Robustness Under High Sparsity18 Nov 2025
- 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learning28 Oct 2025
- 2025S2AP: Score-space Sharpness Minimization for Adversarial Pruning21 Oct 2025
- 2025SAFE: Finding Sparse and Flat Minima to Improve Pruning7 Jun 2025
- 2025Understanding Flatness in Generative Models: Its Role and Benefits14 Mar 2025
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learning30 May 2024
- 2024Long-Tailed Recognition on Binary Networks by Calibrating A Pre-trained Model30 Mar 2024
- 2023Adaptive Sharpness-Aware Pruning for Robust Sparse Networks25 Jun 2023
- 2023PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learning19 Jun 2023
- 2023The Split Matters: Flat Minima Methods for Improving the Performance of GNNs15 Jun 2023
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needs7 Jun 2023
8 more
- 2023A Three-regime Model of Network Pruning28 May 2023
- 2023Sharpness-Aware Minimization Leads to Low-Rank Features25 May 2023
- 2023Sparse Weight Averaging with Multiple Particles for Iterative Magnitude Pruning24 May 2023
- 2023Flatness-Aware Prompt Selection Improves Accuracy and Sample Efficiency18 May 2023
- 2023CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptation8 May 2023
- 2023To Asymmetry and Beyond: Structured Pruning of Sequence to Sequence Models for Improved Inference Efficiency5 Apr 2023
- 2022Unmasking the Lottery Ticket Hypothesis: What's Encoded in a Winning Ticket's Mask?6 Oct 2022
- 2022Model Generalization: A Sharpness Aware Optimization Perspective14 Aug 2022
- 2023PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learningcited by 42
- 2022Unmasking the Lottery Ticket Hypothesis: What's Encoded in a Winning Ticket's Mask?cited by 38
- 2023Sharpness-Aware Minimization Leads to Low-Rank Featurescited by 38
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needscited by 27
- 2023Adaptive Sharpness-Aware Pruning for Robust Sparse Networkscited by 17
- 2023A Three-regime Model of Network Pruningcited by 15
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
- 2023Flatness-Aware Prompt Selection Improves Accuracy and Sample Efficiencycited by 5
- 2025SAFE: Finding Sparse and Flat Minima to Improve Pruningcited by 5
- 2022Model Generalization: A Sharpness Aware Optimization Perspectivecited by 2
- 2023Sparse Weight Averaging with Multiple Particles for Iterative Magnitude Pruningcited by 2
- 2023The Split Matters: Flat Minima Methods for Improving the Performance of GNNscited by 2
12 most cited of 19 All 19 (JSON)
- 2025Model Merging via Multi-Teacher Knowledge Distillation24 Dec 2025
- 2025Weight Concentration Regularization for Improving Pruning Robustness Under High Sparsity18 Nov 2025
- 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learning28 Oct 2025
- 2025S2AP: Score-space Sharpness Minimization for Adversarial Pruning21 Oct 2025
- 2025SAFE: Finding Sparse and Flat Minima to Improve Pruning7 Jun 2025
- 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learning30 May 2024
- 2024Long-Tailed Recognition on Binary Networks by Calibrating A Pre-trained Model30 Mar 2024
- 2023Adaptive Sharpness-Aware Pruning for Robust Sparse Networks25 Jun 2023
- 2023PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learning19 Jun 2023
- 2023The Split Matters: Flat Minima Methods for Improving the Performance of GNNs15 Jun 2023
- 2023Normalization Layers Are All That Sharpness-Aware Minimization Needs7 Jun 2023
- 2023A Three-regime Model of Network Pruning28 May 2023
12 newest of 19 All 19 (JSON)