The emergence of number and syntax units in LSTM language models
Not on the map. Why?
Abstract (arXiv)
Recent work has shown that LSTMs trained on a generic language modeling objective capture syntax-sensitive generalizations such as long-distance number agreement. We have however no mechanistic understanding of how they accomplish this remarkable feat. Some have conjectured it depends on heuristics that do not truly take hierarchical structure into account. We present here a detailed study of the inner mechanics of number tracking in LSTMs at the single neuron level. We discover that long-distance number information is largely managed by two `number units'. Importantly, the behaviour of these units is partially controlled by other units independently shown to track syntactic structure. We conclude that LSTMs are, to some extent, implementing genuinely syntactic processing mechanisms, paving the way to a more general understanding of grammatical encoding in LSTMs.
Key facts. Cited by 92 papers in the map (data through 7 Oct 2026). First posted on arXiv 18 Mar 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 24; 2022: 14; 2023: 21; 2024: 15; 2025: 11; 2026: 7.
92 papers.
Sort:
By area:
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
- 2021Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Modelscited by 127
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
- 2021On the Pitfalls of Analyzing Individual Neurons in Language Modelscited by 61
- 2021Counterfactual Interventions Reveal the Causal Effect of Relative Clause Representations on Agreement Predictioncited by 58
- 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
- 2022Probing for the Usage of Grammatical Numbercited by 57
38 more
- 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
- 2022Discovering Latent Concepts Learned in BERTcited by 56
- 2021Structural Persistence in Language Models: Priming as a Window into Abstract Language Representationscited by 44
- 2021On the proper role of linguistically-oriented deep net analysis in linguistic theorizingcited by 43
- 2023Language acquisition: do children and language models follow similar learning stages?cited by 40
- 2021Disentangling Syntax and Semantics in the Brain with Deep Networkscited by 39
- 2021Sparse Interventions in Language Models with Differentiable Maskingcited by 34
- 2024Activation Scaling for Steering and Interpreting Language Modelscited by 33
- 2021Language Models Use Monotonicity to Assess NPI Licensingcited by 30
- 2023Dissociating language and thought in large language modelscited by 27
- 2024Mechanistic?cited by 25
- 2025We Can't Understand AI Using our Existing Vocabularycited by 25
- 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysiscited by 24
- 2024On the Similarity of Circuits across Languages: a Case Study on the Subject-verb Agreement Taskcited by 24
- 2024A polar coordinate system represents syntax in large language modelscited by 24
- 2021Minimum Description Length Recurrent Neural Networkscited by 23
- 2023Identifying and Adapting Transformer-Components Responsible for Gender Bias in an English Language Modelcited by 22
- 2023A Language Model with Limited Memory Capacity Captures Interference in Human Sentence Processingcited by 22
- 2022Discovering Salient Neurons in Deep NLP Modelscited by 21
- 2024Optimal ablation for interpretabilitycited by 21
- 2025Causal Interventions Reveal Shared Structure Across English Filler-Gap Constructionscited by 21
- 2023Generative Models as a Complex Systems Science: How can we make sense of large language model behavior?cited by 19
- 2024Decomposing and Editing Predictions by Modeling Model Computationcited by 19
- 2023Can LLMs facilitate interpretation of pre-trained language models?cited by 15
- 2023Backpack Language Modelscited by 15
- 2022Causal Analysis of Syntactic Agreement Neurons in Multilingual Language Modelscited by 14
- 2022Does BERT really agree ? Fine-grained Analysis of Lexical Dependence on a Syntactic Taskcited by 13
- 2023Information-Restricted Neural Language Models Reveal Different Brain Regions' Sensitivity to Semantics, Syntax and Contextcited by 13
- 2024Gumbel Counterfactual Generation From Language Modelscited by 13
- 2023Verb Conjugation in Transformers Is Determined by Linear Encodings of Subject Numbercited by 12
- 2023NeuroX Library for Neuron Analysis of Deep NLP Modelscited by 11
- 2024Are Language Models More Like Libraries or Like Librarians? Bibliotechnism, the Novel Reference Problem, and the Attitudes of LLMscited by 11
- 2021Long-range and hierarchical language predictions in brains and algorithmscited by 10
- 2025Large Language Models as Proxies for Theories of Human Linguistic Cognitioncited by 10
- 2021Can RNNs learn Recursive Nested Subject-Verb Agreements?cited by 9
- 2023Blackbird language matrices (BLM), a new task for rule-like generalization in neural networks: Motivations and Formal Specificationscited by 9
- 2025Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Modelscited by 9
- 2021Causal Transformers Perform Below Chance on Recursive Nested Constructions, Unlike Humanscited by 8
50 most cited of 92 All 92 (JSON)
- 2026Co-Linguistics: AI-augmented Theory Construction in Linguistics29 Sep 2026
- 2026Grammatical "grandmother neurons" are rare in LLMs24 Sep 2026
- 2026(V)LMs generalize beyond surface co-occurrence: Evidence from cross-modal number agreement31 Aug 2026
- 2026Modular Cognitive Architecture Emerges in Large Language Models27 Jun 2026
- 2026Fast & Faithful Function Vectors3 Jun 2026
- 2026Blackbird Language Matrices: A Framework to Investigate the Linguistic Competence of Language Models24 Feb 2026
- 2026NeST: Neuron Selective Tuning for LLM Safety18 Feb 2026
- 2025Different types of syntactic agreement recruit the same units within large language models3 Dec 2025
- 2025Disaggregation Reveals Hidden Training Dynamics: The Case of Agreement Attraction28 Oct 2025
- 2025From Concepts to Components: Concept-Agnostic Attention Module Discovery in Transformers20 Jun 2025
- 2025A Neural Model for Word Repetition16 Jun 2025
- 2025Constructing Interpretable Features from Compositional Neuron Groups12 Jun 2025
38 more
- 2025Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Models29 May 2025
- 2025How Syntax Specialization Emerges in Language Models26 May 2025
- 2025Causal Interventions Reveal Shared Structure Across English Filler-Gap Constructions21 May 2025
- 2025Generative Linguistics, Large Language Models, and the Social Nature of Scientific Success25 Mar 2025
- 2025Large Language Models as Proxies for Theories of Human Linguistic Cognition11 Feb 2025
- 2025We Can't Understand AI Using our Existing Vocabulary11 Feb 2025
- 2024A polar coordinate system represents syntax in large language models7 Dec 2024
- 2024Gumbel Counterfactual Generation From Language Models11 Nov 2024
- 2024Attention Speaks Volumes: Localizing and Mitigating Bias in Language Models29 Oct 2024
- 2024On the Similarity of Circuits across Languages: a Case Study on the Subject-verb Agreement Task9 Oct 2024
- 2024Mechanistic?7 Oct 2024
- 2024Activation Scaling for Steering and Interpreting Language Models7 Oct 2024
- 2024Optimal ablation for interpretability16 Sep 2024
- 2024Multilevel Interpretability Of Artificial Neural Networks: Leveraging Framework And Methods From Neuroscience22 Aug 2024
- 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysis2 Aug 2024
- 2024Looking into Black Box Code Language Models5 Jul 2024
- 2024Crafting Large Language Models for Enhanced Interpretability5 Jul 2024
- 2024From Form(s) to Meaning: Probing the Semantic Depths of Language Models Using Multisense Consistency18 Apr 2024
- 2024Decomposing and Editing Predictions by Modeling Model Computation17 Apr 2024
- 2024Investigating grammatical abstraction in language models using few-shot learning of novel noun gender15 Mar 2024
- 2024Are Language Models More Like Libraries or Like Librarians? Bibliotechnism, the Novel Reference Problem, and the Attitudes of LLMs10 Jan 2024
- 2023Discrete Messages Improve Communication Efficiency among Isolated Intelligent Agents26 Dec 2023
- 2023A Language Model with Limited Memory Capacity Captures Interference in Human Sentence Processing24 Oct 2023
- 2023Verb Conjugation in Transformers Is Determined by Linear Encodings of Subject Number23 Oct 2023
- 2023Identifying and Adapting Transformer-Components Responsible for Gender Bias in an English Language Model19 Oct 2023
- 2023Disentangling the Linguistic Competence of Privacy-Preserving BERT17 Oct 2023
- 2023Meta predictive learning model of languages in neural circuits8 Sep 2023
- 2023Generative Models as a Complex Systems Science: How can we make sense of large language model behavior?31 Jul 2023
- 2023Generalizing Backpropagation for Gradient-Based Interpretability6 Jul 2023
- 2023Blackbird language matrices (BLM), a new task for rule-like generalization in neural networks: Motivations and Formal Specifications20 Jun 2023
- 2023Language acquisition: do children and language models follow similar learning stages?6 Jun 2023
- 2023NeuroX Library for Neuron Analysis of Deep NLP Models26 May 2023
- 2023Backpack Language Models26 May 2023
- 2023Can LLMs facilitate interpretation of pre-trained language models?22 May 2023
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model30 Apr 2023
- 2023Exposing the Functionalities of Neurons for Gated Recurrent Unit Based Sequence-to-Sequence Model27 Mar 2023
- 2023NxPlain: Web-based Tool for Discovery of Latent Concepts6 Mar 2023
- 2023Information-Restricted Neural Language Models Reveal Different Brain Regions' Sensitivity to Semantics, Syntax and Context28 Feb 2023
50 newest of 92 All 92 (JSON)
- 2026NeST: Neuron Selective Tuning for LLM Safetycited by 2
- 2026NeST: Neuron Selective Tuning for LLM Safety18 Feb 2026
- 2023Dissociating language and thought in large language modelscited by 27
- 2023Dissociating language and thought in large language models16 Jan 2023
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
- 2021Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Modelscited by 127
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
- 2021On the Pitfalls of Analyzing Individual Neurons in Language Modelscited by 61
- 2021Counterfactual Interventions Reveal the Causal Effect of Relative Clause Representations on Agreement Predictioncited by 58
- 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
- 2022Probing for the Usage of Grammatical Numbercited by 57
12 most cited of 90 All 90 (JSON)
- 2026Co-Linguistics: AI-augmented Theory Construction in Linguistics29 Sep 2026
- 2026Grammatical "grandmother neurons" are rare in LLMs24 Sep 2026
- 2026(V)LMs generalize beyond surface co-occurrence: Evidence from cross-modal number agreement31 Aug 2026
- 2026Modular Cognitive Architecture Emerges in Large Language Models27 Jun 2026
- 2026Fast & Faithful Function Vectors3 Jun 2026
- 2026Blackbird Language Matrices: A Framework to Investigate the Linguistic Competence of Language Models24 Feb 2026
- 2025Different types of syntactic agreement recruit the same units within large language models3 Dec 2025
- 2025Disaggregation Reveals Hidden Training Dynamics: The Case of Agreement Attraction28 Oct 2025
- 2025From Concepts to Components: Concept-Agnostic Attention Module Discovery in Transformers20 Jun 2025
- 2025A Neural Model for Word Repetition16 Jun 2025
- 2025Constructing Interpretable Features from Compositional Neuron Groups12 Jun 2025
- 2025Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Models29 May 2025
12 newest of 90 All 90 (JSON)