arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.17987cs.LGcs.AI
收藏

突破任务算术:通过差分向量迈步

Escaping Optimization Stagnation: Taking Steps Beyond Task Arithmetic via Difference Vectors

Wku(沃基大学)

Jinping Wang, Zhiqiang Gao, Dinggen Zhang, Zhiwu Xie

AI总结:

通过差分向量改进任务算术,实现多任务模型性能提升和单任务模型高效微调。

摘要:

当前对预训练模型进行编辑的方法面临显著挑战,主要在于计算成本高且可扩展性有限。任务算术最近作为一种有前景的解决方案出现,利用简单的算术运算——基于任务向量的加法和否定——来高效修改模型行为。然而,任务算术的全部潜力仍未被充分探索,主要原因是缺乏克服优化停滞的机制。为了解决这一挑战,我们引入了差分向量的概念,这是一种从优化过程中历史移动中衍生出的任务向量的广义形式。使用差分向量作为定向扰动,我们提出差分向量基于各向异性缩放迭代算法(DV-BASI),以在不依赖任何额外模块或组件的情况下为任务算术方法提供连续优化过程。值得注意的是,通过利用差分向量的可逃逸性和方向优势,由DV-BASI合并的多任务模型在不同任务上的平均性能可能甚至优于单独微调的模型。基于这一观察,我们将差分向量的应用扩展到单任务模型的可行微调方法。在实际应用方面,DV-BASI允许在少量可学习参数的情况下形成表达性搜索方向,并形成一个可扩展的框架。我们还将DV-BASI与任务算术方法和先进的优化技术相结合,以在监督和无监督评估协议上实现最先进的性能。

英文摘要:

Current methods for editing pre-trained models face significant challenges, primarily high computational costs and limited scalability. Task arithmetic has recently emerged as a promising solution, using simple arithmetic operations-addition and negation-based on task vectors which are the differences between fine-tuned and pre-trained model weights, to efficiently modify model behavior. However, the full potential of task arithmetic remains underexplored, primarily due to limited mechanisms for overcoming optimization stagnation. To address this challenge, we introduce the notion of difference vector, a generalized form of task vectors derived from the historical movements during optimization. Using difference vectors as directed perturbations, we propose the Difference Vector-based Anisotropic Scaling Iterative algorithm (DV-BASI) to enable a continuous optimization process for task arithmetic methods without relying on any additional modules or components. Notably, by leveraging escapability and directional advantages of difference vectors, the average performance on different tasks of the multi-task model merged by DV-BASI may even outperform models individually fine-tuned. Based on this observation, we extend the application of difference vectors to a feasible fine-tuning method for single-task models. On the practical side, DV-BASI allows expressive searching directions with few learnable parameters and forms a scalable framework. We also integrate DV-BASI with task arithmetic methods and advanced optimization techniques to achieve state-of-the-art performance on both supervised and unsupervised evaluation protocols.

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

↑