Fine-Tuning Attention Modules Only: Enhancing Weight Disentanglement in Task Arithmetic
Not on the map. Why?
Abstract (arXiv)
In recent years, task arithmetic has garnered increasing attention. This approach edits pre-trained models directly in weight space by combining the fine-tuned weights of various tasks into a unified model. Its efficiency and cost-effectiveness stem from its training-free combination, contrasting with traditional methods that require model training on large datasets for multiple tasks. However, applying such a unified model to individual tasks can lead to interference from other tasks (lack of weight disentanglement). To address this issue, Neural Tangent Kernel (NTK) linearization has been employed to leverage a "kernel behavior", facilitating weight disentanglement and mitigating adverse effects from unrelated tasks. Despite its benefits, NTK linearization presents drawbacks, including doubled training costs, as well as reduced performance of individual models. To tackle this problem, we propose a simple yet effective and efficient method that is to finetune the attention modules only in the Transformer. Our study reveals that the attention modules exhibit kernel behavior, and fine-tuning the attention modules only significantly improves weight disentanglement. To further understand how our method improves the weight disentanglement of task arithmetic, we present a comprehensive study of task arithmetic by differentiating the role of the representation module and task-specific module. In particular, we find that the representation module plays an important role in improving weight disentanglement whereas the task-specific modules such as the classification heads can degenerate the weight disentanglement performance. (The code is available at https://github.com/kyrie-23/task_arithmetic_tangent)
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 31 of its 46 references that are in the map. First posted on arXiv 9 Jul 2024.
Builds on
31 of 46 references.
References · 31
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
- 2019A Comprehensive Survey on Transfer Learningcited by 1,154
- 2022Editing Models with Task Arithmeticcited by 1,076
19 more
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
- 2021Merging Models with Fisher-Weighted Averagingcited by 613
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 585
- 2022Improving alignment of dialogue agents via targeted human judgementscited by 527
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
- 2023AdaMerging: Adaptive Model Merging for Multi-Task Learningcited by 248
- 2022Quark: Controllable Text Generation with Reinforced Unlearningcited by 236
- 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
- 2022Patching open-vocabulary models by interpolating weightscited by 187
- 2023ZipIt! Merging Models from Different Tasks without Trainingcited by 178
- 2023Composing Parameter-Efficient Modules with Arithmetic Operationscited by 155
- 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 108
- 2024On the Algorithmic Bias of Aligning Large Language Models with RLHF: Preference Collapse and Matching Regularizationcited by 72
- 2021Editing a classifier by rewriting its prediction rulescited by 64
- 2023Parameter Efficient Multi-task Model Fusion with Partial Linearizationcited by 64
- 2020Optimism in the Face of Adversity: Understanding and Improving Deep Learning through Adversarial Robustnesscited by 28
- 2024Training Neural Networks from Scratch with Parallel Low-Rank Adapterscited by 17
- 2017Learning with Feature Evolvable Streamscited by 15
- 2023Tangent Transformers for Composition, Privacy and Removalcited by 13
Built on by
Citing papers per year: 2024: 1; 2025: 5; 2026: 8.
14 papers.
Sort:
By area:
- 2025Restoring Calibration for Aligned Large Language Models: A Calibration-Aware Fine-Tuning Approachcited by 25
- 2025Mitigating Parameter Interference in Model Merging via Sharpness-Aware Fine-Tuningcited by 16
- 2025Theoretical Tensions in RLHF: Reconciling Empirical Success with Inconsistencies in Social Choice Theorycited by 6
- 2026Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvaturecited by 3
- 2026Understanding and Enforcing Weight Disentanglement in Task Arithmeticcited by 3
- 2025From Memorization to Parameter Interference: How Overtraining Experts Harms Model Mergingcited by 2
- 2024SyMerge: From Non-Interference to Synergistic Merging via Single-Layer Adaptationcited by 1
- 2025Navigating the Accuracy-Size Trade-Off with Flexible Model Mergingcited by 1
- 2026Distilling Linearized Behavior into Non-Linear Fine-Tuning for Effective Task Arithmeticcited by 1
- 2026MergeRec: Model Merging for Data-Isolated Cross-Domain Sequential Recommendationcited by 0
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Lawscited by 0
- 2026When Prompts Interact: Assessing Prompt Arithmetic for Deconfounding under Distribution Shiftcited by 0
- 2026Beyond Post-Hoc Temperature Scaling: Bilevel Optimization for LLM Calibration7 Aug 2026
- 2026Domain Arithmetic: One-Shot VLA Adaptation under Environmental Shifts1 Jul 2026
- 2026Distilling Linearized Behavior into Non-Linear Fine-Tuning for Effective Task Arithmetic18 May 2026
- 2026When Prompts Interact: Assessing Prompt Arithmetic for Deconfounding under Distribution Shift4 May 2026
- 2026Understanding and Enforcing Weight Disentanglement in Task Arithmetic18 Apr 2026
- 2026Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvature19 Feb 2026
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Laws29 Jan 2026
- 2026MergeRec: Model Merging for Data-Isolated Cross-Domain Sequential Recommendation5 Jan 2026
- 2025From Memorization to Parameter Interference: How Overtraining Experts Harms Model Merging17 Jun 2025
- 2025Theoretical Tensions in RLHF: Reconciling Empirical Success with Inconsistencies in Social Choice Theory14 Jun 2025
- 2025Navigating the Accuracy-Size Trade-Off with Flexible Model Merging29 May 2025
- 2025Restoring Calibration for Aligned Large Language Models: A Calibration-Aware Fine-Tuning Approach4 May 2025
- 2025Mitigating Parameter Interference in Model Merging via Sharpness-Aware Fine-Tuningcited by 16
- 2026Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvaturecited by 3
- 2026Understanding and Enforcing Weight Disentanglement in Task Arithmeticcited by 3
- 2025From Memorization to Parameter Interference: How Overtraining Experts Harms Model Mergingcited by 2
- 2024SyMerge: From Non-Interference to Synergistic Merging via Single-Layer Adaptationcited by 1
- 2025Navigating the Accuracy-Size Trade-Off with Flexible Model Mergingcited by 1
- 2026MergeRec: Model Merging for Data-Isolated Cross-Domain Sequential Recommendationcited by 0
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Lawscited by 0
- 2026When Prompts Interact: Assessing Prompt Arithmetic for Deconfounding under Distribution Shiftcited by 0
- 2026Beyond Post-Hoc Temperature Scaling: Bilevel Optimization for LLM Calibrationcited by 0
- 2026Beyond Post-Hoc Temperature Scaling: Bilevel Optimization for LLM Calibration7 Aug 2026
- 2026When Prompts Interact: Assessing Prompt Arithmetic for Deconfounding under Distribution Shift4 May 2026
- 2026Understanding and Enforcing Weight Disentanglement in Task Arithmetic18 Apr 2026
- 2026Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvature19 Feb 2026
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Laws29 Jan 2026
- 2026MergeRec: Model Merging for Data-Isolated Cross-Domain Sequential Recommendation5 Jan 2026
- 2025From Memorization to Parameter Interference: How Overtraining Experts Harms Model Merging17 Jun 2025
- 2025Navigating the Accuracy-Size Trade-Off with Flexible Model Merging29 May 2025
- 2025Mitigating Parameter Interference in Model Merging via Sharpness-Aware Fine-Tuning20 Apr 2025
- 2024SyMerge: From Non-Interference to Synergistic Merging via Single-Layer Adaptation26 Dec 2024