mlsanityData to 14 Oct 2026

Towards Understanding Multi-Task Learning (Generalization) of LLMs via Detecting and Exploring Task-Specific Neurons

arXiv 2407.06488 ↗First posted 9 Jul 2024cs.CL cs.LGcited by 25

Not on the map. Why?

Abstract (arXiv)

While large language models (LLMs) have demonstrated superior multi-task capabilities, understanding the learning mechanisms behind this is still a challenging problem. In this paper, we attempt to understand such mechanisms from the perspective of neurons. Specifically, we detect task-sensitive neurons in LLMs via gradient attribution on task-specific data. Through extensive deactivation and fine-tuning experiments, we demonstrate that the detected neurons are highly correlated with the given task, which we term as task-specific neurons. With these identified task-specific neurons, we delve into two common problems in multi-task learning and continuous learning: Generalization and Catastrophic Forgetting. We find that the overlap of task-specific neurons is strongly associated with generalization and specialization across tasks. Interestingly, at certain layers of LLMs, there is a high similarity in the parameters of different task-specific neurons, and such similarity is highly correlated with the generalization performance. Inspired by these findings, we propose a neuron-level continuous fine-tuning method that only fine-tunes the current task-specific neurons during continuous learning, and extensive experiments demonstrate the effectiveness of the proposed method. Our study provides insights into the interpretability of LLMs in multi-task learning.

Key facts. Cited by 25 papers in the map (data through 14 Oct 2026). Builds on 38 of its 51 references that are in the map. First posted on arXiv 9 Jul 2024.

Builds on

38 of 51 references.

References · 38

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  5. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  6. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  7. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
  8. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  9. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
  10. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  11. 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,105
  12. 2023LIMA: Less Is More for Alignmentcited by 1,100
26 more
  1. 2015Teaching Machines to Read and Comprehendcited by 1,049
  2. 2017Crowdsourcing Multiple Choice Science Questionscited by 765
  3. 2022Transformers learn in-context by gradient descentcited by 732
  4. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  5. 2021Knowledge Neurons in Pretrained Transformerscited by 601
  6. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
  7. 2023Studying Large Language Model Generalization with Influence Functionscited by 326
  8. 2023Orthogonal Subspace Learning for Language Model Continual Learningcited by 312
  9. 2023Large Language Model Alignment: A Surveycited by 243
  10. 2023Progressive Prompts: Continual Learning for Language Modelscited by 197
  11. 2022Fine-tuned Language Models are Continual Learnerscited by 156
  12. 2024How do Large Language Models Handle Multilingualism?cited by 150
  13. 2017Learning to Generate Reviews and Discovering Sentimentcited by 148
  14. 2020The Multilingual Amazon Reviews Corpuscited by 143
  15. 2024Language-Specific Neurons: The Key to Multilingual Capabilities in Large Language Modelscited by 126
  16. 2019Evaluating the State-of-the-Art of End-to-End Natural Language Generation: The E2E NLG Challengecited by 86
  17. 2022Continual Learning of Natural Language Processing Tasks: A Surveycited by 83
  18. 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
  19. 2023Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neuronscited by 56
  20. 2019TWEETQA: A Social Media Focused Question Answering Datasetcited by 55
  21. 2024IRCAN: Mitigating Knowledge Conflicts in LLM Generation via Identifying and Reweighting Context-Aware Neuronscited by 38
  22. 2024Unveiling the Generalization Power of Fine-Tuned Large Language Modelscited by 36
  23. 2024Learnable Privacy Neurons Localization in Language Modelscited by 27
  24. 2021Importance-based Neuron Allocation for Multilingual Neural Machine Translationcited by 23
  25. 2024Language Models can Exploit Cross-Task In-context Learning for Data-Scarce Novel Taskscited by 13
  26. 2023Improving Cross-Task Generalization with Step-by-Step Instructionscited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 8; 2026: 14.

25 papers.

Sort:

By area:

  1. 2026Graph is a Substrate Across Data Modalitiescited by 14
  2. 2025Understanding How Value Neurons Shape the Generation of Specified Values in LLMscited by 13
  3. 2024FuxiTranyu: A Multilingual Large Language Model Trained with Balanced Datacited by 10
  4. 2024Math Neurosurgery: Isolating Language Models' Math Reasoning Abilities Using Only Forward Passescited by 10
  5. 2025From Text to Space: Mapping Abstract Spatial Models in LLMs during a Grid-World Navigation Taskcited by 10
  6. 2025Understanding and Mitigating Political Stance Cross-topic Generalization in Large Language Modelscited by 6
  7. 2026Decomposing the Basic Abilities of Large Language Models: Mitigating Cross-Task Interference in Multi-Task Instruct-Tuningcited by 5
  8. 2025Unveiling the Influence of Amplifying Language-Specific Neuronscited by 3
  9. 2026A Local Perturbation Theory for Cross-Domain Interference and Recovery in Multi-Domain RLcited by 3
  10. 2024Exploring Language Model Generalization in Low-Resource Extractive QAcited by 2
  11. 2025LoKI: Low-damage Knowledge Implanting of Large Language Modelscited by 2
  12. 2025A Survey on Training-free Alignment of Large Language Modelscited by 2
13 more
  1. 2026Estimating and Orthogonalizing Unknown Pre-training Gradients for Continual Fine-tuning of Large Language Modelscited by 1
  2. 2025SurvSurf: a partially monotonic neural network for first-hitting time prediction of intermittently observed discrete and continuous sequential eventscited by 0
  3. 2025Classifier Language Models: Unifying Sparse Finetuning and Adaptive Tokenization for Specialized Classification Taskscited by 0
  4. 2026Consensus-Aligned Neuron Efficient Fine-Tuning Large Language Models for Multi-Domain Machine Translationcited by 0
  5. 2026Where Does Robustness Live? Neuron-Guided Adaptation for Retrieval-Augmented Language Modelscited by 0
  6. 2026Multilingual Fine-Tuning via Localized Gradient Conflict Resolutioncited by 0
  7. 2026Are the High-weight Neurons the Important Ones in Image Classification Neural Networks?cited by 0
  8. 2026RACE: Scalable Statistical Estimation of Functional Consistency in LLM Neuronscited by 0
  9. 2026Neuron-Guided Fine-Tuning: Unlocking Efficient Alignment Mechanisms for Large Language Modelscited by 0
  10. 2026Decoupling Internal Representational Changes and Causal Importance in Fine-Tuned Large Language Modelscited by 0
  11. 2026Hallucination Neurons and Where to Find Them: An Investigation into the existence of Hallucination Neuronscited by 0
  12. 2026Kernelized Parameter Sensitivity Atlases for Amortized Conditional Interpretabilitycited by 0
  13. 2026Support or Magnitude? Characterizing Neuron Relevance for Instruction Data Selectioncited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Exploring the Limits of Pruning: Task-Specific Neurons, Model Collapse, and Recovery in Task-Specific Large Language Models
  2. 2025Unveiling Instruction-Specific Neurons & Experts: An Analytical Framework for LLM's Instruction-Following Capabilities
  3. 2024The LLM Language Network: A Neuroscientific Approach for Identifying Causally Task-Relevant Units
  4. 2024Dissecting Language Models: Machine Unlearning via Selective Pruning
  5. 2024Converging to a Lingua Franca: Evolution of Linguistic Regions and Semantics Alignment in Multilingual Large Language Models
  6. 2025Auxiliary Metrics Help Decoding Skill Neurons in the Wild
  7. 2024Mitigating Copy Bias in In-Context Learning through Neuron Pruning
  8. 2025Beyond Single-Task: Robust Multi-Task Length Generalization for LLMs