arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.22511cs.LG
收藏

任务向量分解以实现精细模型编辑

Decomposing Task Vectors for Refined Model Editing

Australian Institute for Machine Learning, Adelaide University(澳大利亚机器学习研究所,阿德莱德大学);Monash University(莫纳什大学)

Hamed Damirchi, Ehsan Abbasnejad, Zhen Zhang, Javen Shi

AI总结:

本文提出一种任务向量分解方法,通过分离共享知识和独特信息,提升模型编辑的精度和效果。

摘要:

大型预训练模型已改变了机器学习,但有效调整这些模型以表现出精确、概念特定的行为仍是一个重大挑战。任务向量定义为微调和预训练模型参数之间的差异,提供了一种引导神经网络朝向期望行为的机制。这催生了专门针对特定行为的任务向量大型存储库。这些任务向量的算术运算允许在不需要大数据集的情况下无缝组合期望行为。然而,这些向量往往包含重叠的概念,这在算术运算中可能会互相干扰,导致不可预测的结果。我们提出了一种系统性的分解方法,将每个任务向量分解为两个组成部分:一个捕捉多个任务向量中的共享知识,另一个隔离每个特定任务的信息。通过在投影中识别不变子空间,我们的方法使在不意外放大或缩小其他行为的情况下更精确地控制概念操作。我们展示了我们的分解方法在三个领域中的有效性:通过共享组件作为额外任务向量提高图像分类的多任务合并性能提高了5%,通过仅混合唯一组件在扩散模型中实现干净的风格混合而不产生生成退化,以及通过否定唯一组件中隔离的有毒信息将语言模型的毒性降低47%,同时在一般知识任务上的性能保持不变。我们的方法提供了一种新的框架来理解和控制任务向量算术,解决了模型编辑操作中的基本限制。

英文摘要:

Large pre-trained models have transformed machine learning, yet adapting these models effectively to exhibit precise, concept-specific behaviors remains a significant challenge. Task vectors, defined as the difference between fine-tuned and pre-trained model parameters, provide a mechanism for steering neural networks toward desired behaviors. This has given rise to large repositories dedicated to task vectors tailored for specific behaviors. The arithmetic operation of these task vectors allows for the seamless combination of desired behaviors without the need for large datasets. However, these vectors often contain overlapping concepts that can interfere with each other during arithmetic operations, leading to unpredictable outcomes. We propose a principled decomposition method that separates each task vector into two components: one capturing shared knowledge across multiple task vectors, and another isolating information unique to each specific task. By identifying invariant subspaces across projections, our approach enables more precise control over concept manipulation without unintended amplification or diminution of other behaviors. We demonstrate the effectiveness of our decomposition method across three domains: improving multi-task merging in image classification by 5% using shared components as additional task vectors, enabling clean style mixing in diffusion models without generation degradation by mixing only the unique components, and achieving 47% toxicity reduction in language models while preserving performance on general knowledge tasks by negating the toxic information isolated to the unique component. Our approach provides a new framework for understanding and controlling task vector arithmetic, addressing fundamental limitations in model editing operations.

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

↑