mlsanityData to 7 Oct 2026

Diverse Weight Averaging for Out-of-Distribution Generalization

arXiv 2205.09739 ↗First posted 19 May 2022cs.CV cs.AI cs.LGcited by 148

Not on the map. Why?

Abstract (arXiv)

Standard neural networks struggle to generalize under distribution shifts in computer vision. Fortunately, combining multiple networks can consistently improve out-of-distribution generalization. In particular, weight averaging (WA) strategies were shown to perform best on the competitive DomainBed benchmark; they directly average the weights of multiple networks despite their nonlinearities. In this paper, we propose Diverse Weight Averaging (DiWA), a new WA strategy whose main motivation is to increase the functional diversity across averaged models. To this end, DiWA averages weights obtained from several independent training runs: indeed, models obtained from different runs are more diverse than those collected along a single run thanks to differences in hyperparameters and training procedures. We motivate the need for diversity by a new bias-variance-covariance-locality decomposition of the expected error, exploiting similarities between WA and standard functional ensembling. Moreover, this decomposition highlights that WA succeeds when the variance term dominates, which we show occurs when the marginal distribution changes at test time. Experimentally, DiWA consistently improves the state of the art on DomainBed without inference overhead.

Key facts. Cited by 148 papers in the map (data through 7 Oct 2026). Builds on 78 of its 124 references that are in the map. First posted on arXiv 19 May 2022.

Builds on

78 of 124 references.

References · 78

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  5. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  6. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  7. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  8. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  9. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
  10. 2019Invariant Risk Minimizationcited by 1,832
  11. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
  12. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
38 more
  1. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  2. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  3. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  4. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
  5. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  6. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
  7. 2020In Search of Lost Domain Generalizationcited by 1,042
  8. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  9. 2021Robust fine-tuning of zero-shot modelscited by 785
  10. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
  11. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  12. 2018Recognition in Terra Incognitacited by 655
  13. 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
  14. 2013Domain Generalization via Invariant Feature Representationcited by 622
  15. 2017Deep Neural Networks as Gaussian Processescited by 617
  16. 2021Merging Models with Fisher-Weighted Averagingcited by 613
  17. 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 585
  18. 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 555
  19. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 533
  20. 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
  21. 2017Sharp Minima Can Generalize For Deep Netscited by 462
  22. 2019Deep Ensembles: A Loss Landscape Perspectivecited by 438
  23. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
  24. 2015Return of Frustratingly Easy Domain Adaptationcited by 389
  25. 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
  26. 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 374
  27. 2020What is being transferred in transfer learning?cited by 365
  28. 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
  29. 2019Lookahead Optimizer: k steps forward, 1 step backcited by 333
  30. 2018Essentially No Barriers in Neural Network Energy Landscapecited by 328
  31. 2019PyHessian: Neural Networks Through the Lens of the Hessiancited by 291
  32. 2019Uniform convergence may be unable to explain generalization in deep learningcited by 223
  33. 2019Improving Adversarial Robustness via Promoting Ensemble Diversitycited by 213
  34. 2020Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learningcited by 208
  35. 2016Demographic Dialectal Variation in Social Media: A Case Study of African-American Englishcited by 194
  36. 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
  37. 2020Improve Unsupervised Domain Adaptation with Mixup Trainingcited by 185
  38. 2020Hyperparameter Ensembles for Robustness and Uncertainty Quantificationcited by 149

50 most cited of 78 All 78 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 8; 2023: 43; 2024: 49; 2025: 35; 2026: 13.

148 papers.

Sort:

By area:

  1. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
  2. 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 384
  3. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
  4. 2023Diff-Instruct: A Universal Approach for Transferring Knowledge From Pre-trained Diffusion Modelscited by 232
  5. 2023Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardscited by 232
  6. 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
  7. 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
  8. 2024Task Singular Vectors: Reducing Task Interference in Model Mergingcited by 143
  9. 2024Model merging with SVD to tie the Knotscited by 118
  10. 2023DiLoCo: Distributed Low-Communication Training of Language Modelscited by 115
  11. 2024Knowledge Fusion of Large Language Modelscited by 110
  12. 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalizationcited by 97
38 more
  1. 2023Federated Learning for Generalization, Robustness, Fairness: A Survey and Benchmarkcited by 97
  2. 2023Deep Model Fusion: A Surveycited by 89
  3. 2022Mechanistic Mode Connectivitycited by 50
  4. 2023UnIVAL: Unified Model for Image, Video, Audio and Language Taskscited by 44
  5. 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Modelscited by 43
  6. 2024WARP: On the Benefits of Weight Averaged Rewarded Policiescited by 42
  7. 2024Conditional Language Policy: A General Framework for Steerable Multi-Objective Finetuningcited by 42
  8. 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biasescited by 41
  9. 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classificationcited by 41
  10. 2023Weighted Ensemble Models Are Strong Continual Learnerscited by 41
  11. 2024LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Mergingcited by 39
  12. 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformerscited by 38
  13. 2023Early Weight Averaging meets High Learning Rates for LLM Pre-trainingcited by 36
  14. 2023Understanding and Improving Feature Learning for Out-of-Distribution Generalizationcited by 35
  15. 2023HGFormer: Hierarchical Grouping Transformer for Domain Generalized Semantic Segmentationcited by 31
  16. 2024On the Out-Of-Distribution Generalization of Multimodal Large Language Modelscited by 30
  17. 2024Approaching Deep Learning through the Spectral Dynamics of Weightscited by 29
  18. 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
  19. 2024Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligencecited by 27
  20. 2023Discovering environments with XRMcited by 26
  21. 2023Spurious Feature Diversification Improves Out-of-distribution Generalizationcited by 26
  22. 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunchcited by 26
  23. 2024On the Emergence of Cross-Task Linearity in the Pretraining-Finetuning Paradigmcited by 25
  24. 2023Proving Linear Mode Connectivity of Neural Networks via Optimal Transportcited by 24
  25. 2024UNIC: Universal Classification Models via Multi-teacher Distillationcited by 24
  26. 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shiftscited by 23
  27. 2023PopulAtion Parameter Averaging (PAPA)cited by 23
  28. 2024Rethinking Multi-domain Generalization with A General Learning Objectivecited by 23
  29. 2024How to Merge Your Multimodal Models Over Time?cited by 23
  30. 2024On Provable Length and Compositional Generalizationcited by 22
  31. 2024Configurable Foundation Models: Building LLMs from a Modular Perspectivecited by 22
  32. 2023A Closer Look at Model Adaptation using Feature Distortion and Simplicity Biascited by 20
  33. 2023Sparse Model Soups: A Recipe for Improved Pruning via Model Averagingcited by 20
  34. 2024A Survey on Evaluation of Out-of-Distribution Generalizationcited by 20
  35. 2023ERM++: An Improved Baseline for Domain Generalizationcited by 18
  36. 2024StyleRemix: Interpretable Authorship Obfuscation via Distillation and Perturbation of Style Elementscited by 18
  37. 2023Merging Vision Transformers from Different Tasks and Domainscited by 17
  38. 2025Update Your Transformer to the Latest Release: Re-Basin of Task Vectorscited by 17

50 most cited of 148 All 148 (JSON)