Task Singular Vectors: Reducing Task Interference in Model Merging

Antonio Andrea Gargiulo, Donato Crisostomi, Maria Sofia Bucarelli, Simone Scardapane, Fabrizio Silvestri, E. Rodolà

arXiv:2412.00081 · 2026-07-27 공개 · arXiv · PDF

model-merging singular-value-decomposition task-interference tsv-merge low-rank-compression layer-level-analysis task-singular-vectors tsv-compress

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.

한국어 요약

한 줄 요약

Task Singular Vectors (TSV)를 활용한 모델 병합 방식이 기존 방법 대비 15.45% 더 높은 정확도를 달성한다.

핵심 기여도

핵심 아이디어

기존 Task Arithmetic(TA)은 전체 네트워크를 단일 벡터로 취급하여 구조적 정보를 무시하고, 이는 태스크 간 간섭(task interference)을 유발한다. 본 연구는 레이어 단위로 태스크 행렬(task matrix)을 분석하고, 이를 SVD를 통해 분해하여 얻은 **Task Singular Vectors (TSV)**를 활용한다. TSV는 각 레이어에서 가장 중요한 변화 방향을 나타내며, 이는 태스크별 기여도를 해석 가능한 기저로 제공한다.

또한, TSV가 저랭크(low-rank) 구조를 가짐을 확인하고, 이를 기반으로 **TSV-C**를 제안하여 10% 크기로 압축하면서 99% 정확도를 유지한다. 이는 기존 SVD 기반 압축 방법보다 효율적이다.

더 나아가, TSV 간의 상호작용을 분석하여 **새로운 간섭 측정 기준**을 정의하고, 이를 기반으로 **TSV-M**을 제안한다. 이는 **whitening transformation**을 통해 TSV를 비상관화(decorrelate)하여 간섭을 줄이는 방식으로, 기존 평균화 기반 방법과 차별화된다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 모델 병합에서 **구조적 정보를 유지하면서 간섭을 정량화하고 줄이는 새로운 접근법**을 제시한다. 특히, **SVD 기반 저랭크 압축과 whitening transformation을 결합한 TSV-M**은 기존 방법 대비 높은 정확도를 달성하며, **단일 모델로 여러 태스크를 처리하는 효율적인 대안**이 될 수 있다.

그러나, **모든 레이어가 행렬 구조를 가지는 경우에만 적용 가능**하며, 비행렬 구조 레이어는 기존 TA로 대체해야 한다는 한계가 있다. 또한, **whitening transformation의 계산 복잡도**가 높아 대규모 모델 적용 시 성능 저하가 발생할 수 있다.

실용적 활용

TSV-C와 TSV-M은 **미세조정된 모델을 병합하여 다중 태스크 처리를 효율적으로 수행**할 수 있는 기술로, **컴퓨터 비전 분야에서 여러 데이터셋을 처리하는 모델 개발**에 활용 가능하다. 특히, **CLIP과 같은 사전 학습된 모델을 기반으로 여러 태스크를 병합하는 경우**에 유용하며, **모델 저장 공간과 추론 시간을 줄이는 데 기여**할 수 있다.