mlsanityData to 14 Oct 2026

Competence-Based Analysis of Language Models

arXiv 2303.00333 ↗First posted 1 Mar 2023cs.CLcited by 4

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  7. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  9. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  10. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  11. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  12. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
38 more
  1. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  2. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  3. 2019Language Models as Knowledge Bases?cited by 1,936
  4. 2019Invariant Risk Minimizationcited by 1,854
  5. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  6. 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,067
  7. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  8. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
  9. 2022In-context Learning and Induction Headscited by 964
  10. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  11. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
  12. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  13. 2017An Overview of Multi-Task Learning in Deep Neural Networkscited by 803
  14. 2019Designing and Interpreting Probes with Control Taskscited by 640
  15. 2014Convex Optimization: Algorithms and Complexitycited by 575
  16. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
  17. 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 455
  18. 2015Autoencoding beyond pixels using a learned similarity metriccited by 407
  19. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 364
  20. 2021AI and the Everything in the Whole Wide World Benchmarkcited by 349
  21. 2019What BERT is not: Lessons from a new suite of psycholinguistic diagnostics for language modelscited by 320
  22. 2020The Risks of Invariant Risk Minimizationcited by 262
  23. 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 243
  24. 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 211
  25. 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 178
  26. 2020Probing Pretrained Language Models for Lexical Semanticscited by 156
  27. 2016Foundations of Structural Causal Models with Cycles and Latent Variablescited by 134
  28. 2018Invariance, Causality and Robustnesscited by 123
  29. 2021Inducing Causal Structure for Interpretable Neural Networkscited by 110
  30. 2022Causal Machine Learning: A Survey and Open Problemscited by 110
  31. 2021Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factorscited by 108
  32. 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
  33. 2022Linear Adversarial Concept Erasurecited by 101
  34. 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
  35. 2018Characterizing and Learning Equivalence Classes of Causal DAGs under Interventionscited by 76
  36. 2021Probing Across Time: What Does RoBERTa Know and When?cited by 73
  37. 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
  38. 2022Probing for the Usage of Grammatical Numbercited by 59

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 0; 2026: 1.

4 papers.