mlsanityData to 7 Oct 2026

Layer-Aware Task Arithmetic: Disentangling Task-Specific and Instruction-Following Knowledge

arXiv 2502.20186 ↗First posted 27 Feb 2025cs.CL cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) demonstrate strong task-specific capabilities through fine-tuning, but merging multiple fine-tuned models often leads to degraded performance due to overlapping instruction-following components. Task Arithmetic (TA), which combines task vectors derived from fine-tuning, enables multi-task learning and task forgetting but struggles to isolate task-specific knowledge from general instruction-following behavior. To address this, we propose Layer-Aware Task Arithmetic (LATA), a novel approach that assigns layer-specific weights to task vectors based on their alignment with instruction-following or task-specific components. By amplifying task-relevant layers and attenuating instruction-following layers, LATA improves task learning and forgetting performance while preserving overall model utility. Experiments on multiple benchmarks, including WikiText-2, GSM8K, and HumanEval, demonstrate that LATA outperforms existing methods in both multi-task learning and selective task forgetting, achieving higher task accuracy and alignment with minimal degradation in output quality. Our findings highlight the importance of layer-wise analysis in disentangling task-specific and general-purpose knowledge, offering a robust framework for efficient model merging and editing.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 30 of its 49 references that are in the map. First posted on arXiv 27 Feb 2025.

Builds on

30 of 49 references.

References · 30

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2016Pointer Sentinel Mixture Modelscited by 2,992
  4. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  5. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
  6. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 913
  7. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 679
  8. 2021Merging Models with Fisher-Weighted Averagingcited by 613
  9. 2019On the Cross-lingual Transferability of Monolingual Representationscited by 575
  10. 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
  11. 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 384
  12. 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 377
18 more
  1. 2023Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedbackcited by 189
  2. 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 189
  3. 2024MAmmoTH2: Scaling Instructions from the Webcited by 143
  4. 2024Task Singular Vectors: Reducing Task Interference in Model Mergingcited by 143
  5. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Securitycited by 126
  6. 2024Twin-Merging: Dynamic Integration of Modular Expertise in Model Mergingcited by 114
  7. 2024Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmeticcited by 105
  8. 2024Representation Surgery for Multi-Task Model Mergingcited by 95
  9. 2024MARIO: MAth Reasoning with code Interpreter Output -- A Reproducible Pipelinecited by 81
  10. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editingcited by 77
  11. 2024MetaGPT: Merging Large Language Models Using Model Exclusive Task Arithmeticcited by 53
  12. 2023Chat Vector: A Simple Approach to Equip LLMs with Instruction Following and Model Alignment in New Languagescited by 52
  13. 2024Model Merging and Safety Alignment: One Bad Model Spoils the Bunchcited by 41
  14. 2024Safety Arithmetic: A Framework for Test-time Safety Alignment of Language Models by Steering Parameters and Activationscited by 32
  15. 2024Mitigating Fine-tuning based Jailbreak Attack with Backdoor Enhanced Safety Alignmentcited by 31
  16. 2024Revisiting Weight Averaging for Model Mergingcited by 24
  17. 2024Beyond Task Vectors: Selective Task Arithmetic Based on Importance Metricscited by 11
  18. 2025Mediator: Memory-efficient LLM Merging with Less Parameter Conflicts and Uncertainty Based Routingcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.