mlsanityData to 7 Oct 2026

Neurons in Large Language Models: Dead, N-gram, Positional

arXiv 2309.04827 ↗First posted 9 Sep 2023cs.CLcited by 88

Not on the map. Why?

Abstract (arXiv)

We analyze a family of large language models in such a lightweight manner that can be done on a single GPU. Specifically, we focus on the OPT family of models ranging from 125m to 66b parameters and rely only on whether an FFN neuron is activated or not. First, we find that the early part of the network is sparse and represents many discrete features. Here, many neurons (more than 70% in some layers of the 66b model) are "dead", i.e. they never activate on a large collection of diverse data. At the same time, many of the alive neurons are reserved for discrete features and act as token and n-gram detectors. Interestingly, their corresponding FFN updates not only promote next token candidates as could be expected, but also explicitly focus on removing the information about triggering them tokens, i.e., current input. To the best of our knowledge, this is the first example of mechanisms specialized at removing (rather than adding) information from the residual stream. With scale, models become more sparse in a sense that they have more dead neurons and token detectors. Finally, some neurons are positional: them being activated or not depends largely (or solely) on position and less so (or not at all) on textual data. We find that smaller models have sets of neurons acting as position range indicators while larger models operate in a less explicit manner.

Key facts. Cited by 88 papers in the map (data through 7 Oct 2026). Builds on 43 of its 56 references that are in the map. First posted on arXiv 9 Sep 2023.

Builds on

43 of 56 references.

References · 43

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2020Scaling Laws for Neural Language Modelscited by 6,411
  4. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  6. 2022Emergent Abilities of Large Language Modelscited by 2,483
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  8. 2018Deep contextualized word representationscited by 2,285
  9. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  10. 2023PaLM 2 Technical Reportcited by 1,154
  11. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  12. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
31 more
  1. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  2. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  3. 2020Recipes for building an open-domain chatbotcited by 593
  4. 2021Knowledge Neurons in Pretrained Transformerscited by 590
  5. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
  6. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  7. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  8. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  9. 2015Neural Module Networkscited by 375
  10. 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
  11. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  12. 2019Revealing the Dark Secrets of BERTcited by 300
  13. 2020The Pushshift Reddit Datasetcited by 289
  14. 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
  15. 2019Sparse Sequence-to-Sequence Modelscited by 167
  16. 2015Visualizing and Understanding Recurrent Networkscited by 158
  17. 2019Adaptively Sparse Transformerscited by 154
  18. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
  19. 2017Learning to Generate Reviews and Discovering Sentimentcited by 147
  20. 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
  21. 2018Identifying and Controlling Important Neurons in Neural Machine Translationcited by 110
  22. 2018Context-Aware Neural Machine Translation Learns Anaphora Resolutioncited by 97
  23. 2020Text Modular Networks: Learning to Decompose Tasks in the Language of Existing Modelscited by 65
  24. 2018Modular Networks: Learning to Decompose Neural Computationcited by 62
  25. 2018Explainable Neural Computation via Stack Neural Module Networkscited by 54
  26. 2023Explaining How Transformers Use Context to Build Predictionscited by 42
  27. 2017A Regularized Framework for Sparse and Structured Neural Attentioncited by 38
  28. 2018Understanding Convolutional Neural Networks for Text Classificationcited by 36
  29. 2020Sparse Text Generationcited by 24
  30. 2021Of Non-Linearity and Commutativity in BERTcited by 16
  31. 2019Understanding Multi-Head Attention in Abstractive Summarizationcited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 36; 2025: 26; 2026: 24.

88 papers.

Sort:

By area:

  1. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
  2. 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
  3. 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
  4. 2024Language-Specific Neurons: The Key to Multilingual Capabilities in Large Language Modelscited by 124
  5. 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformerscited by 116
  6. 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
  7. 2024Universal Neurons in GPT2 Language Modelscited by 100
  8. 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
  9. 2024Attention Heads of Large Language Models: A Surveycited by 65
  10. 2024Confidence Regulation Neurons in Language Modelscited by 57
  11. 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuningcited by 56
  12. 2024Spectral Filters, Dark Signals, and Attention Sinkscited by 54
38 more
  1. 2025Do Language Models Use Their Depth Efficiently?cited by 48
  2. 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 43
  3. 2024Denoising Vision Transformerscited by 40
  4. 2025Enhancing Automated Interpretability with Output-Centric Feature Descriptionscited by 39
  5. 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 37
  6. 2025A Survey on Mechanistic Interpretability for Multi-Modal Foundation Modelscited by 34
  7. 2024Sharing Matters: Analysing Neurons Across Languages and Tasks in LLMscited by 33
  8. 2023Interpretability Illusions in the Generalization of Simplified Modelscited by 24
  9. 2025RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patternscited by 24
  10. 2024Understanding Transformers via N-gram Statisticscited by 23
  11. 2024Configurable Foundation Models: Building LLMs from a Modular Perspectivecited by 22
  12. 2024Repetition Neurons: How Do Language Models Produce Repetitions?cited by 22
  13. 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 22
  14. 2024Neuron Specialization: Leveraging intrinsic task modularity for multilingual machine translationcited by 19
  15. 2024The Potential and Challenges of Evaluating Attitudes, Opinions, and Values in Large Language Modelscited by 19
  16. 2024Understanding Layer Significance in LLM Alignmentcited by 19
  17. 2025Scaling Embedding Layers in Language Modelscited by 19
  18. 2024LM Transparency Tool: Interactive Tool for Analyzing Transformer Language Modelscited by 16
  19. 2025Language Model Behavioral Phases are Consistent Across Architecture, Training Data, and Scalecited by 13
  20. 2024Identifying Query-Relevant Neurons in Large Language Models for Long-Form Textscited by 12
  21. 2024Mitigating Copy Bias in In-Context Learning through Neuron Pruningcited by 11
  22. 2024Can Transformers Learn n-gram Language Models?cited by 11
  23. 2025Precise In-Parameter Concept Erasure in Large Language Modelscited by 11
  24. 2024Understanding Reasoning in Chain-of-Thought from the Hopfieldian Viewcited by 10
  25. 2025From Neurons to Semantics: Evaluating Cross-Linguistic Alignment Capabilities of Large Language Models via Neurons Alignmentcited by 9
  26. 2024Let's Focus on Neuron: Neuron-Level Supervised Fine-tuning for Large Language Modelcited by 8
  27. 2025Meaningless Tokens, Meaningful Gains: How Activation Shifts Enhance LLM Reasoningcited by 8
  28. 2025Unraveling LLM Jailbreaks Through Safety Knowledge Neuronscited by 7
  29. 2025Mechanistic Indicators of Understanding in Large Language Modelscited by 6
  30. 2026Discovering and Causally Validating Emotion-Sensitive Neurons in Large Audio-Language Modelscited by 6
  31. 2026A Defense of the Quadratic Modelcited by 6
  32. 2024See the Unseen: Better Context-Consistent Knowledge-Editing by Noisescited by 5
  33. 2024Multilevel Interpretability Of Artificial Neural Networks: Leveraging Framework And Methods From Neurosciencecited by 5
  34. 2024Property Neurons in Self-Supervised Speech Transformerscited by 5
  35. 2025Neurons Speak in Ranges: Breaking Free from Discrete Neuronal Attributioncited by 5
  36. 2025Bigram Subnetworks: Mapping to Next Tokens in Transformer Language Modelscited by 5
  37. 2024Jet Expansions of Residual Computationcited by 4
  38. 2025Understanding LLMs' Cross-Lingual Context Retrieval: How Good It Is And Where It Comes Fromcited by 4

50 most cited of 88 All 88 (JSON)