mlsanityData to 7 Oct 2026

Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Models

arXiv 2205.12694 ↗First posted 25 May 2022cs.CL cs.AI cs.LGcited by 20

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  9. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  10. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  11. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  12. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
38 more
  1. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  2. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  3. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  4. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  5. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  6. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  7. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  8. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  9. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  10. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
  11. 2018Neural Network Acceptability Judgmentscited by 952
  12. 2019Are Sixteen Heads Really Better than One?cited by 803
  13. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
  14. 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
  15. 2020What is the State of Neural Network Pruning?cited by 578
  16. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
  17. 2019Fantastic Generalization Measures and Where to Find Themcited by 507
  18. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  19. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  20. 2017Sharp Minima Can Generalize For Deep Netscited by 462
  21. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  22. 2020What is being transferred in transfer learning?cited by 365
  23. 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
  24. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  25. 2020Parameter-Efficient Transfer Learning with Diff Pruningcited by 351
  26. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  27. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  28. 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
  29. 2021I-BERT: Integer-only BERT Quantizationcited by 250
  30. 2020Comparing Rewinding and Fine-tuning in Neural Network Pruningcited by 238
  31. 2021Block Pruning For Faster Transformerscited by 176
  32. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
  33. 2022Structured Pruning Learns Compact and Accurate Modelscited by 167
  34. 2020Characterising Bias in Compressed Modelscited by 162
  35. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
  36. 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
  37. 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
  38. 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

Cited by year

Citing papers per year: 2022: 2; 2023: 10; 2024: 2; 2025: 6.

20 papers.

Sort:

By area:

  1. 2023PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learningcited by 42
  2. 2022Unmasking the Lottery Ticket Hypothesis: What's Encoded in a Winning Ticket's Mask?cited by 38
  3. 2023Sharpness-Aware Minimization Leads to Low-Rank Featurescited by 38
  4. 2023Normalization Layers Are All That Sharpness-Aware Minimization Needscited by 27
  5. 2023Adaptive Sharpness-Aware Pruning for Robust Sparse Networkscited by 17
  6. 2023A Three-regime Model of Network Pruningcited by 15
  7. 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
  8. 2023Flatness-Aware Prompt Selection Improves Accuracy and Sample Efficiencycited by 5
  9. 2025SAFE: Finding Sparse and Flat Minima to Improve Pruningcited by 5
  10. 2025Understanding Flatness in Generative Models: Its Role and Benefitscited by 3
  11. 2022Model Generalization: A Sharpness Aware Optimization Perspectivecited by 2
  12. 2023Sparse Weight Averaging with Multiple Particles for Iterative Magnitude Pruningcited by 2
8 more
  1. 2023The Split Matters: Flat Minima Methods for Improving the Performance of GNNscited by 2
  2. 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learningcited by 2
  3. 2025Model Merging via Multi-Teacher Knowledge Distillationcited by 2
  4. 2023To Asymmetry and Beyond: Structured Pruning of Sequence to Sequence Models for Improved Inference Efficiencycited by 1
  5. 2023CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptationcited by 0
  6. 2024Long-Tailed Recognition on Binary Networks by Calibrating A Pre-trained Modelcited by 0
  7. 2025S2AP: Score-space Sharpness Minimization for Adversarial Pruningcited by 0
  8. 2025Weight Concentration Regularization for Improving Pruning Robustness Under High Sparsitycited by 0