Averaging Weights Leads to Wider Optima and Better Generalization
Open accessThe DOI matches its DataCite record; 23 of the 23 references it cites were found in a registry or an index.
Abstract
Deep neural networks are typically trained by optimizing a loss function with an SGD variant, in conjunction with a decaying learning rate, until convergence. We show that simple averaging of multiple points along the trajectory of SGD, with a cyclical or constant learning rate, leads to better generalization than conventional training. We also show that this Stochastic Weight Averaging (SWA) procedure finds much flatter solutions than SGD, and approximates the recent Fast Geometric Ensembling (FGE) approach with a single model. Using SWA we achieve notable improvement in test accuracy over conventional SGD training on a range of state-of-the-art residual networks, PyramidNets, DenseNets, and Shake-Shake networks on CIFAR-10, CIFAR-100, and ImageNet. In short, SWA is extremely easy to implement, improves generalization, and has almost no computational overhead.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474
Very Deep Convolutional Networks for Large-Scale Image Recognition
Simonyan, K., & Zisserman, A. (2014) · arXiv · doi:10.48550/arxiv.1409.1556 · Cited by 114,148
Densely Connected Convolutional Networks
Huang, G., Liu, Z., Van Der Maaten, L., & Weinberger, K. Q. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.243 · Cited by 48,566
ImageNet Large Scale Visual Recognition Challenge
Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., Huang, Z., Karpathy, A., Khosla, A., Bernstein, M., et al. (2015) · International Journal of Computer Vision · doi:10.1007/s11263-015-0816-y · Cited by 39,380
(2014) · Cited by 33,419
Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
Ioffe, S., & Szegedy, C. (2015) · arXiv · doi:10.48550/arxiv.1502.03167 · Cited by 27,818
Wide Residual NetworksPreprint
Zagoruyko, S., & Komodakis, N. (2016) · British Machine Vision Conference · doi:10.48550/arxiv.1605.07146 · Cited by 9,461
Zagoruyko, S., & Komodakis, N. (2016) · Procedings of the British Machine Vision Conference 2016 · doi:10.5244/c.30.87 · Cited by 7,244
SGDR: Stochastic Gradient Descent with Warm Restarts
Loshchilov, I., & Hutter, F. (2016) · arXiv · doi:10.48550/arxiv.1608.03983 · Cited by 5,309 · cited 2×
“In particular: • We show that SGD with cyclical [e.g., Loshchilov and Hutter, 2017] and constant learning rates traverses regions of weight space corresponding to high-performing networks.”
BackgroundAcceleration of Stochastic Approximation by Averaging
Polyak, B. T., & Juditsky, A. B. (1992) · SIAM Journal on Control and Optimization · doi:10.1137/0330046 · Cited by 1,827 · cited 2×
“The general idea of maintaining a running average of weights proposed by SGD was first considered in convex optimization by Ruppert [1988] and later by Polyak and Juditsky [1992]. However, this procedure is not typically used to train neural networks.”
BackgroundMethod
Research works printed but not linked: 4
- P. Chaudhari, Anna Choromanska, S. Soatto, Yann Le- Cun, C. Baldassi, C. Borgs, J. Chayes, Levent Sagun, and R. Zecchina. Entropy-sgd: Biasing gradient de- scent into wide valleys. In International Conference on Learning Representations (ICLR), 2017.
- Sepp Hochreiter and Jürgen Schmidhuber. Flat minima. Neural Computation, 9(1):1-42, 1997.
- Nitish Shirish Keskar, Dheevatsa Mudigere, Jorge No- cedal, Mikhail Smelyanskiy, and Ping Tak Peter Tang. On large-batch training for deep learning: Generaliza- tion gap and sharp minima. International Conference on Learning Representations, 2017.
- Ilya Loshchilov and Frank Hutter. Sgdr: stochastic gra- dient descent with restarts. International Conference on Learning Representations, 2017.
Cited by
Items 1,001–1,006 of 1,006
Self-distilled Self-supervised Depth Estimation in Monocular Videos
Mendoza, J., & Pedrini, H. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-09037-0_35 · Cited by 2
Gupta, A., Joshi, R. M., Tambe, S., Laban, R. M., Tandlekar, G., & Chitre, V. (2022) · International Conference for Emerging Technology (INCET) · doi:10.1109/incet54531.2022.9824562 · Cited by 2
Marcus, A. P., Bentley, P., & Rueckert, D. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-17899-3_6 · Cited by 3
PASPP Medical Transformer for Medical Image Segmentation
Lai, H.-P., Tran, T.-T., & Pham, V.-T. (2023) · Lecture notes in networks and systems · doi:10.1007/978-981-19-6631-6_31 · Cited by 2
AIRA_2: Overcoming Bottlenecks in AI Research Agents
Hambardzumyan, K., Baldwin, N., Toledo, E., Hazra, R., Kuchnik, M., Omari, B. A., Foster, T. S., Protopopov, A., Gagnon-Audet, J.-C., Mediratta, I., et al. (2026) · arXiv · doi:10.48550/arxiv.2603.26499 · Cited by 1
“By solving these fundamental engineering challenges, we move closer to agents that can reliably generate novel knowledge in domains beyond standard benchmarks.”
MergeMix: Optimizing Mid-Training Data Mixtures via Learnable Model Merging
Wang, J., Tian, C., Chen, K., Liu, Z., Mao, J., Zhao, W. X., Zhang, Z., & Zhou, J. (2026) · arXiv · doi:10.48550/arxiv.2601.17858
“For all these operations, we employ standard element-wise arithmetic averaging (Izmailov et al., 2018) across all model parameters, including the attention layers, MLP layers, expert weights, and the router/gate parameters, without requiring additional alignment steps.”
Metadata
- Authors
- Izmailov, P., Podoprikhin, D., Garipov, T., Vetrov, D., & Wilson, A. G.
- Affiliations
- Cornell University (US)
- National Research University Higher School of Economics (RU)
- Lomonosov Moscow State University (RU)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2018
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 1803.05407
- OpenAlex
- W2792287754
- Semantic Scholar
- b8989afff14fb630ca58b6afa917fb42574228ee
- Cited by
- 1,409
- References
- 23
- Citations by year
- 2026: 187 · 2025: 232 · 2024: 251 · 2023: 241 · 2022: 196 · 2021: 152 · 2020: 92 · 2019: 41 · 2018: 17
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- National Science Foundation (1563887)
- Russian Science Foundation (17-11-01027, 17-11-)
- Samsung
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Stochastic Gradient Optimization Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Data Classification
- Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
- Keywords
- stochastic weight averaging, generalization, flat minima, ensemble learning, ResNet, learning rate scheduling, image classification
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.