Diverse Weight Averaging for Out-of-Distribution Generalization
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2019Invariant Risk Minimizationcited by 1,832
- 2019Similarity of Neural Network Representations Revisitedcited by 1,695
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
38 more
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2018Recognition in Terra Incognitacited by 655
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
- 2013Domain Generalization via Invariant Feature Representationcited by 622
- 2017Deep Neural Networks as Gaussian Processescited by 617
- 2021Merging Models with Fisher-Weighted Averagingcited by 613
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 585
- 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 555
- 2015Causal inference using invariant prediction: identification and confidence intervalscited by 533
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
- 2017Sharp Minima Can Generalize For Deep Netscited by 462
- 2019Deep Ensembles: A Loss Landscape Perspectivecited by 438
- 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
- 2015Return of Frustratingly Easy Domain Adaptationcited by 389
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
- 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 374
- 2020What is being transferred in transfer learning?cited by 365
- 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
- 2019Lookahead Optimizer: k steps forward, 1 step backcited by 333
- 2018Essentially No Barriers in Neural Network Energy Landscapecited by 328
- 2019PyHessian: Neural Networks Through the Lens of the Hessiancited by 291
- 2019Uniform convergence may be unable to explain generalization in deep learningcited by 223
- 2019Improving Adversarial Robustness via Promoting Ensemble Diversitycited by 213
- 2020Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learningcited by 208
- 2016Demographic Dialectal Variation in Social Media: A Case Study of African-American Englishcited by 194
- 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
- 2020Improve Unsupervised Domain Adaptation with Mixup Trainingcited by 185
- 2020Hyperparameter Ensembles for Robustness and Uncertainty Quantificationcited by 149
50 most cited of 78 All 78 (JSON)
Built on by
Citing papers per year: 2022: 8; 2023: 43; 2024: 49; 2025: 35; 2026: 13.
148 papers.
Sort:
By area:
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 384
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
- 2023Diff-Instruct: A Universal Approach for Transferring Knowledge From Pre-trained Diffusion Modelscited by 232
- 2023Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardscited by 232
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
- 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
- 2024Task Singular Vectors: Reducing Task Interference in Model Mergingcited by 143
- 2024Model merging with SVD to tie the Knotscited by 118
- 2023DiLoCo: Distributed Low-Communication Training of Language Modelscited by 115
- 2024Knowledge Fusion of Large Language Modelscited by 110
- 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalizationcited by 97
38 more
- 2023Federated Learning for Generalization, Robustness, Fairness: A Survey and Benchmarkcited by 97
- 2023Deep Model Fusion: A Surveycited by 89
- 2022Mechanistic Mode Connectivitycited by 50
- 2023UnIVAL: Unified Model for Image, Video, Audio and Language Taskscited by 44
- 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Modelscited by 43
- 2024WARP: On the Benefits of Weight Averaged Rewarded Policiescited by 42
- 2024Conditional Language Policy: A General Framework for Steerable Multi-Objective Finetuningcited by 42
- 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biasescited by 41
- 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classificationcited by 41
- 2023Weighted Ensemble Models Are Strong Continual Learnerscited by 41
- 2024LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Mergingcited by 39
- 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformerscited by 38
- 2023Early Weight Averaging meets High Learning Rates for LLM Pre-trainingcited by 36
- 2023Understanding and Improving Feature Learning for Out-of-Distribution Generalizationcited by 35
- 2023HGFormer: Hierarchical Grouping Transformer for Domain Generalized Semantic Segmentationcited by 31
- 2024On the Out-Of-Distribution Generalization of Multimodal Large Language Modelscited by 30
- 2024Approaching Deep Learning through the Spectral Dynamics of Weightscited by 29
- 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
- 2024Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligencecited by 27
- 2023Discovering environments with XRMcited by 26
- 2023Spurious Feature Diversification Improves Out-of-distribution Generalizationcited by 26
- 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunchcited by 26
- 2024On the Emergence of Cross-Task Linearity in the Pretraining-Finetuning Paradigmcited by 25
- 2023Proving Linear Mode Connectivity of Neural Networks via Optimal Transportcited by 24
- 2024UNIC: Universal Classification Models via Multi-teacher Distillationcited by 24
- 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shiftscited by 23
- 2023PopulAtion Parameter Averaging (PAPA)cited by 23
- 2024Rethinking Multi-domain Generalization with A General Learning Objectivecited by 23
- 2024How to Merge Your Multimodal Models Over Time?cited by 23
- 2024On Provable Length and Compositional Generalizationcited by 22
- 2024Configurable Foundation Models: Building LLMs from a Modular Perspectivecited by 22
- 2023A Closer Look at Model Adaptation using Feature Distortion and Simplicity Biascited by 20
- 2023Sparse Model Soups: A Recipe for Improved Pruning via Model Averagingcited by 20
- 2024A Survey on Evaluation of Out-of-Distribution Generalizationcited by 20
- 2023ERM++: An Improved Baseline for Domain Generalizationcited by 18
- 2024StyleRemix: Interpretable Authorship Obfuscation via Distillation and Perturbation of Style Elementscited by 18
- 2023Merging Vision Transformers from Different Tasks and Domainscited by 17
- 2025Update Your Transformer to the Latest Release: Re-Basin of Task Vectorscited by 17
50 most cited of 148 All 148 (JSON)
- 2026Beyond Interaction Capacity: Estimator Scaling with Recursive Models for CTR Prediction29 Sep 2026
- 2026QAM: Quadratic-Accurate Checkpoint Merging via Sequential Consistency28 Sep 2026
- 2026An Empirical Study and Open Testbed for Federated Fine-Tuning of Vision-Language-Action Models19 Sep 2026
- 2026Diffract: Spectral View of LLM Domain Adaptation11 Aug 2026
- 2026Enough is as good as a feast: A Comprehensive Analysis of How Reinforcement Learning Mitigates Task Conflicts in LLMs24 Jul 2026
- 2026Are we Merging the Right Models? Impact of Expert Training Duration on Model Merging for LLMs13 Jul 2026
- 2026Post-Hoc Merging is Not Enough: Many-Shot Model Merging with Loss-Gap Balancing15 Jun 2026
- 2026Resolving Interference (RI): Disentangling Models for Improved Model Merging13 Mar 2026
- 2026LCA: Local Classifier Alignment for Continual Learning10 Mar 2026
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imaging24 Feb 2026
- 2026Model soups need only one ingredient10 Feb 2026
- 2026Fine-Grained Model Merging via Modular Expert Recombination6 Feb 2026
38 more
- 2026Self-Soupervision: Cooking Model Soups without Labels2 Feb 2026
- 2025Self-Ensemble Post Learning for Noisy Domain Generalization11 Dec 2025
- 2025HAROOD: A Benchmark for Out-of-distribution Generalization in Sensor-based Human Activity Recognition11 Dec 2025
- 2025Contrast transfer functions help quantify neural network out-of-distribution generalization in HRTEM9 Dec 2025
- 2025PISA: Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs27 Nov 2025
- 2025A Systematic Study of In-the-Wild Model Merging for Large Language Models26 Nov 2025
- 2025Souper-Model: How Simple Arithmetic Unlocks State-of-the-Art LLM Performance17 Nov 2025
- 2025LT-Soups: Bridging Head and Tail Classes via Subsampled Model Soups11 Nov 2025
- 2025Backdoor Unlearning by Linear Task Decomposition16 Oct 2025
- 2025Backdoor Vectors: a Task Arithmetic View on Backdoor Attacks and Defenses9 Oct 2025
- 2025Revisiting Mixout: An Overlooked Path to Robust Finetuning8 Oct 2025
- 2025High-Rate Mixout: Revisiting Mixout for Robust Domain Generalization8 Oct 2025
- 2025MorphGen: Morphology-Guided Representation Learning for Robust Single-Domain Generalization in Histopathological Cancer Classification30 Aug 2025
- 2025UNIFORM: Unifying Knowledge from Large-scale and Diverse Pre-trained Models27 Aug 2025
- 2025Modular Delta Merging with Orthogonal Constraints: A Scalable Framework for Continual and Reversible Model Composition28 Jul 2025
- 2025Incorporating Interventional Independence Improves Robustness against Interventional Distribution Shift7 Jul 2025
- 2025Subspace-Boosted Model Merging19 Jun 2025
- 2025Dealing with the Evil Twins: Improving Random Augmentation by Addressing Catastrophic Forgetting of Diverse Augmentations9 Jun 2025
- 2025Understanding Overadaptation in Supervised Fine-Tuning: The Role of Ensemble Methods2 Jun 2025
- 2025Decom-Renorm-Merge: Model Merging on the Right Space Improves Multitasking29 May 2025
- 2025Enabling Flexible Multi-LLM Integration for Scalable Knowledge Aggregation28 May 2025
- 2025Update Your Transformer to the Latest Release: Re-Basin of Task Vectors28 May 2025
- 2025CodeMerge: Codebook-Guided Model Merging for Robust Test-Time Adaptation in Autonomous Driving22 May 2025
- 2025Merge to Mix: Mixing Datasets via Model Merging21 May 2025
- 2025PEER pressure: Model-to-Model Regularization for Single Source Domain Generalization19 May 2025
- 2025ParamDelta for Direct Weight Mixing: Post-Train Large Language Model at Zero Cost23 Apr 2025
- 2025DERD-Net: Learning Depth from Event-based Ray Densities22 Apr 2025
- 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformers15 Apr 2025
- 2025Leveraging Submodule Linearity Enhances Task Arithmetic Performance in LLMs15 Apr 2025
- 2025Efficient Multi-Task Modeling through Automated Fusion of Trained Models14 Apr 2025
- 2025Balanced Direction from Multifarious Choices: Arithmetic Meta-Learning for Domain Generalization23 Mar 2025
- 2025Generalizable Prompt Learning of CLIP: A Brief Overview3 Mar 2025
- 2025Low-rank bias, weight decay, and model merging in neural networks24 Feb 2025
- 2025Why Domain Generalization Fail? A View of Necessity and Sufficiency15 Feb 2025
- 2025Soup-of-Experts: Pretraining Specialist Models via Parameters Averaging3 Feb 2025
- 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunch30 Jan 2025
- 2024Parameter-Efficient Interventions for Enhanced Model Merging22 Dec 2024
- 2024How to Merge Your Multimodal Models Over Time?9 Dec 2024
50 newest of 148 All 148 (JSON)
- 2023Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardscited by 232
- 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
- 2024WARP: On the Benefits of Weight Averaged Rewarded Policiescited by 42
- 2024TS-Align: A Teacher-Student Collaborative Framework for Scalable Iterative Finetuning of Large Language Modelscited by 4
- 2024WARP: On the Benefits of Weight Averaged Rewarded Policies24 Jun 2024
- 2024TS-Align: A Teacher-Student Collaborative Framework for Scalable Iterative Finetuning of Large Language Models30 May 2024
- 2024WARM: On the Benefits of Weight Averaged Reward Models22 Jan 2024
- 2023Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards7 Jun 2023
- 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classificationcited by 41
- 2024On the Out-Of-Distribution Generalization of Multimodal Large Language Modelscited by 30
- 2023Robust Fine-Tuning of Vision-Language Models for Domain Generalizationcited by 7
- 2025Generalizable Prompt Learning of CLIP: A Brief Overviewcited by 3
- 2025Generalizable Prompt Learning of CLIP: A Brief Overview3 Mar 2025
- 2024On the Out-Of-Distribution Generalization of Multimodal Large Language Models9 Feb 2024
- 2023Robust Fine-Tuning of Vision-Language Models for Domain Generalization3 Nov 2023
- 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classification12 Oct 2023
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 384
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
- 2024Task Singular Vectors: Reducing Task Interference in Model Mergingcited by 143
- 2024Model merging with SVD to tie the Knotscited by 118
- 2023DiLoCo: Distributed Low-Communication Training of Language Modelscited by 115
- 2024Knowledge Fusion of Large Language Modelscited by 110
- 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalizationcited by 97
- 2023Federated Learning for Generalization, Robustness, Fairness: A Survey and Benchmarkcited by 97
- 2023Deep Model Fusion: A Surveycited by 89
- 2022Mechanistic Mode Connectivitycited by 50
12 most cited of 134 All 134 (JSON)
- 2026Beyond Interaction Capacity: Estimator Scaling with Recursive Models for CTR Prediction29 Sep 2026
- 2026QAM: Quadratic-Accurate Checkpoint Merging via Sequential Consistency28 Sep 2026
- 2026Diffract: Spectral View of LLM Domain Adaptation11 Aug 2026
- 2026Enough is as good as a feast: A Comprehensive Analysis of How Reinforcement Learning Mitigates Task Conflicts in LLMs24 Jul 2026
- 2026Are we Merging the Right Models? Impact of Expert Training Duration on Model Merging for LLMs13 Jul 2026
- 2026Post-Hoc Merging is Not Enough: Many-Shot Model Merging with Loss-Gap Balancing15 Jun 2026
- 2026Resolving Interference (RI): Disentangling Models for Improved Model Merging13 Mar 2026
- 2026LCA: Local Classifier Alignment for Continual Learning10 Mar 2026
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imaging24 Feb 2026
- 2026Model soups need only one ingredient10 Feb 2026
- 2026Fine-Grained Model Merging via Modular Expert Recombination6 Feb 2026
- 2026Self-Soupervision: Cooking Model Soups without Labels2 Feb 2026
12 newest of 134 All 134 (JSON)