paper-with-me

홈 › Papers

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

2025-02-27 · Yan-Lun Chen, Yi-Ru Wei, Chia-Yi Hsu, Chia-Mu Yu, Chun-Ying Huang, Ying-Dar Lin, Yu-Sung Wu, Wei-Bin Lee

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.

📄 PDF Abstract BibTeX arXiv:2502.20186

Code (0)

등록된 구현이 없습니다.

Tasks

GSM8KHumanEvalInstruction FollowingMulti-Task LearningTask Arithmetic

Similar Papers 제목 키워드 기반

Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanisms

2026-04-17 · Tanja Baeumel, Josef van Genabith, Simon Ostermann arxiv

Large language models (LLMs) have demonstrated impressive capabilities, yet their internal mechanisms for handling reasoning-intensive tasks remain underexplored. To advance the understanding of model-internal processing…

Mathematical Reasoning

Arithmetic-Intensity-Aware Quantization

2025-12-16 · Taig Singh, Shreshth Rajan, Nikhil Jain arxiv

As modern neural networks become increasingly memory-bound, inference throughput is limited by DRAM bandwidth rather than compute. We present Arithmetic-Intensity-Aware Quantization (AIQ), a mixed precision quantization …

Grokking modular arithmetic

2023-01-06 · Andrey Gromov

We present a simple neural network that can learn modular arithmetic tasks and exhibits a sudden jump in generalization known as ``grokking''. Concretely, we present (i) fully-connected two-layer networks that exhibit gr…

Decoupled DETR: Spatially Disentangling Localization and Classification for Improved End-to-End Object Detection

2023-10-24 · ICCV 2023 1 · Manyuan Zhang, Guanglu Song, Yu Liu, Hongsheng Li

The introduction of DETR represents a new paradigm for object detection. However, its decoder conducts classification and box localization using shared queries and cross-attention layers, leading to suboptimal results. W…

ClassificationDecoderobject-detectionObject Detection

Disentangling Task Interference within Neurons: Model Merging in Alignment with Neuronal Mechanisms

2025-03-07 · Zitao Fang, Guodong Du, Shuyang Yu, Yifei Guo 외

Fine-tuning pre-trained models on targeted datasets enhances task-specific performance but often comes at the expense of generalization. Model merging techniques, which integrate multiple fine-tuned models into a single …

Task Arithmetic