Counterfactual Interventions Reveal the Causal Effect of Relative Clause Representations on Agreement Prediction
Not on the map. Why?
Abstract (arXiv)
When language models process syntactically complex sentences, do they use their representations of syntax in a manner that is consistent with the grammar of the language? We propose AlterRep, an intervention-based method to address this question. For any linguistic feature of a given sentence, AlterRep generates counterfactual representations by altering how the feature is encoded, while leaving intact all other aspects of the original representation. By measuring the change in a model's word prediction behavior when these counterfactual representations are substituted for the original ones, we can draw conclusions about the causal effect of the linguistic feature in question on the model's behavior. We apply this method to study how BERT models of different sizes process relative clauses (RCs). We find that BERT variants use RC boundary information during word prediction in a manner that is consistent with the rules of English grammar; this RC boundary information generalizes to a considerable extent across different RC types, suggesting that BERT represents RCs as an abstract linguistic category.
Key facts. Cited by 59 papers in the map (data through 14 Oct 2026). Builds on 34 of its 45 references that are in the map. First posted on arXiv 14 May 2021.
Builds on
34 of 45 references.
References · 34
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,319
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2019Designing and Interpreting Probes with Control Taskscited by 640
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 457
- 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 455
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 354
- 2018Targeted Syntactic Evaluation of Language Modelscited by 242
- 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
22 more
- 2018Colorless green recurrent networks dream hierarchicallycited by 213
- 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
- 2019Assessing BERT's Syntactic Abilitiescited by 192
- 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 191
- 2020Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?cited by 151
- 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 120
- 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
- 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 106
- 2019It's All in the Name: Mitigating Gender Bias with Name-Based Counterfactual Data Substitutioncited by 103
- 2018Under the Hood: Using Diagnostic Classifiers to Investigate and Improve how Language Models Track Agreement Informationcited by 97
- 2019The emergence of number and syntax units in LSTM language modelscited by 94
- 2021Contrastive Explanations for Model Interpretabilitycited by 75
- 2020Analyzing the Source and Target Contributions to Predictions in Neural Machine Translationcited by 71
- 2018Contrastive Explanation: A Structural-Model Approachcited by 65
- 2020Cross-Linguistic Syntactic Evaluation of Word Prediction Modelscited by 55
- 2020Mechanisms for Handling Nested Dependencies in Neural-Network Language Models and Humanscited by 42
- 2020Causal Effects of Linguistic Propertiescited by 39
- 2019Using Priming to Uncover the Organization of Syntactic Representations in Neural Language Modelscited by 29
- 2020Investigating Transferability in Pretrained Language Modelscited by 28
- 2021ECINN: Efficient Counterfactuals from Invertible Neural Networkscited by 26
- 2021Mediators in Determining what Processing BERT Performs Firstcited by 14
- 2020Neutralizing Gender Bias in Word Embedding with Latent Disentanglement and Counterfactual Generationcited by 10
Built on by
Citing papers per year: 2021: 3; 2022: 13; 2023: 13; 2024: 14; 2025: 7; 2026: 9.
59 papers.
Sort:
By area:
- 2023LEACE: Perfect linear concept erasure in closed formcited by 267
- 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 178
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
- 2022Linear Adversarial Concept Erasurecited by 101
- 2022Interpreting Language Models with Contrastive Explanationscited by 92
- 2024Language Models Learn Rare Phenomena from Less Rare Phenomena: The Case of the Missing AANNscited by 65
- 2021On the Pitfalls of Analyzing Individual Neurons in Language Modelscited by 62
- 2022Probing for the Usage of Grammatical Numbercited by 59
- 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
- 2023The Curious Case of Hallucinatory (Un)answerability: Finding Truths in the Hidden States of Over-Confident Large Language Modelscited by 55
- 2022Kernelized Concept Erasurecited by 48
- 2025Bayesian Teaching Enables Probabilistic Reasoning in Large Language Modelscited by 37
38 more
- 2025The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?cited by 37
- 2023Dissociating language and thought in large language modelscited by 29
- 2022Coloring the Blank Slate: Pre-training Imparts a Hierarchical Inductive Bias to Sequence-to-sequence Modelscited by 28
- 2023A Geometric Notion of Causal Probingcited by 25
- 2022Probing for Incremental Parse States in Autoregressive Language Modelscited by 24
- 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysiscited by 24
- 2023A Discerning Several Thousand Judgments: GPT-3 Rates the Article + Adjective + Numeral + Noun Constructioncited by 22
- 2023A Language Model with Limited Memory Capacity Captures Interference in Human Sentence Processingcited by 22
- 2022Naturalistic Causal Probing for Morpho-Syntaxcited by 19
- 2024Constructing Benchmarks and Interventions for Combating Hallucinations in LLMscited by 19
- 2024A Philosophical Introduction to Language Models - Part II: The Way Forwardcited by 18
- 2022Causal Analysis of Syntactic Agreement Neurons in Multilingual Language Modelscited by 14
- 2023Operationalising Representation in Natural Language Processingcited by 14
- 2024Gumbel Counterfactual Generation From Language Modelscited by 14
- 2024How Reliable are Causal Probing Interventions?cited by 11
- 2026The Roots of Performance Disparity in Multilingual Language Models: Intrinsic Modeling Difficulty or Design Choices?cited by 11
- 2022Analyzing Gender Representation in Multilingual Modelscited by 10
- 2025Large Language Models as Proxies for Theories of Human Linguistic Cognitioncited by 10
- 2024Interpreting Low-level Vision Models with Causal Effect Mapscited by 8
- 2022Assessing the Capacity of Transformer to Abstract Syntactic Representations: A Contrastive Analysis Based on Long-distance Agreementcited by 7
- 2023Causal interventions expose implicit situation models for commonsense language understandingcited by 7
- 2023All Roads Lead to Rome? Exploring the Invariance of Transformers' Representationscited by 6
- 2023Removing Spurious Concepts from Neural Network Representations via Joint Subspace Estimationcited by 6
- 2025Analyzing the Inner Workings of Transformers in Compositional Generalizationcited by 6
- 2026Latent Planning Emerges with Scalecited by 6
- 2026Do Language Models Track Entities Across State Changes?cited by 6
- 2022The Architectural Bottleneck Principlecited by 5
- 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steeringcited by 5
- 2024Philosophy of Cognitive Science in the Age of Deep Learningcited by 5
- 2024Probing the Category of Verbal Aspect in Transformer Language Modelscited by 5
- 2024Focus On This, Not That! Steering LLMs with Adaptive Feature Specificationcited by 5
- 2024A Practical Method for Generating String Counterfactualscited by 4
- 2023Syntax and Semantics Meet in the "Middle": Probing the Syntax-Semantics Interface of LMs Through Agentivitycited by 3
- 2021On Neurons Invariant to Sentence Structural Changes in Neural Machine Translationcited by 2
- 2023Counterfactual Probing for the Influence of Affect and Specificity on Intergroup Biascited by 2
- 2023Counterfactually Probing Language Identity in Multilingual Modelscited by 2
- 2024Seeing Through VisualBERT: A Causal Adventure on Memetic Landscapescited by 1
- 2024Causal Interventions on Causal Paths: Mapping GPT-2's Reasoning From Syntax to Semanticscited by 1
50 most cited of 59 All 59 (JSON)
- 2026Does the Model Use the Feature? Separating Steering from Mechanism in LLMs5 Oct 2026
- 2026Lost with a Map: Conversational State and Behavioral Reliability in Language Models27 Sep 2026
- 2026Cognitive Convergence: Deep Similarities Between Large Language Models and Human Cognition28 Jul 2026
- 2026Do Language Models Track Entities Across State Changes?28 May 2026
- 2026Causal Interventions on Continuous Variables: A Case Study on Verb Bias in Steering Vectors for In-Context Learning28 May 2026
- 2026Inference Time Causal Probing in LLMs8 May 2026
- 2026Concept-Based Abductive and Contrastive Explanations for Behaviors of Vision Models7 May 2026
- 2026Latent Planning Emerges with Scale14 Apr 2026
- 2026The Roots of Performance Disparity in Multilingual Language Models: Intrinsic Modeling Difficulty or Design Choices?12 Jan 2026
- 2025CAuSE: Decoding Multimodal Classifiers using Faithful Natural Language Explanation7 Dec 2025
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment28 Aug 2025
- 2025CausalSent: Interpretable Sentiment Classification with RieszNet25 Aug 2025
38 more
- 2025The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?11 Jul 2025
- 2025Bayesian Teaching Enables Probabilistic Reasoning in Large Language Models21 Mar 2025
- 2025Analyzing the Inner Workings of Transformers in Compositional Generalization21 Feb 2025
- 2025Large Language Models as Proxies for Theories of Human Linguistic Cognition11 Feb 2025
- 2024Gumbel Counterfactual Generation From Language Models11 Nov 2024
- 2024Focus On This, Not That! Steering LLMs with Adaptive Feature Specification30 Oct 2024
- 2024Causal Interventions on Causal Paths: Mapping GPT-2's Reasoning From Syntax to Semantics28 Oct 2024
- 2024Seeing Through VisualBERT: A Causal Adventure on Memetic Landscapes17 Oct 2024
- 2024How Reliable are Causal Probing Interventions?28 Aug 2024
- 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysis2 Aug 2024
- 2024Interpreting Low-level Vision Models with Causal Effect Maps29 Jul 2024
- 2024Probing the Category of Verbal Aspect in Transformer Language Models4 Jun 2024
- 2024Philosophy of Cognitive Science in the Age of Deep Learning7 May 2024
- 2024A Philosophical Introduction to Language Models - Part II: The Way Forward6 May 2024
- 2024Constructing Benchmarks and Interventions for Combating Hallucinations in LLMs15 Apr 2024
- 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steering2 Apr 2024
- 2024Language Models Learn Rare Phenomena from Less Rare Phenomena: The Case of the Missing AANNs28 Mar 2024
- 2024A Practical Method for Generating String Counterfactuals17 Feb 2024
- 2023Counterfactually Probing Language Identity in Multilingual Models29 Oct 2023
- 2023A Language Model with Limited Memory Capacity Captures Interference in Human Sentence Processing24 Oct 2023
- 2023Removing Spurious Concepts from Neural Network Representations via Joint Subspace Estimation18 Oct 2023
- 2023The Curious Case of Hallucinatory (Un)answerability: Finding Truths in the Hidden States of Over-Confident Large Language Models18 Oct 2023
- 2023A Geometric Notion of Causal Probing27 Jul 2023
- 2023Operationalising Representation in Natural Language Processing14 Jun 2023
- 2023Causal interventions expose implicit situation models for commonsense language understanding6 Jun 2023
- 2023LEACE: Perfect linear concept erasure in closed form6 Jun 2023
- 2023Syntax and Semantics Meet in the "Middle": Probing the Syntax-Semantics Interface of LMs Through Agentivity29 May 2023
- 2023Counterfactual Probing for the Influence of Affect and Specificity on Intergroup Bias25 May 2023
- 2023All Roads Lead to Rome? Exploring the Invariance of Transformers' Representations23 May 2023
- 2023A Discerning Several Thousand Judgments: GPT-3 Rates the Article + Adjective + Numeral + Noun Construction29 Jan 2023
- 2023Dissociating language and thought in large language models16 Jan 2023
- 2022Assessing the Capacity of Transformer to Abstract Syntactic Representations: A Contrastive Analysis Based on Long-distance Agreement8 Dec 2022
- 2022Probing for Incremental Parse States in Autoregressive Language Models17 Nov 2022
- 2022The Architectural Bottleneck Principle11 Nov 2022
- 2022Causal Analysis of Syntactic Agreement Neurons in Multilingual Language Models25 Oct 2022
- 2022Towards Faithful Model Explanation in NLP: A Survey22 Sep 2022
- 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictions28 Jul 2022
- 2022Naturalistic Causal Probing for Morpho-Syntax14 May 2022
50 newest of 59 All 59 (JSON)
- 2025The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?cited by 37
- 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysiscited by 24
- 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steeringcited by 5
- 2026Causal Interventions on Continuous Variables: A Case Study on Verb Bias in Steering Vectors for In-Context Learningcited by 0
- 2026Causal Interventions on Continuous Variables: A Case Study on Verb Bias in Steering Vectors for In-Context Learning28 May 2026
- 2025The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?11 Jul 2025
- 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysis2 Aug 2024
- 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steering2 Apr 2024
- 2023LEACE: Perfect linear concept erasure in closed formcited by 267
- 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 178
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
- 2022Linear Adversarial Concept Erasurecited by 101
- 2022Interpreting Language Models with Contrastive Explanationscited by 92
- 2024Language Models Learn Rare Phenomena from Less Rare Phenomena: The Case of the Missing AANNscited by 65
- 2021On the Pitfalls of Analyzing Individual Neurons in Language Modelscited by 62
- 2022Probing for the Usage of Grammatical Numbercited by 59
- 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
- 2023The Curious Case of Hallucinatory (Un)answerability: Finding Truths in the Hidden States of Over-Confident Large Language Modelscited by 55
- 2022Kernelized Concept Erasurecited by 48
- 2022Coloring the Blank Slate: Pre-training Imparts a Hierarchical Inductive Bias to Sequence-to-sequence Modelscited by 28
12 most cited of 52 All 52 (JSON)
- 2026Does the Model Use the Feature? Separating Steering from Mechanism in LLMs5 Oct 2026
- 2026Lost with a Map: Conversational State and Behavioral Reliability in Language Models27 Sep 2026
- 2026Cognitive Convergence: Deep Similarities Between Large Language Models and Human Cognition28 Jul 2026
- 2026Do Language Models Track Entities Across State Changes?28 May 2026
- 2026Inference Time Causal Probing in LLMs8 May 2026
- 2026Concept-Based Abductive and Contrastive Explanations for Behaviors of Vision Models7 May 2026
- 2026Latent Planning Emerges with Scale14 Apr 2026
- 2026The Roots of Performance Disparity in Multilingual Language Models: Intrinsic Modeling Difficulty or Design Choices?12 Jan 2026
- 2025CAuSE: Decoding Multimodal Classifiers using Faithful Natural Language Explanation7 Dec 2025
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment28 Aug 2025
- 2025CausalSent: Interpretable Sentiment Classification with RieszNet25 Aug 2025
- 2025Analyzing the Inner Workings of Transformers in Compositional Generalization21 Feb 2025
12 newest of 52 All 52 (JSON)