Mastering Task Arithmetic: τJp as a Key Indicator for Weight Disentanglement
Kotaro Yoshida, Yuji Naraki, Takafumi Horie, Ryosuke Yamaki, Ryotaro Shimizu, Yuki Saito, Julian J. McAuley, Hiroki Naganuma
摘要
Model-editing techniques using task arithmetic have rapidly gained attention. Through task arithmetic, simply through arithmetic operations on the weights of pre-trained and fine-tuned models create desired models, such as multi-task models, models with specific tasks unsolvable, or domain-transferred models. However, task arithmetic faces challenges, such as low reproducibility and the high cost associated with adjusting coefficients in the arithmetic operations on model parameters, which have limited its practical success. In this paper, we present three key contributions in the context of task addition and task negation within task arithmetic. First, we propose a new metric called τ Jp which is based on the product of the task vector (τ ) and the Jacobian of the pre-trained model with respect to its weights. We show that τ Jp has a causal relationship with the interference that occurs from arithmetic operations. Second, we show that introducing regularization to minimize τ Jp significantly mitigates interference between task inferences, which leads to eliminating coefficient tuning and better accuracy on each task. Third, in the context of incremental learning, we confirmed that our τ Jp regularization demonstrates more robust performance in environments where future tasks to be learned are not accessible, validating the scalability of the approach. Finally, we demonstrate that the τ Jp regularizer further reinforces the performance of task arithmetic by leveraging publicly available fine-tuned models, offering practical benefits for real-world applications. Our code is available at https://github.com/katoro8989/tau-Jp_Task_Arithmetic
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- On Fairness of Task Arithmetic: The Role of Task Vectors 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- On Fairness of Task Arithmetic: The Role of Task Vectors 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Understanding and Enforcing Weight Disentanglement in Task Arithmetic 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Understanding and Enforcing Weight Disentanglement in Task Arithmetic 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Understanding and Enforcing Weight Disentanglement in Task Arithmetic 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Understanding and Enforcing Weight Disentanglement in Task Arithmetic 引用了 Learning Transferable Visual Models From Natural Language Supervision
- ENCHTABLE: Unified Safety Alignment Transfer in Fine-Tuned Large Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Escaping Optimization Stagnation: Taking Steps Beyond Task Arithmetic via Difference Vectors 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Escaping Optimization Stagnation: Taking Steps Beyond Task Arithmetic via Difference Vectors 引用了 Learning Transferable Visual Models From Natural Language Supervision
引用它的顶会 Paper5
- On Fairness of Task Arithmetic: The Role of Task VectorsLaura Gomezjurado Gonzalez, Hiroki Naganuma, Kotaro Yoshida, Takafumi Horie 等ICLR 2026 · 3 次引用
- Understanding and Enforcing Weight Disentanglement in Task ArithmeticShangge Liu, Yuehan Yin, Lei Wang, Qi Fan 等CVPR 2026 · 3 次引用
- ENCHTABLE: Unified Safety Alignment Transfer in Fine-Tuned Large Language ModelsJialin Wu, Kecen Li, Zhicong Huang, Xinfeng Li 等S&P 2026 · 3 次引用
- MergeRec: Model Merging for Data-Isolated Cross-Domain Sequential RecommendationHyunsoo Kim, Jaewan Moon, Seongmin Park, Jongwuk LeeKDD 2026
- Escaping Optimization Stagnation: Taking Steps Beyond Task Arithmetic via Difference VectorsJinping Wang, Zhiqiang Gao, Dinggen Zhang, Zhiwu XieAAAI 2026
它引用的 Paper24
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Generative Agents: Interactive Simulacra of Human BehaviorJoon Sung Park, Joseph C. O'Brien, Carrie Jun Cai, Meredith Ringel Morris 等UIST 2023 · 1,882 次引用
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs 等ICML 2022 · 1,464 次引用
相关 Paper
- When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear TransformersHongkang Li, Yihua Zhang, Shuai Zhang, Pin-Yu Chen 等ICLR 2025
- Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained ModelsGuillermo Ortiz-Jiménez, Alessandro Favero, Pascal FrossardNeurIPS 2023 · 272 次引用
- Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate CurvatureAngelo Porrello, Pietro Buzzega, Felix Dangel, Thomas Sommariva 等ICLR 2026 · 6 次引用
- Fine-Tuning Attention Modules Only: Enhancing Weight Disentanglement in Task ArithmeticRuochen Jin, Bojian Hou, Jiancong Xiao, Weijie J. Su 等ICLR 2025
- Editing models with task arithmeticGabriel Ilharco, Marco Túlio Ribeiro, Mitchell Wortsman, Ludwig Schmidt 等ICLR 2023 · 31 次引用
