Improving Generalization of Pre-trained Language Models via Stochastic Weight Averaging
On the map: Knowledge distillation → Knowledge distillation for LLMs
Abstract (arXiv)
Knowledge Distillation (KD) is a commonly used technique for improving the generalization of compact Pre-trained Language Models (PLMs) on downstream tasks. However, such methods impose the additional burden of training a separate teacher model for every new dataset. Alternatively, one may directly work on the improvement of the optimization procedure of the compact model toward better generalization. Recent works observe that the flatness of the local minimum correlates well with better generalization. In this work, we adapt Stochastic Weight Averaging (SWA), a method encouraging convergence to a flatter minimum, to fine-tuning PLMs. We conduct extensive experiments on various NLP tasks (text classification, question answering, and generation) and different model architectures and demonstrate that our adaptation improves the generalization without extra computation cost. Moreover, we observe that this simple optimization technique is able to outperform the state-of-the-art KD methods for compact models.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 39 of its 51 references that are in the map. First posted on arXiv 12 Dec 2022.
Builds on
39 of 51 references.
Closest ancestors · 1
Same direction, newest first
Other references · 38
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
26 more
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
- 2019Improved Knowledge Distillation via Teacher Assistantcited by 573
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2019Deep Ensembles: A Loss Landscape Perspectivecited by 443
- 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 434
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 292
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 290
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 178
- 2021PanGu-α: Large-scale Autoregressive Pretrained Chinese Language Models with Auto-parallel Computationcited by 134
- 2018An Alternative View: When Does SGD Escape Local Minima?cited by 115
- 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
- 2021Exploring the Limits of Large Scale Pre-trainingcited by 104
- 2022When Do Flat Minima Optimizers Work?cited by 78
- 2020Self-Distillation as Instance-Specific Label Smoothingcited by 71
- 2019Visualizing and Understanding the Effectiveness of BERTcited by 67
- 2021Annealing Knowledge Distillationcited by 61
- 2022Anticorrelated Noise Injection for Improved Generalizationcited by 42
- 2022Low-Pass Filtering SGD for Recovering Flat Optima in the Deep Learning Optimization Landscapecited by 39
- 2016Mollifying Networkscited by 10
Built on by
Citing papers per year: 2023: 4; 2024: 5.
9 papers.
- 2024Representation Surgery for Multi-Task Model Mergingcited by 96
- 2023Knowledge is a Region in Weight Space for Fine-tuned Language Modelscited by 58
- 2023Learning from models beyond fine-tuningcited by 48
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2024Model Fusion through Bayesian Optimization in Language Model Fine-Tuningcited by 5
- 2023Uncertainty-Aware Natural Language Inference with Stochastic Weight Averagingcited by 4
- 2024Parameter-Efficient Interventions for Enhanced Model Mergingcited by 3
- 2024Fighting Randomness with Randomness: Mitigating Optimisation Instability of Fine-Tuning using Delayed Ensemble and Noisy Interpolationcited by 2
- 2023LABO: Towards Learning Optimal Label Regularization via Bi-level Optimizationcited by 0
- 2024Parameter-Efficient Interventions for Enhanced Model Merging22 Dec 2024
- 2024Model Fusion through Bayesian Optimization in Language Model Fine-Tuning11 Nov 2024
- 2024Fighting Randomness with Randomness: Mitigating Optimisation Instability of Fine-Tuning using Delayed Ensemble and Noisy Interpolation18 Jun 2024
- 2024A Universal Class of Sharpness-Aware Minimization Algorithms6 Jun 2024
- 2024Representation Surgery for Multi-Task Model Merging5 Feb 2024
- 2023Learning from models beyond fine-tuning12 Oct 2023
- 2023LABO: Towards Learning Optimal Label Regularization via Bi-level Optimization8 May 2023
- 2023Uncertainty-Aware Natural Language Inference with Stochastic Weight Averaging10 Apr 2023
- 2023Knowledge is a Region in Weight Space for Fine-tuned Language Models9 Feb 2023
Similar, not cited
Close in wording, no citation either way
- 2023Weight Averaging Improves Knowledge Distillation under Domain Shift
- 2023MiniLLM: On-Policy Distillation of Large Language Models
- 2024DistiLLM: Towards Streamlined Distillation for Large Language Models
- 2024MiniPLM: Knowledge Distillation for Pre-Training Language Models
- 2024Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and Application
- 2025Knowledge Distillation and Dataset Distillation of Large Language Models: Emerging Trends, Challenges, and Future Directions
- 2023ERNIE 3.0 Tiny: Frustratingly Simple Method to Improve Task-Agnostic Distillation Generalization
- 2021Dynamic Knowledge Distillation for Pre-trained Language Models