Introduction
Model merging has emerged as a powerful technique for creating multi-task models by combining weights from several specialized "expert" models. Unlike traditional multi-task learning, merging requires no additional training, making it highly efficient for large-scale deployment. However, a significant challenge arises when scaling the number of experts: as more models are added, performance often degrades significantly. This paper identifies rank collapse as the primary cause and proposes Subspace Boosting as a robust solution.
The Rank Collapse Phenomenon
The authors observe that when merging numerous task-specific models (e.g., 20+ experts), the resulting model's performance often drops sharply. Through theoretical analysis, they demonstrate that common information shared across models grows linearly with the number of models $N$, while unique task-specific information grows only at a rate of $\sqrt{N}$. Consequently, the shared information dominates the spectral distribution, causing the "effective rank" of the merged weight matrices to shrivel. This phenomenon, termed rank collapse, effectively drowns out the specialized knowledge each expert was meant to contribute.
Methodology: Subspace Boosting and HO-GSVD
To address rank collapse, the researchers introduce two key innovations designed to recover suppressed signals and improve expert selection.
1. Subspace Boosting
This core intervention targets the suppressed task-specific signals. For each weight matrix in the merged model, a Singular Value Decomposition (SVD) is performed. A hyperparameter $\beta$ defines a threshold based on the singular values. Singular values falling below this threshold—representing the neglected task-specific dimensions—are "boosted" or clamped to the threshold value. This amplification restores the signal of the experts without overwhelming the common features.
2. Higher-Order Generalized SVD (HO-GSVD)
To provide better interpretability, the authors utilize HO-GSVD to project multiple models into a shared subspace. This allows for the calculation of an Alignment Matrix, which quantifies interference between models. This metric enables a principled approach to expert selection, identifying which models are most compatible for merging based on their layer-wise alignment.
Experimental Evaluation
The proposed methods were evaluated across diverse benchmarks to test scalability and generalizability:
- Vision: CLIP-based encoders (ViT-B/32, ViT-B/16, and ViT-L/14) merging up to 20 diverse image classification tasks.
- Language: T5 transformers evaluated on 8 Question Answering (QA) and 7 general NLP tasks.
- Baselines: Comparisons were made against standard Task Arithmetic (TA), TIES-Merging, Consensus Merging (CSM), and LiNeS.
Key Results
Subspace Boosting consistently delivers substantial performance improvements across all tested architectures and tasks by restoring the stable rank of the merged weights.
- Vision Benchmarks: On the ViT-B/32 benchmark with 14 tasks, Subspace Boosting increased Task Arithmetic accuracy from 65.0% to 75.8%. When integrated with state-of-the-art methods like LiNeS, performance reached 80.8%.
- Language Benchmarks: For T5 models on 8 QA tasks, accuracy improved from a 63.8% baseline to 75.3%.
- Efficiency: The method is computationally efficient, performing approximately 6x faster than competing SVD-based techniques like TSV-M, making it practical for large-scale model deployment.
- Expert Selection: Using HO-GSVD alignment scores to select the top 8 experts from a pool of 20 yielded a 2.8% accuracy improvement over random selection, validating the alignment matrix as a useful heuristic.
Conclusion and Future Work
Subspace Boosting provides a simple yet effective solution to the rank collapse problem in model merging. By amplifying suppressed task-specific signals, it enables the creation of high-performing multi-task models from many experts. While the method currently requires tuning the $\beta$ hyperparameter on a small validation set, future research may focus on automating this process or applying subspace insights during the initial fine-tuning phase to minimize interference proactively.
Summary updated