Competence-Based Analysis of Language Models
Not on the map. Why?
Abstract (arXiv)
Despite the recent successes of large, pretrained neural language models (LLMs), comparatively little is known about the representations of linguistic structure they learn during pretraining, which can lead to unexpected behaviors in response to prompt variation or distribution shift. To better understand these models and behaviors, we introduce a general model analysis framework to study LLMs with respect to their representation and use of human-interpretable linguistic properties. Our framework, CALM (Competence-based Analysis of Language Models), is designed to investigate LLM competence in the context of specific tasks by intervening on models' internal representations of different linguistic properties using causal probing, and measuring models' alignment under these interventions with a given ground-truth causal model of the task. We also develop a new approach for performing causal probing interventions using gradient-based adversarial attacks, which can target a broader range of properties and representations than prior techniques. Finally, we carry out a case study of CALM using these interventions to analyze and compare LLM competence across a variety of lexical inference tasks, showing that CALM can be used to explain behaviors across these tasks.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 62 of its 117 references that are in the map. First posted on arXiv 1 Mar 2023.
Builds on
62 of 117 references.
References · 62
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
38 more
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2019Invariant Risk Minimizationcited by 1,854
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,067
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
- 2022In-context Learning and Induction Headscited by 964
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
- 2020A Primer in BERTology: What we know about how BERT workscited by 815
- 2017An Overview of Multi-Task Learning in Deep Neural Networkscited by 803
- 2019Designing and Interpreting Probes with Control Taskscited by 640
- 2014Convex Optimization: Algorithms and Complexitycited by 575
- 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
- 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 455
- 2015Autoencoding beyond pixels using a learned similarity metriccited by 407
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 364
- 2021AI and the Everything in the Whole Wide World Benchmarkcited by 349
- 2019What BERT is not: Lessons from a new suite of psycholinguistic diagnostics for language modelscited by 320
- 2020The Risks of Invariant Risk Minimizationcited by 262
- 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 243
- 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 211
- 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 178
- 2020Probing Pretrained Language Models for Lexical Semanticscited by 156
- 2016Foundations of Structural Causal Models with Cycles and Latent Variablescited by 134
- 2018Invariance, Causality and Robustnesscited by 123
- 2021Inducing Causal Structure for Interpretable Neural Networkscited by 110
- 2022Causal Machine Learning: A Survey and Open Problemscited by 110
- 2021Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factorscited by 108
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2022Linear Adversarial Concept Erasurecited by 101
- 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
- 2018Characterizing and Learning Equivalence Classes of Causal DAGs under Interventionscited by 76
- 2021Probing Across Time: What Does RoBERTa Know and When?cited by 73
- 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
- 2022Probing for the Usage of Grammatical Numbercited by 59
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 0; 2026: 1.
4 papers.
- 2024How Reliable are Causal Probing Interventions?cited by 11
- 2024Focus On This, Not That! Steering LLMs with Adaptive Feature Specificationcited by 5
- 2024ExpressivityBench: Can LLMs Communicate Implicitly?cited by 2
- 2026Inference Time Causal Probing in LLMscited by 0
- 2026Inference Time Causal Probing in LLMs8 May 2026
- 2024ExpressivityBench: Can LLMs Communicate Implicitly?12 Nov 2024
- 2024Focus On This, Not That! Steering LLMs with Adaptive Feature Specification30 Oct 2024
- 2024How Reliable are Causal Probing Interventions?28 Aug 2024