mlsanityData to 7 Oct 2026

Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization

arXiv 2212.10445 ↗First posted 20 Dec 2022cs.LG cs.AI cs.CVcited by 97

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  6. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  7. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  8. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  9. 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
  10. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  11. 2019Invariant Risk Minimizationcited by 1,832
  12. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
38 more
  1. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  2. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  3. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  4. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
  5. 2022Editing Models with Task Arithmeticcited by 1,076
  6. 2020In Search of Lost Domain Generalizationcited by 1,042
  7. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  8. 2021Robust fine-tuning of zero-shot modelscited by 785
  9. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  10. 2018Recognition in Terra Incognitacited by 655
  11. 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
  12. 2021Merging Models with Fisher-Weighted Averagingcited by 613
  13. 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
  14. 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
  15. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
  16. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
  17. 2015Return of Frustratingly Easy Domain Adaptationcited by 389
  18. 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 384
  19. 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 374
  20. 2019A Survey on Federated Learning Systems: Vision, Hype and Reality for Data Privacy and Protectioncited by 371
  21. 2020What is being transferred in transfer learning?cited by 365
  22. 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
  23. 2018Essentially No Barriers in Neural Network Energy Landscapecited by 328
  24. 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 285
  25. 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
  26. 2019Uniform convergence may be unable to explain generalization in deep learningcited by 223
  27. 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
  28. 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
  29. 2022Patching open-vocabulary models by interpolating weightscited by 187
  30. 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
  31. 2020Linear Mode Connectivity in Multitask and Continual Learningcited by 144
  32. 2021Ensemble of Averages: Improving Model Selection and Boosting Performance in Domain Generalizationcited by 144
  33. 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 137
  34. 2020Intermediate-Task Transfer Learning with Pretrained Models for Natural Language Understanding: When and Why Does It Work?cited by 127
  35. 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repaircited by 119
  36. 2022Fusing finetuned models for better pretrainingcited by 110
  37. 2020The Effect of Natural Distribution Shift on Question Answering Modelscited by 104
  38. 2021Exploring the Limits of Large Scale Pre-trainingcited by 104

50 most cited of 78 All 78 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 16; 2024: 38; 2025: 32; 2026: 11.

97 papers.

Sort:

By area:

  1. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
  2. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
  3. 2023Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardscited by 232
  4. 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
  5. 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 189
  6. 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
  7. 2023Model Breadcrumbs: Scaling Multi-Task Model Merging with Sparse Maskscited by 130
  8. 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 108
  9. 2023Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policycited by 104
  10. 2023Deep Model Fusion: A Surveycited by 89
  11. 2024Towards Modular LLMs by Building and Reusing a Library of LoRAscited by 72
  12. 2024Personalized Pieces: Efficient Personalized Large Language Models through Collaborative Effortscited by 71
38 more
  1. 2024Learning to Route Among Specialized Experts for Zero-Shot Generalizationcited by 65
  2. 2024MetaGPT: Merging Large Language Models Using Model Exclusive Task Arithmeticcited by 53
  3. 2024What Matters for Model Merging at Scale?cited by 52
  4. 2023UnIVAL: Unified Model for Image, Video, Audio and Language Taskscited by 44
  5. 2024WARP: On the Benefits of Weight Averaged Rewarded Policiescited by 42
  6. 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classificationcited by 41
  7. 2024LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Mergingcited by 39
  8. 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformerscited by 38
  9. 2023Early Weight Averaging meets High Learning Rates for LLM Pre-trainingcited by 36
  10. 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
  11. 2024Advances and Open Challenges in Federated Foundation Modelscited by 33
  12. 2024On the Out-Of-Distribution Generalization of Multimodal Large Language Modelscited by 30
  13. 2025Activation-Informed Merging of Large Language Modelscited by 29
  14. 2023Spurious Feature Diversification Improves Out-of-distribution Generalizationcited by 26
  15. 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunchcited by 26
  16. 2024On the Emergence of Cross-Task Linearity in the Pretraining-Finetuning Paradigmcited by 25
  17. 2024UNIC: Universal Classification Models via Multi-teacher Distillationcited by 24
  18. 2023Rethinking the Evaluation Protocol of Domain Generalizationcited by 20
  19. 2024A Survey on Evaluation of Out-of-Distribution Generalizationcited by 20
  20. 2024Layer Swapping for Zero-Shot Cross-Lingual Transfer in Large Language Modelscited by 20
  21. 2024DaWin: Training-free Dynamic Weight Interpolation for Robust Adaptationcited by 19
  22. 2023ComPEFT: Compression for Communicating Parameter Efficient Updates via Sparsification and Quantizationcited by 18
  23. 2023Merging Vision Transformers from Different Tasks and Domainscited by 17
  24. 2025Update Your Transformer to the Latest Release: Re-Basin of Task Vectorscited by 17
  25. 2024Dual Consolidation for Pre-Trained Model-Based Domain-Incremental Learningcited by 16
  26. 2025Efficient Model Editing with Task-Localized Sparse Fine-tuningcited by 16
  27. 2024DMoERM: Recipes of Mixture-of-Experts for Effective Reward Modelingcited by 15
  28. 2024HYPO: Hyperspherical Out-of-Distribution Generalizationcited by 13
  29. 2024Task Prompt Vectors: Effective Initialization through Multi-Task Soft-Prompt Transfercited by 13
  30. 2024QT-DoG: Quantization-aware Training for Domain Generalizationcited by 13
  31. 2025Soup to go: mitigating forgetting during continual learning with model averagingcited by 11
  32. 2024Does Combining Parameter-efficient Modules Improve Few-shot Transfer Accuracy?cited by 9
  33. 2025Subspace-Boosted Model Mergingcited by 9
  34. 2024HCVP: Leveraging Hierarchical Contrastive Visual Prompt for Domain Generalizationcited by 8
  35. 2023Partial Fine-Tuning: A Successor to Full Fine-Tuning for Vision Transformerscited by 7
  36. 2024AHA: Human-Assisted Out-of-Distribution Generalization and Detectioncited by 7
  37. 2025Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDPcited by 7
  38. 2024DPStyler: Dynamic PromptStyler for Source-Free Domain Generalizationcited by 6

50 most cited of 97 All 97 (JSON)