Under the Hood: Using Diagnostic Classifiers to Investigate and Improve how Language Models Track Agreement Information
Not on the map. Why?
Abstract (arXiv)
How do neural language models keep track of number agreement between subject and verb? We show that `diagnostic classifiers', trained to predict number from the internal states of a language model, provide a detailed understanding of how, when, and where this information is represented. Moreover, they give us insight into when and where number information is corrupted in cases where the language model ends up making agreement errors. To demonstrate the causal role played by the representations we find, we then use agreement information to influence the course of the LSTM during the processing of difficult sentences. Results from such an intervention reveal a large increase in the language model's accuracy. Together, these results show that diagnostic classifiers give us an unrivalled detailed look into the representation of linguistic information in neural models, and demonstrate that this knowledge can be used to improve their performance.
Key facts. Cited by 97 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Aug 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 25; 2022: 16; 2023: 17; 2024: 21; 2025: 8; 2026: 10.
97 papers.
Sort:
By area:
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2021Causal Abstractions of Neural Networkscited by 401
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 313
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoderscited by 199
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
- 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
- 2021Inducing Causal Structure for Interpretable Neural Networkscited by 107
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021Why Do Pretrained Language Models Help in Downstream Tasks? An Analysis of Head and Prompt Tuningcited by 82
- 2021Language Model Evaluation Beyond Perplexitycited by 77
38 more
- 2021Contrastive Explanations for Model Interpretabilitycited by 75
- 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Modelscited by 73
- 2023Towards Vision-Language Mechanistic Interpretability: A Causal Tracing Tool for BLIPcited by 62
- 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
- 2022Probing for the Usage of Grammatical Numbercited by 57
- 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
- 2025Large Language Models Share Representations of Latent Grammatical Concepts Across Typologically Diverse Languagescited by 57
- 2023Codebook Features: Sparse and Discrete Interpretability for Neural Networkscited by 45
- 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representationscited by 45
- 2021Sparse Interventions in Language Models with Differentiable Maskingcited by 34
- 2021Local Interpretations for Explainable Natural Language Processing: A Surveycited by 31
- 2021Language Models Use Monotonicity to Assess NPI Licensingcited by 30
- 2024What Do VLMs NOTICE? A Mechanistic Interpretability Pipeline for Gaussian-Noise-free Text-Image Corruption and Evaluationcited by 29
- 2023Dissociating language and thought in large language modelscited by 27
- 2024Holmes: A Benchmark to Assess the Linguistic Competence of Language Modelscited by 26
- 2024Mechanistic?cited by 25
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMscited by 24
- 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysiscited by 24
- 2025Mechanistic Interpretability of Emotion Inference in Large Language Modelscited by 24
- 2023Subspace Chronicles: How Linguistic Information Emerges, Shifts and Interacts during Language Model Trainingcited by 23
- 2023An Overview on Language Models: Recent Developments and Outlookcited by 22
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
- 2024Missed Causes and Ambiguous Effects: Counterfactuals Pose Challenges for Interpreting Neural Networkscited by 21
- 2025HyperSteer: Activation Steering at Scale with Hypernetworkscited by 20
- 2022Naturalistic Causal Probing for Morpho-Syntaxcited by 19
- 2026Language Model Circuits Are Sparse in the Neuron Basiscited by 18
- 2021Probing artificial neural networks: insights from neurosciencecited by 17
- 2024A Philosophical Introduction to Language Models - Part II: The Way Forwardcited by 17
- 2021The Language Model Understood the Prompt was Ambiguous: Probing Syntactic Uncertainty Through Generationcited by 15
- 2024Layer by Layer: Uncovering Where Multi-Task Learning Happens in Instruction-Tuned Large Language Modelscited by 15
- 2023Operationalising Representation in Natural Language Processingcited by 14
- 2024Does ChatGPT Have a Mind?cited by 13
- 2024Gumbel Counterfactual Generation From Language Modelscited by 13
- 2022When Does Syntax Mediate Neural Language Model Performance? Evidence from Dropout Probescited by 12
- 2023Investigating semantic subspaces of Transformer sentence embeddings through linear structural probingcited by 12
- 2023Verb Conjugation in Transformers Is Determined by Linear Encodings of Subject Numbercited by 12
- 2024What Should Embeddings Embed? Autoregressive Models Represent Latent Generating Distributionscited by 10
50 most cited of 97 All 97 (JSON)
- 2026List Counting Failures Are Not One Phenomenon3 Sep 2026
- 2026Exposure is Optional: Learning Unlike Coordination in Language Models22 Jul 2026
- 2026When Context Misleads: Surprisal, Energy and Attention Entropy as Metrics of Coherence Illusions in LLMs19 Jun 2026
- 2026Do Language Models Track Entities Across State Changes?28 May 2026
- 2026Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Intervention7 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026Steer Like the LLM: Activation Steering that Mimics Prompting5 May 2026
- 2026Latent Planning Emerges with Scale14 Apr 2026
- 2026Targeted Syntactic Evaluation of Language Models on Georgian Case Alignment11 Feb 2026
- 2026Language Model Circuits Are Sparse in the Neuron Basis30 Jan 2026
- 2025Does higher interpretability imply better utility? A Pairwise Analysis on Sparse Autoencoders4 Oct 2025
- 2025Line of Sight: On Linear Representations in VLLMs5 Jun 2025
38 more
- 2025HyperSteer: Activation Steering at Scale with Hypernetworks3 Jun 2025
- 2025Identifying and Mitigating the Influence of the Prior Distribution in Large Language Models17 Apr 2025
- 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Models7 Mar 2025
- 2025Mechanistic Interpretability of Emotion Inference in Large Language Models8 Feb 2025
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoders28 Jan 2025
- 2025Large Language Models Share Representations of Latent Grammatical Concepts Across Typologically Diverse Languages10 Jan 2025
- 2024StructFormer: Document Structure-based Masked Attention and its Impact on Language Model Pre-Training25 Nov 2024
- 2024Controlled Evaluation of Syntactic Knowledge in Multilingual Language Models12 Nov 2024
- 2024Gumbel Counterfactual Generation From Language Models11 Nov 2024
- 2024Do graph neural network states contain graph properties?4 Nov 2024
- 2024Layer by Layer: Uncovering Where Multi-Task Learning Happens in Instruction-Tuned Large Language Models25 Oct 2024
- 2024Can Language Models Induce Grammatical Knowledge from Indirect Evidence?8 Oct 2024
- 2024Mechanistic?7 Oct 2024
- 2024How Language Models Prioritize Contextual Grammatical Cues?4 Oct 2024
- 2024Linguistic Minimal Pairs Elicit Linguistic Similarity in Large Language Models19 Sep 2024
- 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representations20 Aug 2024
- 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysis2 Aug 2024
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMs27 Jul 2024
- 2024Missed Causes and Ambiguous Effects: Counterfactuals Pose Challenges for Interpreting Neural Networks5 Jul 2024
- 2024Does ChatGPT Have a Mind?27 Jun 2024
- 2024What Do VLMs NOTICE? A Mechanistic Interpretability Pipeline for Gaussian-Noise-free Text-Image Corruption and Evaluation24 Jun 2024
- 2024Perception of Phonological Assimilation by Neural Speech Recognition Models21 Jun 2024
- 2024What Should Embeddings Embed? Autoregressive Models Represent Latent Generating Distributions6 Jun 2024
- 2024Probing the Category of Verbal Aspect in Transformer Language Models4 Jun 2024
- 2024A Philosophical Introduction to Language Models - Part II: The Way Forward6 May 2024
- 2024Holmes: A Benchmark to Assess the Linguistic Competence of Language Models29 Apr 2024
- 2024From Form(s) to Meaning: Probing the Semantic Depths of Language Models Using Multisense Consistency18 Apr 2024
- 2023More than Correlation: Do Large Language Models Learn Causal Representations of Space?26 Dec 2023
- 2023Deep de Finetti: Recovering Topic Distributions from Large Language Models21 Dec 2023
- 2023Grammatical information in BERT sentence embeddings as two-dimensional arrays15 Dec 2023
- 2023Codebook Features: Sparse and Discrete Interpretability for Neural Networks26 Oct 2023
- 2023Subspace Chronicles: How Linguistic Information Emerges, Shifts and Interacts during Language Model Training25 Oct 2023
- 2023Unnatural language processing: How do language models handle machine-generated prompts?24 Oct 2023
- 2023Verb Conjugation in Transformers Is Determined by Linear Encodings of Subject Number23 Oct 2023
- 2023Investigating semantic subspaces of Transformer sentence embeddings through linear structural probing18 Oct 2023
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Models2 Sep 2023
- 2023Towards Vision-Language Mechanistic Interpretability: A Causal Tracing Tool for BLIP27 Aug 2023
- 2023Operationalising Representation in Natural Language Processing14 Jun 2023
50 newest of 97 All 97 (JSON)
- 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
- 2021Causal Abstractions of Neural Networkscited by 401
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoderscited by 199
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
- 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
- 2021Inducing Causal Structure for Interpretable Neural Networkscited by 107
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021Why Do Pretrained Language Models Help in Downstream Tasks? An Analysis of Head and Prompt Tuningcited by 82
- 2021Language Model Evaluation Beyond Perplexitycited by 77
- 2021Contrastive Explanations for Model Interpretabilitycited by 75
12 most cited of 94 All 94 (JSON)
- 2026List Counting Failures Are Not One Phenomenon3 Sep 2026
- 2026Exposure is Optional: Learning Unlike Coordination in Language Models22 Jul 2026
- 2026When Context Misleads: Surprisal, Energy and Attention Entropy as Metrics of Coherence Illusions in LLMs19 Jun 2026
- 2026Do Language Models Track Entities Across State Changes?28 May 2026
- 2026Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Intervention7 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026Steer Like the LLM: Activation Steering that Mimics Prompting5 May 2026
- 2026Latent Planning Emerges with Scale14 Apr 2026
- 2026Targeted Syntactic Evaluation of Language Models on Georgian Case Alignment11 Feb 2026
- 2026Language Model Circuits Are Sparse in the Neuron Basis30 Jan 2026
- 2025Does higher interpretability imply better utility? A Pairwise Analysis on Sparse Autoencoders4 Oct 2025
- 2025Line of Sight: On Linear Representations in VLLMs5 Jun 2025
12 newest of 94 All 94 (JSON)