Introduction
Model merging has emerged as a powerful paradigm for creating multi-task models without the prohibitive computational costs of joint retraining. By combining multiple task-specific models—each fine-tuned from a common pre-trained base—researchers aim to consolidate diverse capabilities into a single weight set. However, the current standard, Task Arithmetic (TA), often fails due to "task interference." Because TA treats neural network layers as flat vectors, it ignores the internal structural relationships of the weights, leading to conflicting updates that degrade performance.
Researchers from Sapienza University of Rome have introduced Task Singular Vectors (TSV), a geometrically informed framework that treats layers as matrices. By applying Singular Value Decomposition (SVD), they decompose task-specific weight updates into their fundamental components, enabling both massive compression and state-of-the-art merging performance.
The TSV Framework
The core innovation of the TSV framework lies in analyzing the per-layer task matrices (the difference between fine-tuned and pre-trained weights). The authors propose two primary applications of this decomposition:
- TSV-Compress (TSV-C): This method leverages the discovery that task-specific knowledge is concentrated in a very small subspace. By retaining only the top singular components, models can be compressed significantly with negligible impact on accuracy.
- TSV-Merge (TSV-M): To address task interference, TSV-M uses a whitening transformation. Formulated as an Orthogonal Procrustes problem, this technique decorrelates the singular vectors of different tasks, effectively "straightening" the task-specific directions so they can coexist in the merged weight space without colliding.
Key Insights: Low-Rank Nature and Interference
A pivotal finding of the research is that task matrices are inherently low-rank. Fine-tuning a large model for a specific task only shifts the weights in a highly specific, low-dimensional subspace.
As shown in the figure above, discarding up to 90% of the singular components (retaining a rank fraction of 0.1) allows the model to maintain nearly full-rank accuracy. This property is what enables TSV-C to achieve 10x compression while retaining 99% of the original model's performance. Furthermore, the authors introduced a metric called Singular Task Interference (STI), finding that interference is most pronounced in early, general-feature layers and decreases as one moves toward deeper, task-specialized layers.
Experimental Results
The authors evaluated TSV across CLIP-based Vision Transformers (ViT-B-32, ViT-B-16, and ViT-L-14) using benchmarks ranging from 8 to 20 tasks.
In head-to-head comparisons, TSV-M significantly outperformed existing methods. For example, on the ViT-B-32 model across 8 tasks, TSV-M achieved a mean accuracy of 85.86%, a substantial jump over Task Arithmetic's 70.79%. When scaled to the larger ViT-L-14 model, the merged TSV-M model achieved 96.98% of the performance of eight separate, specialized models, demonstrating near-perfect recovery of task-specific knowledge.
Conclusion and Future Work
Task Singular Vectors provide a robust, "plug-and-play" solution for model merging that requires no additional tuning or validation sets. By moving beyond the flattened vector view of neural networks, TSV-M offers a mathematically grounded way to mitigate task interference.
While the current work focuses on Computer Vision, the low-rank properties observed suggest that this framework could be highly effective for Large Language Models (LLMs). Future research may also explore dynamic rank selection—adjusting the number of singular vectors kept based on the importance of a specific layer or task—to further optimize the balance between compression and performance.
Summary updated