Interpretability at Scale: Identifying Causal Mechanisms in Alpaca
Not on the map. Why?
Abstract (arXiv)
Obtaining human-interpretable explanations of large, general-purpose language models is an urgent goal for AI safety. However, it is just as important that our interpretability methods are faithful to the causal dynamics underlying model behavior and able to robustly generalize to unseen inputs. Distributed Alignment Search (DAS) is a powerful gradient descent method grounded in a theory of causal abstraction that has uncovered perfect alignments between interpretable symbolic algorithms and small deep learning models fine-tuned for specific tasks. In the present paper, we scale DAS significantly by replacing the remaining brute-force search steps with learned parameters -- an approach we call Boundless DAS. This enables us to efficiently search for interpretable causal structure in large language models while they follow instructions. We apply Boundless DAS to the Alpaca model (7B parameters), which, off the shelf, solves a simple numerical reasoning problem. With Boundless DAS, we discover that Alpaca does this by implementing a causal model with two interpretable boolean variables. Furthermore, we find that the alignment of neural representations with these variables is robust to changes in inputs and instructions. These findings mark a first step toward faithfully understanding the inner-workings of our ever-growing and most widely deployed language models. Our tool is extensible to larger LLMs and is released publicly at `https://github.com/stanfordnlp/pyvene`.
Key facts. Cited by 102 papers in the map (data through 7 Oct 2026). Builds on 47 of its 61 references that are in the map. First posted on arXiv 15 May 2023.
Builds on
47 of 61 references.
References · 47
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
35 more
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2013Visualizing and Understanding Convolutional Networkscited by 2,278
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2022In-context Learning and Induction Headscited by 930
- 2022Solving math word problems with process- and outcome-based feedbackcited by 871
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 442
- 2021Causal Abstractions of Neural Networkscited by 401
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
- 2019Visualizing and Measuring the Geometry of BERTcited by 215
- 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 197
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
- 2021Implicit Representations of Meaning in Neural Language Modelscited by 179
- 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
- 2017Causal Consistency of Structural Equation Modelscited by 114
- 2020Finding Universal Grammatical Relations in Multilingual BERTcited by 108
- 2021Inducing Causal Structure for Interpretable Neural Networkscited by 107
- 2018Abstracting Causal Modelscited by 104
- 2019Approximate Causal Abstractioncited by 62
- 2022Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictionscited by 57
- 2022CEBaB: Estimating the Causal Effects of Real-World Concepts on NLP Model Behaviorcited by 54
- 2022Characterizing Intrinsic Compositionality in Transformers with Tree Projectionscited by 40
- 2022Learning to Accelerate Partial Differential Equations via Latent Global Evolutioncited by 38
- 2022Causal Proxy Models for Concept-Based Model Explanationscited by 29
- 2022Unit Testing for Concepts in Neural Networkscited by 23
- 2021Causal Distillation for Language Modelscited by 19
- 2022Inducing Character-level Structure in Subword-based Language Models with Type-level Interchange Intervention Trainingcited by 16
Built on by
Citing papers per year: 2023: 16; 2024: 37; 2025: 25; 2026: 24.
102 papers.
Sort:
By area:
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
- 2023LEACE: Perfect linear concept erasure in closed formcited by 254
- 2024ReFT: Representation Finetuning for Language Modelscited by 186
- 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 145
- 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 140
- 2024Rethinking Interpretability in the Era of Large Language Modelscited by 110
- 2023How do Language Models Bind Entities in Context?cited by 102
- 2023When Large Language Models Meet Personalization: Perspectives of Challenges and Opportunitiescited by 89
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2023Successor Heads: Recurring, Interpretable Attention Heads In The Wildcited by 77
- 2023Is This the Subspace You Are Looking for? An Interpretability Illusion for Subspace Activation Patchingcited by 75
38 more
- 2023Towards Vision-Language Mechanistic Interpretability: A Causal Tracing Tool for BLIPcited by 62
- 2024Finding Transformer Circuits with Edge Pruningcited by 58
- 2024How to think step-by-step: A mechanistic understanding of chain-of-thought reasoningcited by 53
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Modelscited by 50
- 2024What does the Knowledge Neuron Thesis Have to do with Knowledge?cited by 49
- 2025MIB: A Mechanistic Interpretability Benchmarkcited by 49
- 2024CausalGym: Benchmarking causal interpretability methods on linguistic taskscited by 45
- 2023Radiology-GPT: A Large Language Model for Radiologycited by 44
- 2024NNsight and NDIF: Democratizing Access to Open-Weight Foundation Model Internalscited by 43
- 2024Interpreting and Improving Large Language Models in Arithmetic Calculationcited by 43
- 2024Personality Alignment of Large Language Modelscited by 36
- 2024Answer, Assemble, Ace: Understanding How LMs Answer Multiple Choice Questionscited by 35
- 2024AI and the Problem of Knowledge Collapsecited by 34
- 2023Discovering Variable Binding Circuitry with Desideratacited by 32
- 2024Large Language Models and Causal Inference in Collaboration: A Surveycited by 26
- 2023A Glitch in the Matrix? Locating and Detecting Language Model Grounding with Fakepediacited by 24
- 2024InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniquescited by 24
- 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysiscited by 24
- 2024XAI meets LLMs: A Survey of the Relation between Explainable AI and Large Language Modelscited by 23
- 2024Understanding Reasoning Ability of Language Models From the Perspective of Reasoning Paths Aggregationcited by 22
- 2024Learned feature representations are biased by complexity, learning order, position, and morecited by 22
- 2024Missed Causes and Ambiguous Effects: Counterfactuals Pose Challenges for Interpreting Neural Networkscited by 21
- 2025EAP-GP: Mitigating Saturation Effect in Gradient-based Automated Circuit Identificationcited by 21
- 2026Language Model Circuits Are Sparse in the Neuron Basiscited by 18
- 2023Look Before You Leap: A Universal Emergent Decomposition of Retrieval Tasks in Language Modelscited by 17
- 2024A Philosophical Introduction to Language Models - Part II: The Way Forwardcited by 17
- 2024A Reply to Makelov et al. (2023)'s "Interpretability Illusion" Argumentscited by 15
- 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformerscited by 14
- 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspectivecited by 14
- 2023Uncovering Intermediate Variables in Transformers using Circuit Probingcited by 12
- 2024Beyond the Doors of Perception: Vision Transformers Represent Relations Between Objectscited by 12
- 2024Are Language Models More Like Libraries or Like Librarians? Bibliotechnism, the Novel Reference Problem, and the Attitudes of LLMscited by 11
- 2024From Explainable to Interpretable Deep Learning for Natural Language Processing in Healthcare: How Far from Reality?cited by 11
- 2024Language Models are Symbolic Learners in Arithmeticcited by 11
- 2025Internal Causal Mechanisms Robustly Predict Language Model Out-of-Distribution Behaviorscited by 11
- 2024GP-GPT: Large Language Model for Gene-Phenotype Mappingcited by 10
- 2025From Screens to Scenes: A Survey of Embodied AI in Healthcarecited by 10
- 2025How Causal Abstraction Underpins Computational Explanationcited by 10
50 most cited of 102 All 102 (JSON)
- 2026Right Answer, Wrong Mechanism: Detecting Pernicious Divergence in Causal Interventions30 Sep 2026
- 2026Where MLLMs Fail and Why: Causal Task Decomposition for Capability Failure Diagnosis30 Sep 2026
- 2026When Models Don't Manipulate Manifolds: The Geometry of a Comparison Task29 Sep 2026
- 2026Logical subspace in LLMs26 Sep 2026
- 2026Medical AI Encodes a "Feeling of Error": Verifying Cancer Segmentation via Internal Concepts8 Sep 2026
- 2026Intrinsic Structure: Spectral Identifiability for Mechanistic Interpretability10 Aug 2026
- 2026LAWFUL: Law-Aligned Witness for Faithful Use of Latents26 Jul 2026
- 2026Belief-reality separation lives in routing over a shared value slot in language models11 Jul 2026
- 2026Certified Interventional Fidelity: Anytime-Valid, Adaptive Evaluation of Causal Claims in Mechanistic Interpretability9 Jul 2026
- 2026SemRF: A Semantic Reference Frame for Residual-Stream Dynamics in Language Models30 Jun 2026
- 2026Unsupervised Causal Abstractions Discovery17 Jun 2026
- 2026When Attribution Patching Lies: Diagnosis and a Second-Order Correction5 Jun 2026
38 more
- 2026Identifiable Multimodal Causal Representation Learning under Partial Latent Sharing18 May 2026
- 2026Judge Circuits Explain Format-Induced Inconsistency in LLM-as-a-Judge15 May 2026
- 2026Position: Mechanistic Interpretability Must Disclose Identification Assumptions for Causal Claims8 May 2026
- 2026PLOT: Progressive Localization via Optimal Transport in Neural Causal Abstraction7 May 2026
- 2026Bucketing the Good Apples: A Method for Diagnosing and Improving Causal Abstraction4 May 2026
- 2026Neuron-Aware Data Selection In Instruction Tuning For Large Language Models13 Mar 2026
- 2026Causal Concept Graphs in LLM Latent Space for Stepwise Reasoning11 Mar 2026
- 2026IBCircuit: Towards Holistic Circuit Discovery with Information Bottleneck26 Feb 2026
- 2026Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees18 Feb 2026
- 2026The Confidence Manifold: Geometric Structure of Correctness Representations in Language Models8 Feb 2026
- 2026Language Model Circuits Are Sparse in the Neuron Basis30 Jan 2026
- 2026LIBERTy: A Causal Framework for Benchmarking Concept-Based Explanations of LLMs with Structural Counterfactuals15 Jan 2026
- 2025In-Context Algebra18 Dec 2025
- 2025Addressing divergent representations from causal interventions on neural networks6 Nov 2025
- 2025Explainability of Large Language Models: Opportunities and Challenges toward Generating Trustworthy Explanations20 Oct 2025
- 2025NEAT: Concept driven Neuron Attribution in LLMs21 Aug 2025
- 2025How Causal Abstraction Underpins Computational Explanation15 Aug 2025
- 2025Decomposing Representation Space into Interpretable Subspaces with Unsupervised Learning3 Aug 2025
- 2025Position: We Need An Algorithmic Understanding of Generative AI10 Jul 2025
- 2025The Generalization Ridge: Information Flow in Natural Language Generation7 Jul 2025
- 2025Latent Concept Disentanglement in Transformer-based Language Models20 Jun 2025
- 2025Learning Distribution-Wise Control in Representation Space for Language Models7 Jun 2025
- 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspective5 Jun 2025
- 2025Towards Interpretability Without Sacrifice: Faithful Dense Layer Decomposition with Mixture of Decoders27 May 2025
- 2025Internal Causal Mechanisms Robustly Predict Language Model Out-of-Distribution Behaviors17 May 2025
- 2025Understanding In-context Learning of Addition via Activation Subspaces8 May 2025
- 2025MIB: A Mechanistic Interpretability Benchmark17 Apr 2025
- 2025On the Effectiveness and Generalization of Race Representations for Debiasing High-Stakes Decisions7 Apr 2025
- 2025Towards Automated Semantic Interpretability in Reinforcement Learning via Vision-Language Models20 Mar 2025
- 2025Exploring the Hidden Reasoning Process of Large Language Models by Misleading Them20 Mar 2025
- 2025Combining Causal Models for More Accurate Abstractions of Neural Networks14 Mar 2025
- 2025HyperDAS: Towards Automating Mechanistic Interpretability with Hypernetworks13 Mar 2025
- 2025Unsupervised Structural-Counterfactual Generation under Domain Shift17 Feb 2025
- 2025EAP-GP: Mitigating Saturation Effect in Gradient-based Automated Circuit Identification7 Feb 2025
- 2025From Screens to Scenes: A Survey of Embodied AI in Healthcare13 Jan 2025
- 2025Model Alignment Search10 Jan 2025
- 2025Emergent Symbol-like Number Variables in Artificial Neural Networks10 Jan 2025
- 2024Causal Abstraction in Model Interpretability: A Compact Survey26 Oct 2024
50 newest of 102 All 102 (JSON)
- 2024Rethinking Interpretability in the Era of Large Language Modelscited by 110
- 2024How to think step-by-step: A mechanistic understanding of chain-of-thought reasoningcited by 53
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Modelscited by 50
- 2024Understanding Reasoning Ability of Language Models From the Perspective of Reasoning Paths Aggregationcited by 22
- 2024GPT-ology, Computational Models, Silicon Sampling: How should we think about LLMs in Cognitive Science?cited by 5
- 2025Exploring the Hidden Reasoning Process of Large Language Models by Misleading Themcited by 3
- 2026Causal Concept Graphs in LLM Latent Space for Stepwise Reasoningcited by 0
- 2026Causal Concept Graphs in LLM Latent Space for Stepwise Reasoning11 Mar 2026
- 2025Exploring the Hidden Reasoning Process of Large Language Models by Misleading Them20 Mar 2025
- 2024GPT-ology, Computational Models, Silicon Sampling: How should we think about LLMs in Cognitive Science?13 Jun 2024
- 2024How to think step-by-step: A mechanistic understanding of chain-of-thought reasoning28 Feb 2024
- 2024Understanding Reasoning Ability of Language Models From the Perspective of Reasoning Paths Aggregation5 Feb 2024
- 2024Rethinking Interpretability in the Era of Large Language Models30 Jan 2024
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Models23 Oct 2023
- 2024Personality Alignment of Large Language Modelscited by 36
- 2025Model Alignment Searchcited by 3
- 2025Model Alignment Search10 Jan 2025
- 2024Personality Alignment of Large Language Models21 Aug 2024
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
- 2023LEACE: Perfect linear concept erasure in closed formcited by 254
- 2024ReFT: Representation Finetuning for Language Modelscited by 186
- 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 145
- 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 140
- 2023How do Language Models Bind Entities in Context?cited by 102
- 2023When Large Language Models Meet Personalization: Perspectives of Challenges and Opportunitiescited by 89
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2023Successor Heads: Recurring, Interpretable Attention Heads In The Wildcited by 77
- 2023Is This the Subspace You Are Looking for? An Interpretability Illusion for Subspace Activation Patchingcited by 75
- 2023Towards Vision-Language Mechanistic Interpretability: A Causal Tracing Tool for BLIPcited by 62
12 most cited of 92 All 92 (JSON)
- 2026Right Answer, Wrong Mechanism: Detecting Pernicious Divergence in Causal Interventions30 Sep 2026
- 2026Where MLLMs Fail and Why: Causal Task Decomposition for Capability Failure Diagnosis30 Sep 2026
- 2026When Models Don't Manipulate Manifolds: The Geometry of a Comparison Task29 Sep 2026
- 2026Logical subspace in LLMs26 Sep 2026
- 2026Medical AI Encodes a "Feeling of Error": Verifying Cancer Segmentation via Internal Concepts8 Sep 2026
- 2026Intrinsic Structure: Spectral Identifiability for Mechanistic Interpretability10 Aug 2026
- 2026LAWFUL: Law-Aligned Witness for Faithful Use of Latents26 Jul 2026
- 2026Belief-reality separation lives in routing over a shared value slot in language models11 Jul 2026
- 2026Certified Interventional Fidelity: Anytime-Valid, Adaptive Evaluation of Causal Claims in Mechanistic Interpretability9 Jul 2026
- 2026SemRF: A Semantic Reference Frame for Residual-Stream Dynamics in Language Models30 Jun 2026
- 2026Unsupervised Causal Abstractions Discovery17 Jun 2026
- 2026When Attribution Patching Lies: Diagnosis and a Second-Order Correction5 Jun 2026
12 newest of 92 All 92 (JSON)