mlsanityData to 14 Oct 2026

Counterfactual Interventions Reveal the Causal Effect of Relative Clause Representations on Agreement Prediction

arXiv 2105.06965 ↗First posted 14 May 2021cs.CLcited by 59

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,319
  3. 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
  4. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  5. 2019Designing and Interpreting Probes with Control Taskscited by 640
  6. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
  7. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 457
  8. 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 455
  9. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
  10. 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 354
  11. 2018Targeted Syntactic Evaluation of Language Modelscited by 242
  12. 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
22 more
  1. 2018Colorless green recurrent networks dream hierarchicallycited by 213
  2. 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
  3. 2019Assessing BERT's Syntactic Abilitiescited by 192
  4. 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 191
  5. 2020Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?cited by 151
  6. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 120
  7. 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
  8. 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 106
  9. 2019It's All in the Name: Mitigating Gender Bias with Name-Based Counterfactual Data Substitutioncited by 103
  10. 2018Under the Hood: Using Diagnostic Classifiers to Investigate and Improve how Language Models Track Agreement Informationcited by 97
  11. 2019The emergence of number and syntax units in LSTM language modelscited by 94
  12. 2021Contrastive Explanations for Model Interpretabilitycited by 75
  13. 2020Analyzing the Source and Target Contributions to Predictions in Neural Machine Translationcited by 71
  14. 2018Contrastive Explanation: A Structural-Model Approachcited by 65
  15. 2020Cross-Linguistic Syntactic Evaluation of Word Prediction Modelscited by 55
  16. 2020Mechanisms for Handling Nested Dependencies in Neural-Network Language Models and Humanscited by 42
  17. 2020Causal Effects of Linguistic Propertiescited by 39
  18. 2019Using Priming to Uncover the Organization of Syntactic Representations in Neural Language Modelscited by 29
  19. 2020Investigating Transferability in Pretrained Language Modelscited by 28
  20. 2021ECINN: Efficient Counterfactuals from Invertible Neural Networkscited by 26
  21. 2021Mediators in Determining what Processing BERT Performs Firstcited by 14
  22. 2020Neutralizing Gender Bias in Word Embedding with Latent Disentanglement and Counterfactual Generationcited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 3; 2022: 13; 2023: 13; 2024: 14; 2025: 7; 2026: 9.

59 papers.

Sort:

By area:

  1. 2023LEACE: Perfect linear concept erasure in closed formcited by 267
  2. 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 178
  3. 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
  4. 2022Linear Adversarial Concept Erasurecited by 101
  5. 2022Interpreting Language Models with Contrastive Explanationscited by 92
  6. 2024Language Models Learn Rare Phenomena from Less Rare Phenomena: The Case of the Missing AANNscited by 65
  7. 2021On the Pitfalls of Analyzing Individual Neurons in Language Modelscited by 62
  8. 2022Probing for the Usage of Grammatical Numbercited by 59
  9. 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
  10. 2023The Curious Case of Hallucinatory (Un)answerability: Finding Truths in the Hidden States of Over-Confident Large Language Modelscited by 55
  11. 2022Kernelized Concept Erasurecited by 48
  12. 2025Bayesian Teaching Enables Probabilistic Reasoning in Large Language Modelscited by 37
38 more
  1. 2025The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?cited by 37
  2. 2023Dissociating language and thought in large language modelscited by 29
  3. 2022Coloring the Blank Slate: Pre-training Imparts a Hierarchical Inductive Bias to Sequence-to-sequence Modelscited by 28
  4. 2023A Geometric Notion of Causal Probingcited by 25
  5. 2022Probing for Incremental Parse States in Autoregressive Language Modelscited by 24
  6. 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysiscited by 24
  7. 2023A Discerning Several Thousand Judgments: GPT-3 Rates the Article + Adjective + Numeral + Noun Constructioncited by 22
  8. 2023A Language Model with Limited Memory Capacity Captures Interference in Human Sentence Processingcited by 22
  9. 2022Naturalistic Causal Probing for Morpho-Syntaxcited by 19
  10. 2024Constructing Benchmarks and Interventions for Combating Hallucinations in LLMscited by 19
  11. 2024A Philosophical Introduction to Language Models - Part II: The Way Forwardcited by 18
  12. 2022Causal Analysis of Syntactic Agreement Neurons in Multilingual Language Modelscited by 14
  13. 2023Operationalising Representation in Natural Language Processingcited by 14
  14. 2024Gumbel Counterfactual Generation From Language Modelscited by 14
  15. 2024How Reliable are Causal Probing Interventions?cited by 11
  16. 2026The Roots of Performance Disparity in Multilingual Language Models: Intrinsic Modeling Difficulty or Design Choices?cited by 11
  17. 2022Analyzing Gender Representation in Multilingual Modelscited by 10
  18. 2025Large Language Models as Proxies for Theories of Human Linguistic Cognitioncited by 10
  19. 2024Interpreting Low-level Vision Models with Causal Effect Mapscited by 8
  20. 2022Assessing the Capacity of Transformer to Abstract Syntactic Representations: A Contrastive Analysis Based on Long-distance Agreementcited by 7
  21. 2023Causal interventions expose implicit situation models for commonsense language understandingcited by 7
  22. 2023All Roads Lead to Rome? Exploring the Invariance of Transformers' Representationscited by 6
  23. 2023Removing Spurious Concepts from Neural Network Representations via Joint Subspace Estimationcited by 6
  24. 2025Analyzing the Inner Workings of Transformers in Compositional Generalizationcited by 6
  25. 2026Latent Planning Emerges with Scalecited by 6
  26. 2026Do Language Models Track Entities Across State Changes?cited by 6
  27. 2022The Architectural Bottleneck Principlecited by 5
  28. 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steeringcited by 5
  29. 2024Philosophy of Cognitive Science in the Age of Deep Learningcited by 5
  30. 2024Probing the Category of Verbal Aspect in Transformer Language Modelscited by 5
  31. 2024Focus On This, Not That! Steering LLMs with Adaptive Feature Specificationcited by 5
  32. 2024A Practical Method for Generating String Counterfactualscited by 4
  33. 2023Syntax and Semantics Meet in the "Middle": Probing the Syntax-Semantics Interface of LMs Through Agentivitycited by 3
  34. 2021On Neurons Invariant to Sentence Structural Changes in Neural Machine Translationcited by 2
  35. 2023Counterfactual Probing for the Influence of Affect and Specificity on Intergroup Biascited by 2
  36. 2023Counterfactually Probing Language Identity in Multilingual Modelscited by 2
  37. 2024Seeing Through VisualBERT: A Causal Adventure on Memetic Landscapescited by 1
  38. 2024Causal Interventions on Causal Paths: Mapping GPT-2's Reasoning From Syntax to Semanticscited by 1

50 most cited of 59 All 59 (JSON)