Merging by Matching Models in Task Parameter Subspaces
Not on the map. Why?
Abstract (arXiv)
Model merging aims to cheaply combine individual task-specific models into a single multitask model. In this work, we view past merging methods as leveraging different notions of a ''task parameter subspace'' in which models are matched before being merged. We connect the task parameter subspace of a given model to its loss landscape and formalize how this approach to model merging can be seen as solving a linear system of equations. While past work has generally been limited to linear systems that have a closed-form solution, we consider using the conjugate gradient method to find a solution. We show that using the conjugate gradient method can outperform closed-form solutions, enables merging via linear systems that are otherwise intractable to solve, and flexibly allows choosing from a wide variety of initializations and estimates for the ''task parameter subspace''. We ultimately demonstrate that our merging framework called ''Matching Models in their Task Parameter Subspace'' (MaTS) achieves state-of-the-art results in multitask and intermediate-task model merging. We release all of the code and checkpoints used in our work at https://github.com/r-three/mats.
Key facts. Cited by 36 papers in the map (data through 14 Oct 2026). Builds on 69 of its 99 references that are in the map. First posted on arXiv 7 Dec 2023.
Builds on
69 of 99 references.
References · 69
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2013Describing Textures in the Wildcited by 2,125
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
38 more
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2022Editing Models with Task Arithmeticcited by 1,120
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
- 2021Robust fine-tuning of zero-shot modelscited by 797
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 796
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 637
- 2021Merging Models with Fisher-Weighted Averagingcited by 621
- 2018Local SGD Converges Fast and Communicates Littlecited by 605
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 588
- 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 560
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 471
- 2014New insights and perspectives on the natural gradient methodcited by 443
- 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
- 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 387
- 2020What is being transferred in transfer learning?cited by 368
- 2018Essentially No Barriers in Neural Network Energy Landscapecited by 330
- 2023Studying Large Language Model Generalization with Influence Functionscited by 326
- 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 291
- 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 289
- 2019Cosmos QA: Machine Reading Comprehension with Contextual Commonsense Reasoningcited by 285
- 2019QASC: A Dataset for Question Answering via Sentence Compositioncited by 252
- 2019Uniform convergence may be unable to explain generalization in deep learningcited by 224
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 221
- 2019Model Fusion via Optimal Transportcited by 219
- 2019Limitations of the Empirical Fisher Approximation for Natural Gradient Descentcited by 217
- 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 215
- 2014Qualitatively characterizing neural network optimization problemscited by 188
- 2023ZipIt! Merging Models from Different Tasks without Trainingcited by 179
- 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 146
- 2016A Kronecker-factored approximate Fisher matrix for convolution layerscited by 141
- 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repaircited by 120
- 2022Fusing finetuned models for better pretrainingcited by 110
- 2019Subspace Inference for Bayesian Deep Learningcited by 95
- 2019QuaRTz: An Open-Domain Dataset of Qualitative Relationship Questionscited by 89
- 2020Optimizing Mode Connectivity via Neuron Alignmentcited by 86
- 2021Learning Neural Network Subspacescited by 82
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2024: 10; 2025: 11; 2026: 15.
36 papers.
Sort:
By area:
- 2024Localizing Task Information for Improved Model Merging and Compressioncited by 131
- 2024What Matters for Model Merging at Scale?cited by 55
- 2024LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Mergingcited by 41
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024Online Merging Optimizers for Boosting Rewards and Mitigating Tax in Alignmentcited by 28
- 2024How to Merge Your Multimodal Models Over Time?cited by 23
- 2024Mix Data or Merge Models? Optimizing for Diverse Multi-Task Learningcited by 17
- 2024Mitigating the Backdoor Effect for Multi-Task Model Merging via Safety-Aware Subspacecited by 14
- 2025Fishers for Free? Approximating the Fisher Information Matrix by Recycling the Squared Gradient Accumulatorcited by 14
- 2024FusionBench: A Unified Library and Comprehensive Benchmark for Deep Model Fusioncited by 13
- 2025Subspace-Boosted Model Mergingcited by 9
- 2025Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDPcited by 7
24 more
- 2025Rethinking Layer-wise Model Merging through Chain of Mergescited by 5
- 2025A Systematic Study of In-the-Wild Model Merging for Large Language Modelscited by 5
- 2026FeatCal: Feature Calibration for Post-Merging Modelscited by 5
- 2025From Memorization to Parameter Interference: How Overtraining Experts Harms Model Mergingcited by 4
- 2026SimMerge: Learning to Select Merge Operators from Similarity Signalscited by 4
- 2026Label-Free Cross-Task LoRA Merging with Null-Space Compressioncited by 4
- 2025Learning Composable Chains-of-Thoughtcited by 3
- 2025Merging Smarter, Generalizing Better: Enhancing Model Merging on OOD Datacited by 3
- 2024Exploring Model Kinship for Merging Large Language Modelscited by 2
- 2025Defending Unauthorized Model Merging via Dual-Stage Weight Protectioncited by 2
- 2026Preference-Aligned LoRA Merging: Preserving Subspace Coverage and Addressing Directional Anisotropycited by 2
- 2026Enough is as good as a feast: A Comprehensive Analysis of How Reinforcement Learning Mitigates Task Conflicts in LLMscited by 2
- 2025Single-Input Multi-Output Model Merging: Leveraging Foundation Models for Dense Multi-Task Learningcited by 1
- 2025Harnessing Optimization Dynamics for Curvature-Informed Model Mergingcited by 1
- 2026Learning Not To Interfere: Adapting Experts For Model Mergingcited by 1
- 2026Generalizing the Geometry of Model Merging Through Frechet Averagescited by 1
- 2026Rethinking Heterogeneous LLM Merging: A Weighted Model Averaging Perspectivecited by 1
- 2026When Do Task Vectors Interfere? Mapping the Validity Boundaries of Weight-Space Compositioncited by 1
- 2026Training-Free Knowledge Transfer Across Model Scales through Activation-Guided Pruningcited by 1
- 2026Communication-Efficient Personalized Adaptation via Federated-Local Model Mergingcited by 0
- 2026Trade-offs in Ensembling, Merging and Routing Among Parameter-Efficient Expertscited by 0
- 2026Model Merging via Data-Free Covariance Estimationcited by 0
- 2026Tracing and Coordinating Cross-Layer Influence for Multimodal Model Mergingcited by 0
- 2026CrossMean: Model Merging by Pairing Merged and Expert Activationscited by 0
- 2026CrossMean: Model Merging by Pairing Merged and Expert Activations10 Oct 2026
- 2026Tracing and Coordinating Cross-Layer Influence for Multimodal Model Merging11 Sep 2026
- 2026When Do Task Vectors Interfere? Mapping the Validity Boundaries of Weight-Space Composition10 Aug 2026
- 2026Training-Free Knowledge Transfer Across Model Scales through Activation-Guided Pruning31 Jul 2026
- 2026Enough is as good as a feast: A Comprehensive Analysis of How Reinforcement Learning Mitigates Task Conflicts in LLMs24 Jul 2026
- 2026Rethinking Heterogeneous LLM Merging: A Weighted Model Averaging Perspective20 Jul 2026
- 2026FeatCal: Feature Calibration for Post-Merging Models13 May 2026
- 2026Generalizing the Geometry of Model Merging Through Frechet Averages29 Apr 2026
- 2026Model Merging via Data-Free Covariance Estimation1 Apr 2026
- 2026Label-Free Cross-Task LoRA Merging with Null-Space Compression27 Mar 2026
- 2026Preference-Aligned LoRA Merging: Preserving Subspace Coverage and Addressing Directional Anisotropy27 Mar 2026
- 2026Learning Not To Interfere: Adapting Experts For Model Merging13 Mar 2026
24 more
- 2026Trade-offs in Ensembling, Merging and Routing Among Parameter-Efficient Experts3 Mar 2026
- 2026Communication-Efficient Personalized Adaptation via Federated-Local Model Merging20 Feb 2026
- 2026SimMerge: Learning to Select Merge Operators from Similarity Signals14 Jan 2026
- 2025A Systematic Study of In-the-Wild Model Merging for Large Language Models26 Nov 2025
- 2025Defending Unauthorized Model Merging via Dual-Stage Weight Protection14 Nov 2025
- 2025Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP24 Oct 2025
- 2025Harnessing Optimization Dynamics for Curvature-Informed Model Merging14 Sep 2025
- 2025Rethinking Layer-wise Model Merging through Chain of Merges29 Aug 2025
- 2025Fishers for Free? Approximating the Fisher Information Matrix by Recycling the Squared Gradient Accumulator24 Jul 2025
- 2025Subspace-Boosted Model Merging19 Jun 2025
- 2025From Memorization to Parameter Interference: How Overtraining Experts Harms Model Merging17 Jun 2025
- 2025Merging Smarter, Generalizing Better: Enhancing Model Merging on OOD Data10 Jun 2025
- 2025Learning Composable Chains-of-Thought28 May 2025
- 2025Single-Input Multi-Output Model Merging: Leveraging Foundation Models for Dense Multi-Task Learning15 Apr 2025
- 2024How to Merge Your Multimodal Models Over Time?9 Dec 2024
- 2024LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Merging22 Oct 2024
- 2024Mitigating the Backdoor Effect for Multi-Task Model Merging via Safety-Aware Subspace17 Oct 2024
- 2024Exploring Model Kinship for Merging Large Language Models16 Oct 2024
- 2024Mix Data or Merge Models? Optimizing for Diverse Multi-Task Learning14 Oct 2024
- 2024What Matters for Model Merging at Scale?4 Oct 2024
- 2024FusionBench: A Unified Library and Comprehensive Benchmark for Deep Model Fusion5 Jun 2024
- 2024Online Merging Optimizers for Boosting Rewards and Mitigating Tax in Alignment28 May 2024
- 2024How Far Are We From AGI: Are LLMs All We Need?16 May 2024
- 2024Localizing Task Information for Improved Model Merging and Compression13 May 2024
- 2026Rethinking Heterogeneous LLM Merging: A Weighted Model Averaging Perspective20 Jul 2026
- 2025Learning Composable Chains-of-Thought28 May 2025
- 2024Localizing Task Information for Improved Model Merging and Compressioncited by 131
- 2024What Matters for Model Merging at Scale?cited by 55
- 2024LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Mergingcited by 41
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024How to Merge Your Multimodal Models Over Time?cited by 23
- 2024Mix Data or Merge Models? Optimizing for Diverse Multi-Task Learningcited by 17
- 2024Mitigating the Backdoor Effect for Multi-Task Model Merging via Safety-Aware Subspacecited by 14
- 2025Fishers for Free? Approximating the Fisher Information Matrix by Recycling the Squared Gradient Accumulatorcited by 14
- 2024FusionBench: A Unified Library and Comprehensive Benchmark for Deep Model Fusioncited by 13
- 2025Subspace-Boosted Model Mergingcited by 9
- 2025Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDPcited by 7
- 2025Rethinking Layer-wise Model Merging through Chain of Mergescited by 5
12 most cited of 33 All 33 (JSON)
- 2026CrossMean: Model Merging by Pairing Merged and Expert Activations10 Oct 2026
- 2026Tracing and Coordinating Cross-Layer Influence for Multimodal Model Merging11 Sep 2026
- 2026When Do Task Vectors Interfere? Mapping the Validity Boundaries of Weight-Space Composition10 Aug 2026
- 2026Training-Free Knowledge Transfer Across Model Scales through Activation-Guided Pruning31 Jul 2026
- 2026Enough is as good as a feast: A Comprehensive Analysis of How Reinforcement Learning Mitigates Task Conflicts in LLMs24 Jul 2026
- 2026FeatCal: Feature Calibration for Post-Merging Models13 May 2026
- 2026Generalizing the Geometry of Model Merging Through Frechet Averages29 Apr 2026
- 2026Model Merging via Data-Free Covariance Estimation1 Apr 2026
- 2026Label-Free Cross-Task LoRA Merging with Null-Space Compression27 Mar 2026
- 2026Preference-Aligned LoRA Merging: Preserving Subspace Coverage and Addressing Directional Anisotropy27 Mar 2026
- 2026Learning Not To Interfere: Adapting Experts For Model Merging13 Mar 2026
- 2026Trade-offs in Ensembling, Merging and Routing Among Parameter-Efficient Experts3 Mar 2026
12 newest of 33 All 33 (JSON)