arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.14697cs.AI
收藏

在知识感知子空间中净化任务向量以实现模型合并

Mitigating Model Merging Conflicts via Knowledge-Aware Task Vector Purification

King Abdullah University of Science and Technology (KAUST)(卡斯蒂利亚-拉纳达大学科学与技术学院);University of Oxford(牛津大学)

Bang An, Yibo Yang, Philip Torr, Bernard Ghanem

AI总结:

本研究提出PAVE方法,在知识感知子空间中通过上下文奇异值分解和谱秩分配净化任务向量,以消除冗余,提升多种模型合并方法的性能。

摘要:

模型合并旨在将来自单独微调模型的任务特定能力集成到单个模型中,而无需额外训练。在最近的模型合并方法中,任务向量已成为基本构建块,因为它可以封装微调产生的残差信息。然而,由于任务向量中与任务无关的冗余引起的冲突,合并后的模型常常遭受显著的性能下降。现有通过在参数空间中随机丢弃元素来克服冗余的努力涉及随机性且缺乏知识感知。为解决这些挑战,在本研究中,我们提出在知识感知子空间中净化任务向量(PAVE)。具体而言,我们从每个任务中采样一些训练示例,并将它们输入到对应的微调模型中,以获取线性层之前的协方差矩阵。然后,我们执行面向上下文的奇异值分解,该分解强调与目标知识最相关的权重组件。因此,我们可以在知识感知子空间中将微调模型权重分割为任务相关和冗余组件,并通过剪除冗余组件来净化任务向量。为在模型之间实现公平的剪枝努力,我们进一步引入一种谱秩分配策略,通过优化归一化的激活剪枝误差。我们的方法作为即插即用方案的任务向量净化适用于各种基于任务向量的合并方法,以提高其性能。在实验中,我们展示了PAVE在多种合并方法、任务和模型架构上的有效性。

英文摘要:

Model merging aims to integrate task-specific abilities from individually fine-tuned models into a single model without extra training. In recent model merging methods, task vector has become a fundamental building block, as it can encapsulate the residual information from finetuning. However, the merged model often suffers from notable performance degradation due to the conflicts caused by task-irrelevant redundancy in task vectors. Existing efforts in overcoming redundancy by randomly dropping elements in the parameter space involves randomness and lacks knowledge awareness. To address these challenges, in this study, we propose Purifying TAsk Vectors (PAVE) in knowledge-aware subspace. Concretely, we sample some training examples from each task, and feed them into their corresponding fine-tuned models to acquire the covariance matrices before linear layers. We then perform a context-oriented singular value decomposition, which accentuates the weight components most relevant to the target knowledge. As a result, we can split fine-tuned model weights into task-relevant and redundant components in the knowledge-aware subspace, and purify the task vector by pruning the redundant components. To induce fair pruning efforts across models, we further introduce a spectral rank allocation strategy by optimizing a normalized activated pruning error. The task vector purification by our method as a plug-and-play scheme is applicable across various task vector-based merging methods to improve their performance. In experiments, we demonstrate the effectiveness of PAVE across a diverse set of merging methods, tasks, and model architectures.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑