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

将线性化行为蒸馏到非线性微调中以实现有效的任务算术

Distilling Linearized Behavior into Non-Linear Fine-Tuning for Effective Task Arithmetic

University of Pisa, Italy(比萨大学,意大利)

Thomas Sommariva, Francesca Morandi, Simone Calderara, Angelo Porrello

AI总结:

提出通过激活空间约束将线性化模型的低干扰特性蒸馏到标准非线性微调中,实现高效任务向量组合且无推理开销。

摘要:

任务向量组合已成为编辑预训练模型的一种有前景的范式,通过加法实现模型合并,通过减法实现模型遗忘。在预训练模型的切空间中进行微调(线性微调)已被证明是有效的,因为它产生的任务向量自然解缠且抗干扰。然而,线性化模型在训练期间表达能力有限,并且在推理时计算成本较高,这限制了它们的实际应用。在这项工作中,我们弥合了线性微调与标准非线性微调之间的差距。我们表明,关于权重扰动的线性性(一种在参数空间中定义的属性)可以通过在训练期间在激活空间中施加约束来强制执行。具体来说,我们将曲率正则化的线性化教师模型的隐藏表示蒸馏到通过常规微调训练的非线性学生模型中。我们发现,得到的模型继承了线性化模型在任务算术中的关键属性,能够实现任务向量的有效组合,并在视觉和语言基准测试中实现强性能,而不会产生任何推理开销。

英文摘要:

Task vector composition has emerged as a promising paradigm for editing pre-trained models, enabling model merging through addition and unlearning through subtraction. Fine-tuning in the tangent space of a pre-trained model (linear fine-tuning) has proven effective, as it produces task vectors that are naturally disentangled and resistant to interference. However, linearized models suffer from limited expressivity during training and incur higher computational costs at inference time, which restrict their practical applicability. In this work, we bridge the gap between linear and standard non-linear fine-tuning. We show that linearity with respect to weight perturbations, a property defined in parameter space, can be enforced through constraints in activation space during training. Concretely, we distill hidden representations from a curvature-regularized linearized teacher into a non-linear student trained via conventional fine-tuning. We find that the resulting model inherits key properties of linearized models for task arithmetic, enabling effective composition of task vectors and achieving strong performance across vision and language benchmarks without incurring any inference-time overhead.

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

↑