Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization
Not on the map. Why?
Abstract (arXiv)
Foundation models are redefining how AI systems are built. Practitioners now follow a standard procedure to build their machine learning solutions: from a pre-trained foundation model, they fine-tune the weights on the target task of interest. So, the Internet is swarmed by a handful of foundation models fine-tuned on many diverse tasks: these individual fine-tunings exist in isolation without benefiting from each other. In our opinion, this is a missed opportunity, as these specialized models contain rich and diverse features. In this paper, we thus propose model ratatouille, a new strategy to recycle the multiple fine-tunings of the same foundation model on diverse auxiliary tasks. Specifically, we repurpose these auxiliary weights as initializations for multiple parallel fine-tunings on the target task; then, we average all fine-tuned weights to obtain the final model. This recycling strategy aims at maximizing the diversity in weights by leveraging the diversity in auxiliary tasks. Empirically, it improves the state of the art on the reference DomainBed benchmark for out-of-distribution generalization. Looking forward, this work contributes to the emerging paradigm of updatable machine learning where, akin to open-source software development, the community collaborates to reliably update machine learning models. Our code is released: https://github.com/facebookresearch/ModelRatatouille.
Key facts. Cited by 97 papers in the map (data through 7 Oct 2026). Builds on 78 of its 117 references that are in the map. First posted on arXiv 20 Dec 2022.
Builds on
78 of 117 references.
References · 78
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2019Invariant Risk Minimizationcited by 1,832
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
38 more
- 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
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
- 2022Editing Models with Task Arithmeticcited by 1,076
- 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
- 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
- 2021Merging Models with Fisher-Weighted Averagingcited by 613
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
- 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
- 2015Return of Frustratingly Easy Domain Adaptationcited by 389
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 384
- 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 374
- 2019A Survey on Federated Learning Systems: Vision, Hype and Reality for Data Privacy and Protectioncited by 371
- 2020What is being transferred in transfer learning?cited by 365
- 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
- 2018Essentially No Barriers in Neural Network Energy Landscapecited by 328
- 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 285
- 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
- 2019Uniform convergence may be unable to explain generalization in deep learningcited by 223
- 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
- 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
- 2022Patching open-vocabulary models by interpolating weightscited by 187
- 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
- 2020Linear Mode Connectivity in Multitask and Continual Learningcited by 144
- 2021Ensemble of Averages: Improving Model Selection and Boosting Performance in Domain Generalizationcited by 144
- 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 137
- 2020Intermediate-Task Transfer Learning with Pretrained Models for Natural Language Understanding: When and Why Does It Work?cited by 127
- 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repaircited by 119
- 2022Fusing finetuned models for better pretrainingcited by 110
- 2020The Effect of Natural Distribution Shift on Question Answering Modelscited by 104
- 2021Exploring the Limits of Large Scale Pre-trainingcited by 104
50 most cited of 78 All 78 (JSON)
Built on by
Citing papers per year: 2023: 16; 2024: 38; 2025: 32; 2026: 11.
97 papers.
Sort:
By area:
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
- 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
- 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 189
- 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
- 2023Model Breadcrumbs: Scaling Multi-Task Model Merging with Sparse Maskscited by 130
- 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 108
- 2023Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policycited by 104
- 2023Deep Model Fusion: A Surveycited by 89
- 2024Towards Modular LLMs by Building and Reusing a Library of LoRAscited by 72
- 2024Personalized Pieces: Efficient Personalized Large Language Models through Collaborative Effortscited by 71
38 more
- 2024Learning to Route Among Specialized Experts for Zero-Shot Generalizationcited by 65
- 2024MetaGPT: Merging Large Language Models Using Model Exclusive Task Arithmeticcited by 53
- 2024What Matters for Model Merging at Scale?cited by 52
- 2023UnIVAL: Unified Model for Image, Video, Audio and Language Taskscited by 44
- 2024WARP: On the Benefits of Weight Averaged Rewarded Policiescited by 42
- 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classificationcited 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
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
- 2024Advances and Open Challenges in Federated Foundation Modelscited by 33
- 2024On the Out-Of-Distribution Generalization of Multimodal Large Language Modelscited by 30
- 2025Activation-Informed Merging of Large Language Modelscited by 29
- 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
- 2024UNIC: Universal Classification Models via Multi-teacher Distillationcited by 24
- 2023Rethinking the Evaluation Protocol of Domain Generalizationcited by 20
- 2024A Survey on Evaluation of Out-of-Distribution Generalizationcited by 20
- 2024Layer Swapping for Zero-Shot Cross-Lingual Transfer in Large Language Modelscited by 20
- 2024DaWin: Training-free Dynamic Weight Interpolation for Robust Adaptationcited by 19
- 2023ComPEFT: Compression for Communicating Parameter Efficient Updates via Sparsification and Quantizationcited 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
- 2024Dual Consolidation for Pre-Trained Model-Based Domain-Incremental Learningcited by 16
- 2025Efficient Model Editing with Task-Localized Sparse Fine-tuningcited by 16
- 2024DMoERM: Recipes of Mixture-of-Experts for Effective Reward Modelingcited by 15
- 2024HYPO: Hyperspherical Out-of-Distribution Generalizationcited by 13
- 2024Task Prompt Vectors: Effective Initialization through Multi-Task Soft-Prompt Transfercited by 13
- 2024QT-DoG: Quantization-aware Training for Domain Generalizationcited by 13
- 2025Soup to go: mitigating forgetting during continual learning with model averagingcited by 11
- 2024Does Combining Parameter-efficient Modules Improve Few-shot Transfer Accuracy?cited by 9
- 2025Subspace-Boosted Model Mergingcited by 9
- 2024HCVP: Leveraging Hierarchical Contrastive Visual Prompt for Domain Generalizationcited by 8
- 2023Partial Fine-Tuning: A Successor to Full Fine-Tuning for Vision Transformerscited by 7
- 2024AHA: Human-Assisted Out-of-Distribution Generalization and Detectioncited by 7
- 2025Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDPcited by 7
- 2024DPStyler: Dynamic PromptStyler for Source-Free Domain Generalizationcited by 6
50 most cited of 97 All 97 (JSON)
- 2026Structure-agnostic Causal Representation Learning1 Oct 2026
- 2026SMAT: Simple and Efficient Merge-Aware Training27 Sep 2026
- 2026Training-Free Task Vectors for LLM Behavioral Control8 Sep 2026
- 2026Temporal Preference Optimization for Unsupervised Retrieval16 Jun 2026
- 2026Extra-Merge: Tracing the Rank-1 Subspace of Model Merging in Language Model Pre-Training26 May 2026
- 2026U-SEG: Uncertainty in SEGmentation -- A systematic multi-variable exploration14 May 2026
- 2026Bridging Domains through Subspace-Aware Model Merging6 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
- 2025Self-Ensemble Post Learning for Noisy Domain Generalization11 Dec 2025
38 more
- 2025A Systematic Study of In-the-Wild Model Merging for Large Language Models26 Nov 2025
- 2025Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP24 Oct 2025
- 2025Expert Merging in Sparse Mixture of Experts with Nash Bargaining17 Oct 2025
- 2025Measure-Theoretic Anti-Causal Representation Learning16 Oct 2025
- 2025Revisiting Mixout: An Overlooked Path to Robust Finetuning8 Oct 2025
- 2025High-Rate Mixout: Revisiting Mixout for Robust Domain Generalization8 Oct 2025
- 2025Reasoning Vectors: Transferring Chain-of-Thought Capabilities via Task Arithmetic1 Sep 2025
- 2025Efficient Multi-Source Knowledge Transfer by Model Merging26 Aug 2025
- 2025Hierarchical Adaptive networks with Task vectors for Test-Time Adaptation11 Aug 2025
- 2025Model Recycling Framework for Multi-Source Data-Free Supervised Transfer Learning4 Aug 2025
- 2025COOkeD: Ensemble-based OOD detection in the era of zero-shot CLIP30 Jul 2025
- 2025Subspace-Boosted Model Merging19 Jun 2025
- 2025Harmonizing and Merging Source Models for CLIP-based Domain Generalization11 Jun 2025
- 2025Decom-Renorm-Merge: Model Merging on the Right Space Improves Multitasking29 May 2025
- 2025Update Your Transformer to the Latest Release: Re-Basin of Task Vectors28 May 2025
- 2025FCOS: A Two-Stage Recoverable Model Pruning Framework for Automatic Modulation Recognition27 May 2025
- 2025A Model Zoo on Phase Transitions in Neural Networks25 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
- 2025A Model Zoo of Vision Transformers14 Apr 2025
- 2025The Impact of Model Zoo Size and Composition on Weight Space Learning14 Apr 2025
- 2025Efficient Model Editing with Task-Localized Sparse Fine-tuning3 Apr 2025
- 2025Invariant Federated Learning for Edge Intelligence: Mitigating Heterogeneity and Asynchrony via Exit Strategy and Invariant Penalty8 Mar 2025
- 2025Generalizable Prompt Learning of CLIP: A Brief Overview3 Mar 2025
- 2025CAMEx: Curvature-aware Merging of Experts26 Feb 2025
- 2025Propagation of Chaos for Mean-Field Langevin Dynamics and its Application to Model Ensemble9 Feb 2025
- 2025Activation-Informed Merging of Large Language Models4 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
- 2025Soup to go: mitigating forgetting during continual learning with model averaging9 Jan 2025
- 2025Vision Transformer Neural Architecture Search for Out-of-Distribution Generalization: Benchmark and Insights7 Jan 2025
- 2024Parameter-Efficient Interventions for Enhanced Model Merging22 Dec 2024
- 2024Improving OOD Generalization of Pre-trained Encoders via Aligned Embedding-Space Ensembles20 Nov 2024
- 2024MoD: A Distribution-Based Approach for Merging Large Language Models1 Nov 2024
- 2024'No' Matters: Out-of-Distribution Detection in Multimodality Long Dialogue31 Oct 2024
- 2024LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Merging22 Oct 2024
- 2024AHA: Human-Assisted Out-of-Distribution Generalization and Detection10 Oct 2024
- 2024QT-DoG: Quantization-aware Training for Domain Generalization8 Oct 2024
50 newest of 97 All 97 (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
- 2024DMoERM: Recipes of Mixture-of-Experts for Effective Reward Modelingcited by 15
- 2024Out-of-Distribution Learning with Human Feedbackcited by 6
- 2024Out-of-Distribution Learning with Human Feedback14 Aug 2024
- 2024WARP: On the Benefits of Weight Averaged Rewarded Policies24 Jun 2024
- 2024DMoERM: Recipes of Mixture-of-Experts for Effective Reward Modeling2 Mar 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
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
- 2024On the Out-Of-Distribution Generalization of Multimodal Large Language Modelscited by 30
- 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
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Models3 Nov 2023
- 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classification12 Oct 2023
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
- 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
- 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 189
- 2023Model Breadcrumbs: Scaling Multi-Task Model Merging with Sparse Maskscited by 130
- 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 108
- 2023Deep Model Fusion: A Surveycited by 89
- 2024Towards Modular LLMs by Building and Reusing a Library of LoRAscited by 72
- 2024Personalized Pieces: Efficient Personalized Large Language Models through Collaborative Effortscited by 71
- 2024Learning to Route Among Specialized Experts for Zero-Shot Generalizationcited by 65
- 2024MetaGPT: Merging Large Language Models Using Model Exclusive Task Arithmeticcited by 53
- 2024What Matters for Model Merging at Scale?cited by 52
12 most cited of 84 All 84 (JSON)
- 2026Structure-agnostic Causal Representation Learning1 Oct 2026
- 2026SMAT: Simple and Efficient Merge-Aware Training27 Sep 2026
- 2026Training-Free Task Vectors for LLM Behavioral Control8 Sep 2026
- 2026Temporal Preference Optimization for Unsupervised Retrieval16 Jun 2026
- 2026Extra-Merge: Tracing the Rank-1 Subspace of Model Merging in Language Model Pre-Training26 May 2026
- 2026U-SEG: Uncertainty in SEGmentation -- A systematic multi-variable exploration14 May 2026
- 2026Bridging Domains through Subspace-Aware Model Merging6 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
- 2025Self-Ensemble Post Learning for Noisy Domain Generalization11 Dec 2025
12 newest of 84 All 84 (JSON)