arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.02620cs.LGcs.AIcs.CLcs.CV
收藏

基于任务局部化稀疏微调的高效模型编辑

Efficient Model Editing with Task-Localized Sparse Fine-tuning

Politecnico di Torino(都灵理工大学);Vector Institute(向量研究所)

Leonardo Iurada, Marco Ciccone, Tatiana Tommasi

AI总结:

提出 TaLoS 方法,通过更新预训练模型中跨任务梯度敏感性低的稀疏参数子集实现权重解耦,无需网络线性化即可构建无冲突任务向量,提升了模型编辑的训练与推理效率。

摘要:

Task arithmetic 已成为一种极具前景的模型编辑方法,它通过将任务特定知识表示为可组合的任务向量来实现。然而,现有方法依赖网络线性化来推导任务向量,导致在训练和推理过程中出现计算瓶颈。此外,仅靠线性化无法确保权重解耦,而这是实现任务向量无冲突组合的关键属性。为了解决这些问题,我们提出了 TaLoS,它允许在不需要显式线性化且跨任务共享信息的情况下,构建具有最小干扰的稀疏任务向量。我们发现,预训练模型包含一个在所有任务中梯度敏感性始终较低的参数子集,仅稀疏更新这些参数能够在微调期间促进权重解耦。实验证明,TaLoS 提升了训练和推理效率,同时在任务添加和任务否定中优于现有方法。通过实现模块化参数编辑,我们的方法促进了可适应基础模型在实际应用中的部署。

英文摘要:

Task arithmetic has emerged as a promising approach for editing models by representing task-specific knowledge as composable task vectors. However, existing methods rely on network linearization to derive task vectors, leading to computational bottlenecks during training and inference. Moreover, linearization alone does not ensure weight disentanglement, the key property that enables conflict-free composition of task vectors. To address this, we propose TaLoS which allows to build sparse task vectors with minimal interference without requiring explicit linearization and sharing information across tasks. We find that pre-trained models contain a subset of parameters with consistently low gradient sensitivity across tasks, and that sparsely updating only these parameters allows for promoting weight disentanglement during fine-tuning. Our experiments prove that TaLoS improves training and inference efficiency while outperforming current methods in task addition and negation. By enabling modular parameter editing, our approach fosters practical deployment of adaptable foundation models in real-world applications.

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

↑