When, Where and Why to Average Weights?
Not on the map. Why?
Abstract (arXiv)
Averaging checkpoints along the training trajectory is a simple yet powerful approach to improve the generalization performance of Machine Learning models and reduce training time. Motivated by these potential gains, and in an effort to fairly and thoroughly benchmark this technique, we present an extensive evaluation of averaging techniques in modern Deep Learning, which we perform using AlgoPerf citepdahlbenchmarking2023, a large-scale benchmark for optimization algorithms. We investigate whether weight averaging can reduce training time, improve generalization, and replace learning rate decay, as suggested by recent literature. Our evaluation across seven architectures and datasets reveals that averaging significantly accelerates training and yields considerable efficiency gains, at the price of a minimal implementation and memory cost, while mildly improving generalization across all considered workloads. Finally, we explore the relationship between averaging and learning rate annealing and show how to optimally combine the two to achieve the best performances.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 34 of its 66 references that are in the map. First posted on arXiv 10 Feb 2025.
Builds on
34 of 66 references.
References · 34
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,863
- 2020GLU Variants Improve Transformercited by 1,804
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
22 more
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2018fastMRI: An Open Dataset and Benchmarks for Accelerated MRIcited by 470
- 2015Deep Speech 2: End-to-End Speech Recognition in English and Mandarincited by 451
- 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 434
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2017Regularizing and Optimizing LSTM Language Modelscited by 205
- 2024Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durationscited by 170
- 2023Handbook of Convergence Theorems for (Stochastic) Gradient Methodscited by 163
- 2021Ensemble of Averages: Improving Model Selection and Boosting Performance in Domain Generalizationcited by 144
- 2013Non-strongly-convex smooth stochastic approximation with convergence rate O(1/n)cited by 111
- 2018There Are Many Consistent Explanations of Unlabeled Data: Why You Should Averagecited by 82
- 2023A Distributed Data-Parallel PyTorch Implementation of the Distributed Shampoo Optimizer for Training Neural Networks At-Scalecited by 77
- 2018The Unusual Effectiveness of Averaging in GAN Trainingcited by 73
- 2020Stochastic Weight Averaging in Parallel: Large-Batch Training that Generalizes Wellcited by 57
- 2019SWALP : Stochastic Weight Averaging in Low-Precision Trainingcited by 42
- 2023Early Weight Averaging meets High Learning Rates for LLM Pre-trainingcited by 37
- 2018Iterate averaging as regularization for stochastic gradient descentcited by 27
- 2023Training trajectories, mini-batch losses and the curious role of the learning ratecited by 21
- 2024Switch EMA: A Free Lunch for Better Flatness and Sharpnesscited by 9
- 2022Fast Benchmarking of Accuracy vs. Training Time with Cyclic Learning Ratescited by 5
Built on by
Citing papers per year: 2025: 2; 2026: 6.
8 papers.
- 2025Training Dynamics Impact Post-Training Quantization Robustnesscited by 15
- 2026Anytime Pretraining: Horizon-Free Learning-Rate Schedules with Weight Averagingcited by 10
- 2025Modality-Balanced Collaborative Distillation for Multi-Modal Domain Generalizationcited by 6
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Lawscited by 0
- 2026Terminal Shrinkage Averaging Reveals a Schedule-Estimator Interaction in LLM Pretrainingcited by 0
- 2026QAM: Quadratic-Accurate Checkpoint Merging via Sequential Consistencycited by 0
- 2026Conflicting Supervision Moves Commitment, Not Capability: A 12.29σ arrangement effect that is exactly zero under a convention-agnostic scorecited by 0
- 2026Understanding the Weight Averaging Mechanism in LLM Training for Post-Training Quantizationcited by 0
- 2026Understanding the Weight Averaging Mechanism in LLM Training for Post-Training Quantization4 Oct 2026
- 2026QAM: Quadratic-Accurate Checkpoint Merging via Sequential Consistency28 Sep 2026
- 2026Conflicting Supervision Moves Commitment, Not Capability: A 12.29σ arrangement effect that is exactly zero under a convention-agnostic score23 Sep 2026
- 2026Terminal Shrinkage Averaging Reveals a Schedule-Estimator Interaction in LLM Pretraining21 Sep 2026
- 2026Anytime Pretraining: Horizon-Free Learning-Rate Schedules with Weight Averaging3 Feb 2026
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Laws29 Jan 2026
- 2025Modality-Balanced Collaborative Distillation for Multi-Modal Domain Generalization25 Nov 2025
- 2025Training Dynamics Impact Post-Training Quantization Robustness7 Oct 2025