Task Singular Vectors: Reducing Task Interference in Model Merging
Antonio Andrea Gargiulo, Donato Crisostomi, Maria Sofia Bucarelli, Simone Scardapane, Fabrizio Silvestri, Emanuele Rodolà
TL;DR
This work shows that treating entire networks as flat parameter vectors overlooks crucial structure and induces task interference in model merging. By analyzing per-layer task matrices with SVD, it reveals a low-rank structure and defines Task Singular Vectors (TSV) to separate task-specific directions. The authors introduce TSV-Compress (TSV-C) for aggressive, loss-preserving compression and TSV-Merge (TSV-M) which decorrelates TSVs to reduce interference, achieving state-of-the-art merging performance with minimal hyperparameter tuning. Across ViT variants and 8/14/20-task benchmarks, TSV-M delivers substantial accuracy gains and TSV-C offers storage-efficient compression with negligible performance loss, highlighting a scalable path to multi-task models without extra training.
Abstract
Task Arithmetic has emerged as a simple yet effective method to merge models without additional training. However, by treating entire networks as flat parameter vectors, it overlooks key structural information and is susceptible to task interference. In this paper, we study task vectors at the layer level, focusing on task layer matrices and their singular value decomposition. In particular, we concentrate on the resulting singular vectors, which we refer to as Task Singular Vectors (TSV). Recognizing that layer task matrices are often low-rank, we propose TSV-Compress (TSV-C), a simple procedure that compresses them to 10% of their original size while retaining 99% of accuracy. We further leverage this low-rank space to define a new measure of task interference based on the interaction of singular vectors from different tasks. Building on these findings, we introduce TSV-Merge (TSV-M), a novel model merging approach that combines compression with interference reduction, significantly outperforming existing methods.
