Task-Specific Skill Localization in Fine-tuned Language Models
Not on the map. Why?
Abstract (arXiv)
Pre-trained language models can be fine-tuned to solve diverse NLP tasks, including in few-shot settings. Thus fine-tuning allows the model to quickly pick up task-specific ``skills,'' but there has been limited study of where these newly-learnt skills reside inside the massive model. This paper introduces the term skill localization for this problem and proposes a solution. Given the downstream task and a model fine-tuned on that task, a simple optimization is used to identify a very small subset of parameters (~0.01% of model parameters) responsible for (>95%) of the model's performance, in the sense that grafting the fine-tuned values for just this tiny subset onto the pre-trained model gives performance almost as well as the fine-tuned model. While reminiscent of recent works on parameter-efficient fine-tuning, the novel aspects here are that: (i) No further re-training is needed on the subset (unlike, say, with lottery tickets). (ii) Notable improvements are seen over vanilla fine-tuning with respect to calibration of predictions in-distribution (40-90% error reduction) as well as the quality of predictions out-of-distribution (OOD). In models trained on multiple tasks, a stronger notion of skill localization is observed, where the sparse regions corresponding to different tasks are almost disjoint, and their overlap (when it happens) is a proxy for task similarity. Experiments suggest that localization via grafting can assist certain forms of continual learning.
Key facts. Cited by 104 papers in the map (data through 7 Oct 2026). Builds on 45 of its 61 references that are in the map. First posted on arXiv 13 Feb 2023.
Builds on
45 of 61 references.
References · 45
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
- 2020Gradient Surgery for Multi-Task Learningcited by 1,210
33 more
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2016Cross-stitch Networks for Multi-task Learningcited by 466
- 2019Multi-Task Deep Neural Networks for Natural Language Understandingcited by 349
- 2019Verified Uncertainty Calibrationcited by 307
- 2018Stronger generalization bounds for deep nets via a compression approachcited by 306
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 256
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2019Uniform convergence may be unable to explain generalization in deep learningcited by 223
- 2021Training Neural Networks with Fixed Sparse Maskscited by 212
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2019SGD on Neural Networks Learns Functions of Increasing Complexitycited by 203
- 2021Revisiting Model Stitching to Compare Neural Representationscited by 203
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2016Recurrent Neural Network for Text Classification with Multi-Task Learningcited by 144
- 2022A Kernel-Based View of Language Model Fine-Tuningcited by 118
- 2020When BERT Plays the Lottery, All Tickets Are Winningcited by 114
- 2016Fully-adaptive Feature Sharing in Multi-Task Networks with Applications in Person Attribute Classificationcited by 93
- 2021Why Do Pretrained Language Models Help in Downstream Tasks? An Analysis of Head and Prompt Tuningcited by 82
- 2021Can Subnetwork Structure be the Key to Out-of-Distribution Generalization?cited by 75
- 2020A Mathematical Exploration of Why Language Models Help Solve Downstream Taskscited by 71
- 2022Finding Skill Neurons in Pre-trained Transformer-based Language Modelscited by 65
- 2021A Winning Hand: Compressing Deep Networks Can Improve Out-Of-Distribution Robustnesscited by 62
- 2021Super Tickets in Pre-Trained Language Models: From Model Compression to Improving Generalizationcited by 56
- 2019In Defense of Uniform Convergence: Generalization via derandomization with an application to interpolating predictorscited by 44
- 2022How to Fine-Tune Vision Models with SGDcited by 23
- 2022Hidden State Variability of Pretrained Language Models Can Guide Computation Reduction for Transfer Learningcited by 13
- 2021Adapting by Pruning: A Case Study on BERTcited by 11
- 2022A Win-win Deal: Towards Sparse and Robust Pre-trained Language Modelscited by 7
Built on by
Citing papers per year: 2023: 15; 2024: 44; 2025: 22; 2026: 23.
104 papers.
Sort:
By area:
- 2023Function Vectors in Large Language Modelscited by 292
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
- 2023Mitigating the Alignment Tax of RLHFcited by 181
- 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 140
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
- 2024Localizing Task Information for Improved Model Merging and Compressioncited by 130
- 2024Real-Time Anomaly Detection and Reactive Planning with Large Language Modelscited by 67
- 2024LoFiT: Localized Fine-tuning on LLM Representationscited by 56
- 2024Model Tailor: Mitigating Catastrophic Forgetting in Multi-modal Large Language Modelscited by 54
- 2024Localize-and-Stitch: Efficient Model Merging via Sparse Task Arithmeticcited by 50
- 2023Continual Instruction Tuning for Large Multimodal Modelscited by 49
38 more
- 2025Reinforcement Learning Finetunes Small Subnetworks in Large Language Modelscited by 46
- 2024Interpreting and Improving Large Language Models in Arithmetic Calculationcited by 43
- 2023When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitationscited by 41
- 2024Mechanistic Unlearning: Robust Knowledge Unlearning and Editing via Mechanistic Localizationcited by 34
- 2024The LLM Language Network: A Neuroscientific Approach for Identifying Causally Task-Relevant Unitscited by 34
- 2024Towards Understanding the Fragility of Multilingual LLMs against Fine-Tuning Attackscited by 33
- 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Timecited by 30
- 2025MergeBench: A Benchmark for Merging Domain-Specialized LLMscited by 30
- 2023Do Localization Methods Actually Localize Memorized Data in LLMs? A Tale of Two Benchmarkscited by 29
- 2024APT: Adaptive Pruning and Tuning Pretrained Language Models for Efficient Training and Inferencecited by 29
- 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsitycited by 27
- 2023Mitigating Biases for Instruction-following Language Models via Bias Neurons Eliminationcited by 23
- 2024Configurable Foundation Models: Building LLMs from a Modular Perspectivecited by 22
- 2024Efficient and Effective Weight-Ensembling Mixture of Experts for Multi-Task Model Mergingcited by 22
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 22
- 2024Decomposing and Editing Predictions by Modeling Model Computationcited by 19
- 2024Understanding Layer Significance in LLM Alignmentcited by 19
- 2024Separate the Wheat from the Chaff: A Post-Hoc Approach to Safety Re-Alignment for Fine-Tuned Language Modelscited by 19
- 2024TaSL: Continual Dialog State Tracking via Task Skill Localization and Consolidationcited by 18
- 2025Representation Engineering for Large-Language Models: Survey and Research Challengescited by 18
- 2025Continual Learning via Sparse Memory Finetuningcited by 17
- 2023Why Softmax Attention Outperforms Linear Attentioncited by 15
- 2024In-Context Learning State Vector with Inner and Momentum Optimizationcited by 15
- 2024RoVRM: A Robust Visual Reward Model Optimized via Auxiliary Textual Preference Datacited by 15
- 2025Recurrent Knowledge Identification and Fusion for Language Model Continual Learningcited by 14
- 2024Learning sum of diverse features: computational hardness and efficient gradient-based training for ridge combinationscited by 13
- 2024MoFO: Momentum-Filtered Optimizer for Mitigating Forgetting in LLM Fine-Tuningcited by 13
- 2023Uncovering Intermediate Variables in Transformers using Circuit Probingcited by 12
- 2024HiFT: A Hierarchical Full Parameter Fine-Tuning Strategycited by 12
- 2024SurgeryV2: Bridging the Gap Between Model Merging and Multi-Task Learning with Deep Representation Surgerycited by 12
- 2025Mitigating Catastrophic Forgetting in Large Language Models with Forgetting-aware Pruningcited by 12
- 2023Unmasking Transformers: A Theoretical Approach to Data Recovery via Attention Weightscited by 11
- 2024Parameter-Efficient Fine-Tuning of State Space Modelscited by 11
- 2025Learning Task Representations from In-Context Learningcited by 11
- 2025Neural Parameter Search for Slimmer Fine-Tuned Models and Better Transfercited by 11
- 2024Understanding Synthetic Context Extension via Retrieval Headscited by 10
- 2023NeuroSurgeon: A Toolkit for Subnetwork Analysiscited by 9
- 2023From Channel Bias to Feature Redundancy: Uncovering the "Less is More" Principle in Few-Shot Learningcited by 9
50 most cited of 104 All 104 (JSON)
- 2026Decoupling Internal Representational Changes and Causal Importance in Fine-Tuned Large Language Models17 Sep 2026
- 2026LLaVAFlow: Preserving Latent Alignment Flow for Parameter-Efficient Multimodal Fine-Tuning27 Aug 2026
- 2026Beyond Static Interpretability: Anticipating Post-SFT Mechanisms from Pre-SFT Parameters for Better Tuning25 Aug 2026
- 2026Distributed Sparse Interventions in Language Models8 Jul 2026
- 2026Curvature-Guided Mixing for MLLM Adaptation23 Jun 2026
- 2026LLM Parameters for Math Across Languages: Shared or Separate?16 Jun 2026
- 2026AI Engram: In Search of Memory Traces in Artificial Intelligence12 Jun 2026
- 2026Subliminal Learning is a LoRA Artifact30 May 2026
- 2026TRACE: Discovering Task-Specific Parameter via Adaptation-Aware Probing for Continual Fine-Tuning29 May 2026
- 2026Theoretical Analysis of Sparse Optimization with Reparameterization, Weight Decay, and Adaptive Learning Rate24 May 2026
- 2026Skill Weaving: Efficient LLM Improvement via Modular Skillpacks21 May 2026
- 2026Spectral Unforgetting: Post-Hoc Recovery of Damaged Capabilities Without Retraining19 May 2026
38 more
- 2026Dynamic Model Merging Made Slim17 May 2026
- 2026The Mechanism of Weak-to-Strong Generalization: Feature Elicitation from Latent Knowledge13 May 2026
- 2026One Algorithm, Two Goals: Dual Scoring for Parameter and Data Selection in LLM Fine-Tuning7 May 2026
- 2026Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottlenecks7 May 2026
- 2026Target-Oriented Pretraining Data Selection via Neuron-Activated Graph17 Apr 2026
- 2026Discovering Decoupled Functional Modules in Large Language Models18 Mar 2026
- 2026Grow, Don't Overwrite: Fine-tuning Without Forgetting9 Mar 2026
- 2026Compressed Sensing for Capability Localization in Large Language Models11 Feb 2026
- 2026Model-Dowser: Data-Free Importance Probing to Mitigate Catastrophic Forgetting in Multimodal Large Language Models4 Feb 2026
- 2026The Multiple Ticket Hypothesis: Random Sparse Subnetworks Suffice for RLVR2 Feb 2026
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Models20 Jan 2026
- 2025Model Merging Improves Zero-Shot Generalization in Bioacoustic Foundation Models7 Nov 2025
- 2025Continual Learning via Sparse Memory Finetuning16 Oct 2025
- 2025Erase or Hide? Suppressing Spurious Unlearning Neurons for Robust Unlearning26 Sep 2025
- 2025Harnessing Optimization Dynamics for Curvature-Informed Model Merging14 Sep 2025
- 2025Mitigating Catastrophic Forgetting in Large Language Models with Forgetting-aware Pruning10 Sep 2025
- 2025Unraveling the cognitive patterns of Large Language Models through module communities25 Aug 2025
- 2025Reinforcement Learning Fine-Tunes a Sparse Subnetwork in Large Language Models23 Jul 2025
- 2025LoSiA: Efficient High-Rank Fine-Tuning via Subnet Localization and Optimization6 Jul 2025
- 2025Dynamic Weight Grafting: Localizing Finetuned Factual Knowledge in Transformers25 Jun 2025
- 2025Neural Parameter Search for Slimmer Fine-Tuned Models and Better Transfer24 May 2025
- 2025Knowledge Fusion of Large Language Models Via Modular SkillPacks24 May 2025
- 2025Understanding Fact Recall in Language Models: Why Two-Stage Training Encourages Memorization but Mixed Training Teaches Knowledge22 May 2025
- 2025Multi-Modality Expansion and Retention for LLMs through Parameter Merging and Decoupling21 May 2025
- 2025Reinforcement Learning Finetunes Small Subnetworks in Large Language Models16 May 2025
- 2025MergeBench: A Benchmark for Merging Domain-Specialized LLMs16 May 2025
- 2025Gender Encoding Patterns in Pretrained Language Model Representations9 Mar 2025
- 2025Representation Engineering for Large-Language Models: Survey and Research Challenges24 Feb 2025
- 2025Recurrent Knowledge Identification and Fusion for Language Model Continual Learning22 Feb 2025
- 2025Pruning as a Defense: Reducing Memorization in Large Language Models18 Feb 2025
- 2025An Efficient Sparse Fine-Tuning with Low Quantization Error via Neural Network Pruning17 Feb 2025
- 2025Learning Task Representations from In-Context Learning8 Feb 2025
- 2025Optimize Incompatible Parameters through Compatibility-aware Knowledge Integration10 Jan 2025
- 2024Differentiable Prompt Learning for Vision Language Models31 Dec 2024
- 2024MOMA: Masked Orthogonal Matrix Alignment for Zero-Additional-Parameter Model Merging18 Dec 2024
- 2024Separate the Wheat from the Chaff: A Post-Hoc Approach to Safety Re-Alignment for Fine-Tuned Language Models15 Dec 2024
- 2024The LLM Language Network: A Neuroscientific Approach for Identifying Causally Task-Relevant Units4 Nov 2024
- 2024Understanding Synthetic Context Extension via Retrieval Heads29 Oct 2024
50 newest of 104 All 104 (JSON)
- 2024Model Tailor: Mitigating Catastrophic Forgetting in Multi-modal Large Language Modelscited by 54
- 2023Continual Instruction Tuning for Large Multimodal Modelscited by 49
- 2024RoVRM: A Robust Visual Reward Model Optimized via Auxiliary Textual Preference Datacited by 15
- 2025Multi-Modality Expansion and Retention for LLMs through Parameter Merging and Decouplingcited by 5
- 2026Model-Dowser: Data-Free Importance Probing to Mitigate Catastrophic Forgetting in Multimodal Large Language Modelscited by 2
- 2024Differentiable Prompt Learning for Vision Language Modelscited by 1
- 2026Curvature-Guided Mixing for MLLM Adaptationcited by 0
- 2026LLaVAFlow: Preserving Latent Alignment Flow for Parameter-Efficient Multimodal Fine-Tuningcited by 0
- 2026LLaVAFlow: Preserving Latent Alignment Flow for Parameter-Efficient Multimodal Fine-Tuning27 Aug 2026
- 2026Curvature-Guided Mixing for MLLM Adaptation23 Jun 2026
- 2026Model-Dowser: Data-Free Importance Probing to Mitigate Catastrophic Forgetting in Multimodal Large Language Models4 Feb 2026
- 2025Multi-Modality Expansion and Retention for LLMs through Parameter Merging and Decoupling21 May 2025
- 2024Differentiable Prompt Learning for Vision Language Models31 Dec 2024
- 2024RoVRM: A Robust Visual Reward Model Optimized via Auxiliary Textual Preference Data22 Aug 2024
- 2024Model Tailor: Mitigating Catastrophic Forgetting in Multi-modal Large Language Models19 Feb 2024
- 2023Continual Instruction Tuning for Large Multimodal Models27 Nov 2023
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
- 2023Mitigating the Alignment Tax of RLHFcited by 181
- 2024Understanding Layer Significance in LLM Alignmentcited by 19
- 2024Separate the Wheat from the Chaff: A Post-Hoc Approach to Safety Re-Alignment for Fine-Tuned Language Modelscited by 19
- 2024Balancing Speciality and Versatility: A Coarse to Fine Framework for Mitigating Catastrophic Forgetting in Large Language Modelscited by 3
- 2025Reinforcement Learning Fine-Tunes a Sparse Subnetwork in Large Language Modelscited by 2
- 2026Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottleneckscited by 0
- 2026Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottlenecks7 May 2026
- 2025Reinforcement Learning Fine-Tunes a Sparse Subnetwork in Large Language Models23 Jul 2025
- 2024Separate the Wheat from the Chaff: A Post-Hoc Approach to Safety Re-Alignment for Fine-Tuned Language Models15 Dec 2024
- 2024Understanding Layer Significance in LLM Alignment23 Oct 2024
- 2024Balancing Speciality and Versatility: A Coarse to Fine Framework for Mitigating Catastrophic Forgetting in Large Language Models16 Apr 2024
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb 2024
- 2023Mitigating the Alignment Tax of RLHF12 Sep 2023
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
- 2024The LLM Language Network: A Neuroscientific Approach for Identifying Causally Task-Relevant Unitscited by 34
- 2026Compressed Sensing for Capability Localization in Large Language Modelscited by 2
- 2026LLM Parameters for Math Across Languages: Shared or Separate?cited by 1
- 2026LLM Parameters for Math Across Languages: Shared or Separate?16 Jun 2026
- 2026Compressed Sensing for Capability Localization in Large Language Models11 Feb 2026
- 2024The LLM Language Network: A Neuroscientific Approach for Identifying Causally Task-Relevant Units4 Nov 2024
- 2024The Unreasonable Ineffectiveness of the Deeper Layers26 Mar 2024
- 2024Mechanistic Unlearning: Robust Knowledge Unlearning and Editing via Mechanistic Localizationcited by 34
- 2024Towards Understanding the Fragility of Multilingual LLMs against Fine-Tuning Attackscited by 33
- 2024NegMerge: Sign-Consensual Weight Merging for Machine Unlearningcited by 9
- 2025Erase or Hide? Suppressing Spurious Unlearning Neurons for Robust Unlearningcited by 5
- 2025Erase or Hide? Suppressing Spurious Unlearning Neurons for Robust Unlearning26 Sep 2025
- 2024Towards Understanding the Fragility of Multilingual LLMs against Fine-Tuning Attacks23 Oct 2024
- 2024Mechanistic Unlearning: Robust Knowledge Unlearning and Editing via Mechanistic Localization16 Oct 2024
- 2024NegMerge: Sign-Consensual Weight Merging for Machine Unlearning8 Oct 2024
- 2024Parameter-Efficient Fine-Tuning of State Space Modelscited by 11
- 2024Parameter-Efficient Fine-Tuning of State Space Models11 Oct 2024
- 2023Function Vectors in Large Language Modelscited by 292
- 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 140
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
- 2024Localizing Task Information for Improved Model Merging and Compressioncited by 130
- 2024Real-Time Anomaly Detection and Reactive Planning with Large Language Modelscited by 67
- 2024LoFiT: Localized Fine-tuning on LLM Representationscited by 56
- 2024Localize-and-Stitch: Efficient Model Merging via Sparse Task Arithmeticcited by 50
- 2025Reinforcement Learning Finetunes Small Subnetworks in Large Language Modelscited by 46
- 2024Interpreting and Improving Large Language Models in Arithmetic Calculationcited by 43
- 2023When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitationscited by 41
- 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Timecited by 30
- 2025MergeBench: A Benchmark for Merging Domain-Specialized LLMscited by 30
12 most cited of 78 All 78 (JSON)
- 2026Decoupling Internal Representational Changes and Causal Importance in Fine-Tuned Large Language Models17 Sep 2026
- 2026Beyond Static Interpretability: Anticipating Post-SFT Mechanisms from Pre-SFT Parameters for Better Tuning25 Aug 2026
- 2026Distributed Sparse Interventions in Language Models8 Jul 2026
- 2026AI Engram: In Search of Memory Traces in Artificial Intelligence12 Jun 2026
- 2026Subliminal Learning is a LoRA Artifact30 May 2026
- 2026TRACE: Discovering Task-Specific Parameter via Adaptation-Aware Probing for Continual Fine-Tuning29 May 2026
- 2026Theoretical Analysis of Sparse Optimization with Reparameterization, Weight Decay, and Adaptive Learning Rate24 May 2026
- 2026Skill Weaving: Efficient LLM Improvement via Modular Skillpacks21 May 2026
- 2026Spectral Unforgetting: Post-Hoc Recovery of Damaged Capabilities Without Retraining19 May 2026
- 2026Dynamic Model Merging Made Slim17 May 2026
- 2026The Mechanism of Weak-to-Strong Generalization: Feature Elicitation from Latent Knowledge13 May 2026
- 2026One Algorithm, Two Goals: Dual Scoring for Parameter and Data Selection in LLM Fine-Tuning7 May 2026
12 newest of 78 All 78 (JSON)