Finding Skill Neurons in Pre-trained Transformer-based Language Models
Not on the map. Why?
Abstract (arXiv)
Transformer-based pre-trained language models have demonstrated superior performance on various natural language processing tasks. However, it remains unclear how the skills required to handle these tasks distribute among model parameters. In this paper, we find that after prompt tuning for specific tasks, the activations of some neurons within pre-trained Transformers are highly predictive of the task labels. We dub these neurons skill neurons and confirm they encode task-specific skills by finding that: (1) Skill neurons are crucial for handling tasks. Performances of pre-trained Transformers on a task significantly drop when corresponding skill neurons are perturbed. (2) Skill neurons are task-specific. Similar tasks tend to have similar distributions of skill neurons. Furthermore, we demonstrate the skill neurons are most likely generated in pre-training rather than fine-tuning by showing that the skill neurons found with prompt tuning are also crucial for other fine-tuning methods freezing neuron weights, such as the adapter-based tuning and BitFit. We also explore the applications of skill neurons, including accelerating Transformers with network pruning and building better transferability indicators. These findings may promote further research on understanding Transformers. The source code can be obtained from https://github.com/THU-KEG/Skill-Neuron.
Key facts. Cited by 65 papers in the map (data through 7 Oct 2026). Builds on 54 of its 75 references that are in the map. First posted on arXiv 14 Nov 2022.
Builds on
54 of 75 references.
References · 54
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 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
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
38 more
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2013Visualizing and Understanding Convolutional Networkscited by 2,278
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2019How Can We Know What Language Models Know?cited by 953
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2017Network Dissection: Quantifying Interpretability of Deep Visual Representationscited by 703
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2021Fast Model Editing at Scalecited by 491
- 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 414
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2018Stronger generalization bounds for deep nets via a compression approachcited by 306
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2020Understanding the Role of Individual Units in a Deep Neural Networkcited by 254
- 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
- 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 209
- 2020Proving the Lottery Ticket Hypothesis: Pruning is All You Needcited by 200
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2014Object Detectors Emerge in Deep Scene CNNscited by 178
- 2020Compositional Explanations of Neuronscited by 172
- 2015Visualizing and Understanding Recurrent Networkscited by 158
- 2015Structured Pruning of Deep Convolutional Neural Networkscited by 148
- 2017Learning to Generate Reviews and Discovering Sentimentcited by 147
- 2018What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Modelscited by 124
- 2018Identifying and Controlling Important Neurons in Neural Machine Translationcited by 110
- 2018On the importance of single directions for generalizationcited by 99
- 2020Analyzing Individual Neurons in Pre-trained Language Modelscited by 97
- 2021On the Pitfalls of Analyzing Individual Neurons in Language Modelscited by 61
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2022: 1; 2023: 20; 2024: 18; 2025: 15; 2026: 11.
65 papers.
Sort:
By area:
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
- 2023Function Vectors in Large Language Modelscited by 292
- 2022Reasoning with Language Model Prompting: A Surveycited by 251
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2023Task-Specific Skill Localization in Fine-tuned Language Modelscited by 104
- 2024Universal Neurons in GPT2 Language Modelscited by 100
- 2023Soft Merging of Experts with Adaptive Routingcited by 88
38 more
- 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 66
- 2024ConceptPrune: Concept Editing in Diffusion Models via Skilled Neuron Pruningcited by 51
- 2024Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neuronscited by 47
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 38
- 2023Emergent Modularity in Pre-trained Transformerscited by 37
- 2025M2IV: Towards Efficient and Fine-grained Multimodal In-Context Learning via Representation Engineeringcited by 34
- 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
- 2024APT: Adaptive Pruning and Tuning Pretrained Language Models for Efficient Training and Inferencecited by 29
- 2023GradientCoin: A Peer-to-Peer Decentralized Large Language Modelscited by 23
- 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMscited by 20
- 2024Neuron-Level Sequential Editing for Large Language Modelscited by 18
- 2024Large Language Model Bias Mitigation from the Perspective of Knowledge Editingcited by 16
- 2023Towards a fuller understanding of neurons with Clustered Compositional Explanationscited by 15
- 2024Learning sum of diverse features: computational hardness and efficient gradient-based training for ridge combinationscited by 13
- 2025Learning Task Representations from In-Context Learningcited by 11
- 2025Concept Corrector: Erase concepts on the fly for text-to-image diffusion modelscited by 11
- 2025From Text to Space: Mapping Abstract Spatial Models in LLMs during a Grid-World Navigation Taskcited by 10
- 2025Model Utility Law: Evaluating LLMs beyond Performance through Mechanism Interpretable Metriccited by 10
- 2023Evaluating Neuron Interpretation Methods of NLP Modelscited by 8
- 2023Examining the Causal Effect of First Names on Language Models: The Case of Social Commonsense Reasoningcited by 8
- 2023The Expressibility of Polynomial based Attention Schemecited by 7
- 2023Language-Specific Representation of Emotion-Concept Knowledge Causally Supports Emotion Inferencecited by 6
- 2023CRaSh: Clustering, Removing, and Sharing Enhance Fine-tuning without Full Large Language Modelcited by 5
- 2024Property Neurons in Self-Supervised Speech Transformerscited by 5
- 2024Exploring the Benefit of Activation Sparsity in Pre-trainingcited by 5
- 2025Erase or Hide? Suppressing Spurious Unlearning Neurons for Robust Unlearningcited by 5
- 2026Multilingual Safety Alignment Via Sparse Weight Editingcited by 5
- 2026When Does Recurrence Become an Algorithm? Convergence Selection in Weight-Tied Looped Transformerscited by 5
- 2023Establishing Trustworthiness: Rethinking Tasks and Model Evaluationcited by 4
- 2023Vision Enhancing LLMs: Empowering Multimodal Knowledge Storage and Sharing in LLMscited by 4
- 2025Brain-Inspired Exploration of Functional Networks and Key Neurons in Large Language Modelscited by 4
- 2025Triple Phase Transitions: Understanding the Learning Dynamics of Large Language Models from a Neuroscience Perspectivecited by 4
- 2025Identifying Multi-modal Knowledge Neurons in Pretrained Transformers via Two-stage Filteringcited by 3
- 2025Continual Personalization for Diffusion Modelscited by 3
- 2026A Local Perturbation Theory for Cross-Domain Interference and Recovery in Multi-Domain RLcited by 3
- 2023Knowledge Rumination for Pre-trained Language Modelscited by 2
- 2026Weight Patching: Toward Source-Level Mechanistic Localization in LLMscited by 2
- 2023On the Relationship between Skill Neurons and Robustness in Prompt Tuningcited by 1
50 most cited of 65 All 65 (JSON)
- 2026Causal Routing for Unlearning28 Sep 2026
- 2026Hallucination Neurons and Where to Find Them: An Investigation into the existence of Hallucination Neurons24 Sep 2026
- 2026Complementary Roles of Activation and Parametric Memory in Few-Shot Learning23 Sep 2026
- 2026Decodable But Not Detachable: Training Data Granularity Determines Parametric Modularity in Large Language Models10 Aug 2026
- 2026GEB-Bench: Abstract Structures Told in Many Voices4 Aug 2026
- 2026When Does Recurrence Become an Algorithm? Convergence Selection in Weight-Tied Looped Transformers22 Jul 2026
- 2026Distributed Sparse Interventions in Language Models8 Jul 2026
- 2026A Local Perturbation Theory for Cross-Domain Interference and Recovery in Multi-Domain RL1 Jun 2026
- 2026Weight Patching: Toward Source-Level Mechanistic Localization in LLMs15 Apr 2026
- 2026Multilingual Safety Alignment Via Sparse Weight Editing26 Feb 2026
- 2026Do LLMs and VLMs Share Neurons for Inference? Evidence and Mechanisms of Cross-Modal Transfer22 Feb 2026
- 2025Sparse Subnetwork Enhancement for Underrepresented Languages in Large Language Models15 Oct 2025
38 more
- 2025Multimodal Function Vectors for Visual Relations2 Oct 2025
- 2025Continual Personalization for Diffusion Models2 Oct 2025
- 2025Erase or Hide? Suppressing Spurious Unlearning Neurons for Robust Unlearning26 Sep 2025
- 2025Explaining How Visual, Textual and Multimodal Encoders Share Concepts24 Jul 2025
- 2025Understanding Fact Recall in Language Models: Why Two-Stage Training Encourages Memorization but Mixed Training Teaches Knowledge22 May 2025
- 2025Model Utility Law: Evaluating LLMs beyond Performance through Mechanism Interpretable Metric10 Apr 2025
- 2025Neuron-level Balance between Stability and Plasticity in Deep Reinforcement Learning9 Apr 2025
- 2025M2IV: Towards Efficient and Fine-grained Multimodal In-Context Learning via Representation Engineering6 Apr 2025
- 2025Identifying Multi-modal Knowledge Neurons in Pretrained Transformers via Two-stage Filtering29 Mar 2025
- 2025Triple Phase Transitions: Understanding the Learning Dynamics of Large Language Models from a Neuroscience Perspective28 Feb 2025
- 2025From Text to Space: Mapping Abstract Spatial Models in LLMs during a Grid-World Navigation Task23 Feb 2025
- 2025Concept Corrector: Erase concepts on the fly for text-to-image diffusion models22 Feb 2025
- 2025Brain-Inspired Exploration of Functional Networks and Key Neurons in Large Language Models13 Feb 2025
- 2025Learning Task Representations from In-Context Learning8 Feb 2025
- 2024Neuron-Level Sequential Editing for Large Language Models5 Oct 2024
- 2024Exploring the Benefit of Activation Sparsity in Pre-training4 Oct 2024
- 2024Property Neurons in Self-Supervised Speech Transformers7 Sep 2024
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models2 Jul 2024
- 2024Memorizing Documents with Guidance in Large Language Models23 Jun 2024
- 2024Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neurons20 Jun 2024
- 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs18 Jun 2024
- 2024Learning sum of diverse features: computational hardness and efficient gradient-based training for ridge combinations17 Jun 2024
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Addition5 Jun 2024
- 2024FFNet: MetaMixer-based Efficient Convolutional Mixer Design4 Jun 2024
- 2024ConceptPrune: Concept Editing in Diffusion Models via Skilled Neuron Pruning29 May 2024
- 2024Large Language Model Bias Mitigation from the Perspective of Knowledge Editing15 May 2024
- 2024Binary Hypothesis Testing for Softmax Models and Leverage Score Models9 May 2024
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb 2024
- 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMs6 Feb 2024
- 2024APT: Adaptive Pruning and Tuning Pretrained Language Models for Efficient Training and Inference22 Jan 2024
- 2024Universal Neurons in GPT2 Language Models22 Jan 2024
- 2024A Comprehensive Study of Knowledge Editing for Large Language Models2 Jan 2024
- 2023Vision Enhancing LLMs: Empowering Multimodal Knowledge Storage and Sharing in LLMs27 Nov 2023
- 2023The Expressibility of Polynomial based Attention Scheme30 Oct 2023
- 2023Towards a fuller understanding of neurons with Clustered Compositional Explanations27 Oct 2023
- 2023CRaSh: Clustering, Removing, and Sharing Enhance Fine-tuning without Full Large Language Model24 Oct 2023
- 2023Function Vectors in Large Language Models23 Oct 2023
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasets10 Oct 2023
50 newest of 65 All 65 (JSON)
- 2022Reasoning with Language Model Prompting: A Surveycited by 251
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 38
- 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMscited by 20
- 2023Examining the Causal Effect of First Names on Language Models: The Case of Social Commonsense Reasoningcited by 8
- 2023Establishing Trustworthiness: Rethinking Tasks and Model Evaluationcited by 4
- 2026A Local Perturbation Theory for Cross-Domain Interference and Recovery in Multi-Domain RLcited by 3
- 2026A Local Perturbation Theory for Cross-Domain Interference and Recovery in Multi-Domain RL1 Jun 2026
- 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs18 Jun 2024
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Addition5 Jun 2024
- 2023Establishing Trustworthiness: Rethinking Tasks and Model Evaluation9 Oct 2023
- 2023Examining the Causal Effect of First Names on Language Models: The Case of Social Commonsense Reasoning1 Jun 2023
- 2022Reasoning with Language Model Prompting: A Survey19 Dec 2022
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
- 2024Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neuronscited by 47
- 2023CRaSh: Clustering, Removing, and Sharing Enhance Fine-tuning without Full Large Language Modelcited by 5
- 2026Multilingual Safety Alignment Via Sparse Weight Editingcited by 5
- 2026Hallucination Neurons and Where to Find Them: An Investigation into the existence of Hallucination Neuronscited by 0
- 2026Hallucination Neurons and Where to Find Them: An Investigation into the existence of Hallucination Neurons24 Sep 2026
- 2026Multilingual Safety Alignment Via Sparse Weight Editing26 Feb 2026
- 2024Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neurons20 Jun 2024
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb 2024
- 2023CRaSh: Clustering, Removing, and Sharing Enhance Fine-tuning without Full Large Language Model24 Oct 2023
- 2025M2IV: Towards Efficient and Fine-grained Multimodal In-Context Learning via Representation Engineeringcited by 34
- 2023Vision Enhancing LLMs: Empowering Multimodal Knowledge Storage and Sharing in LLMscited by 4
- 2025Identifying Multi-modal Knowledge Neurons in Pretrained Transformers via Two-stage Filteringcited by 3
- 2026Do LLMs and VLMs Share Neurons for Inference? Evidence and Mechanisms of Cross-Modal Transfercited by 1
- 2025Multimodal Function Vectors for Visual Relationscited by 0
- 2026Do LLMs and VLMs Share Neurons for Inference? Evidence and Mechanisms of Cross-Modal Transfer22 Feb 2026
- 2025Multimodal Function Vectors for Visual Relations2 Oct 2025
- 2025M2IV: Towards Efficient and Fine-grained Multimodal In-Context Learning via Representation Engineering6 Apr 2025
- 2025Identifying Multi-modal Knowledge Neurons in Pretrained Transformers via Two-stage Filtering29 Mar 2025
- 2023Vision Enhancing LLMs: Empowering Multimodal Knowledge Storage and Sharing in LLMs27 Nov 2023
- 2023Soft Merging of Experts with Adaptive Routingcited by 88
- 2024Exploring the Benefit of Activation Sparsity in Pre-trainingcited by 5
- 2024Exploring the Benefit of Activation Sparsity in Pre-training4 Oct 2024
- 2023Soft Merging of Experts with Adaptive Routing6 Jun 2023
- 2025Erase or Hide? Suppressing Spurious Unlearning Neurons for Robust Unlearningcited by 5
- 2026Causal Routing for Unlearningcited by 0
- 2026Causal Routing for Unlearning28 Sep 2026
- 2025Erase or Hide? Suppressing Spurious Unlearning Neurons for Robust Unlearning26 Sep 2025
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
- 2023Function Vectors in Large Language Modelscited by 292
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2023Task-Specific Skill Localization in Fine-tuned Language Modelscited by 104
- 2024Universal Neurons in GPT2 Language Modelscited by 100
- 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 66
- 2023Emergent Modularity in Pre-trained Transformerscited by 37
- 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
12 most cited of 41 All 41 (JSON)
- 2026Complementary Roles of Activation and Parametric Memory in Few-Shot Learning23 Sep 2026
- 2026Decodable But Not Detachable: Training Data Granularity Determines Parametric Modularity in Large Language Models10 Aug 2026
- 2026GEB-Bench: Abstract Structures Told in Many Voices4 Aug 2026
- 2026When Does Recurrence Become an Algorithm? Convergence Selection in Weight-Tied Looped Transformers22 Jul 2026
- 2026Distributed Sparse Interventions in Language Models8 Jul 2026
- 2026Weight Patching: Toward Source-Level Mechanistic Localization in LLMs15 Apr 2026
- 2025Sparse Subnetwork Enhancement for Underrepresented Languages in Large Language Models15 Oct 2025
- 2025Explaining How Visual, Textual and Multimodal Encoders Share Concepts24 Jul 2025
- 2025Understanding Fact Recall in Language Models: Why Two-Stage Training Encourages Memorization but Mixed Training Teaches Knowledge22 May 2025
- 2025Model Utility Law: Evaluating LLMs beyond Performance through Mechanism Interpretable Metric10 Apr 2025
- 2025Neuron-level Balance between Stability and Plasticity in Deep Reinforcement Learning9 Apr 2025
- 2025Triple Phase Transitions: Understanding the Learning Dynamics of Large Language Models from a Neuroscience Perspective28 Feb 2025
12 newest of 41 All 41 (JSON)