Abstract
Model merging aims to build a multi-task learner by combining the parameters of individually fine-tuned models without additional training. While a straightforward approach is to average model parameters across tasks, this often results in suboptimal performance due to interference among parameters across tasks. In this paper, we present intriguing results that weight averaging implicitly induces task vectors centered around the weight averaging itself and that applying a low-rank approximation to these centered task vectors significantly improves merging performance. Our analysis shows that centering the task vectors effectively reduces task interference and most of task-specific knowledge is concentrated in the top singular vectors. Our method demonstrates robust and scalable performance on vision benchmarks across varying numbers of tasks and model sizes. Furthermore, we observe that our approach is applicable to natural language processing tasks with competitive performance.
Introduction
In the era of massive foundation models, training a single model to handle a vast array of tasks is prohibitively expensive. Model merging has emerged as a popular alternative, allowing researchers to combine several models fine-tuned from the same pre-trained starting point into a single multi-task learner. The simplest method, Weight Averaging (WA), often suffers from parameter interference, where the unique knowledge of one model acts as noise to another, leading to degraded performance. While "task arithmetic" attempts to mitigate this by using task vectors—the difference between fine-tuned and pre-trained weights—it still struggles as the number of tasks increases.
Methodology: The CART Approach
This paper introduces CART (Centered Arithmetic with Rank-reduced Task vectors), a training-free approach to model merging. CART operates on two key principles:
- Centering: Instead of calculating task vectors relative to the pre-trained weights ($\theta_0$), CART centers them around the average of all fine-tuned models ($\theta_{avg}$). These "centered task vectors" represent the specific deviations of each model from the collective mean. Mathematically, the authors demonstrate that this centering significantly reduces "row space interference," making tasks more orthogonal in the parameter space.
- Rank Reduction: By applying Singular Value Decomposition (SVD) to these centered task vectors, the authors discovered that task-specific "signal" is concentrated in the top singular vectors, while "noise" causing interference resides in the lower ones. By preserving only a small fraction of the rank, the merge is effectively de-noised.
Analysis of Task Interference
A key finding of this work is the "Bell-Curve" phenomenon. Plotting accuracy against the preserved rank ratio reveals that performance peaks at a surprisingly low rank—consistently around 8% across different architectures and tasks—before dropping as full-rank information (and its associated interference) is reintroduced. This suggests a universal structure in how task-specific knowledge is encoded in neural networks, where the tail end of the weight matrix often contributes more to interference than to task performance.
Experimental Evaluation
The researchers evaluated CART across a wide range of benchmarks:
- Computer Vision: Tests were conducted on 8, 14, and 20-task configurations using ViT-B/32 and ViT-L/14 architectures. Datasets included diverse tasks such as Cars, EuroSAT, MNIST, and SVHN.
- Natural Language Processing (NLP): CART was applied to the GLUE benchmark (8 tasks) using a RoBERTa-base backbone.
Key Results
Results show that CART significantly outperforms standard Weight Averaging and previous state-of-the-art methods like Consensus Task Arithmetic. On the 8-task vision benchmark (ViT-B/32), CART achieved 84.7% accuracy compared to WA's 65.9% and Consensus TA's 75.2%. When combined with test-time adaptation (AdaMerging+CART), the performance reached 85.8%, remarkably close to the upper bound of individual specialized models (90.5%). Furthermore, CART demonstrated superior scalability, maintaining robust performance even when merging 20 different models, whereas other methods degraded quickly.
Conclusion
CART provides a robust, scalable, and training-free solution to the interference problem in model merging. By leveraging the low-rank structure of centered task vectors, it preserves critical task knowledge while filtering out destructive noise. This approach not only improves multi-task performance but also offers insights into the implicit multi-tasking capabilities of weight averaging. Future work may explore the extension of this low-rank centering logic to generative models, such as Large Language Models (LLMs) or Diffusion models, where interference often manifests as hallucinations or loss of stylistic nuance.
Summary updated