[Paper Review] Interpretability at Scale: Identifying Causal Mechanisms in Alpaca
The paper scales Boundless Distributed Alignment Search (Boundless DAS) to large LLMs and shows Alpaca (7B) implements a simple two-boolean-variable causal model for a numeric reasoning task, with alignments robust across inputs and instructions.
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`.
Motivation & Objective
- Motivate the need for interpretable, causally faithful explanations of large language models for safety and trustworthiness.
- Propose Boundless DAS to scale causal abstraction-based interpretability to LLMs.
- Demonstrate that Alpaca solves a numeric reasoning task via a simple, interpretable causal model.
- Assess robustness of discovered alignments across instructions, inputs, contexts, and output formats.
Proposed method
- Extend the Distributed Alignment Search (DAS) by learning boundary masks and a rotation to enable scalable alignment (Boundless DAS).
- Introduce learnable boundary indices b_j that determine the dimensional subspaces Y_j for each high-level variable Z_j, enabling automatic determination of representation dimensionality.
- Use SoftDII and weighted interventions to approximate and optimize interchange intervention accuracy (IIA) against a ground-truth causal model.
- Optimize a cross-entropy objective (Eq. 5) to align neural representations with causal variables while gradually annealing the boundary masks (β).
- Evaluate alignment quality with Interchange Intervention Accuracy (IIA) and compare against random baselines and task performance.
- Apply Boundless DAS to Alpaca-7B on a price-tagging/NLP-based numeric reasoning task and test generalization across instructions, contexts, and output formats.
Experimental results
Research questions
- RQ1Can Boundless DAS scale causal interpretability to large LLMs like Alpaca (7B)?
- RQ2Do the internal representations align with interpretable causal variables in a robust, generalizable way across contexts and instructions?
- RQ3What is the nature of the causal mechanism Alpaca uses to solve the numeric reasoning task?
- RQ4Do learned alignments transfer to new brackets, inserted context, and modified outputs?
Key findings
- Boundless DAS reveals that Alpaca uses a simple two-boolean-variable causal model (left and right boundary checks) to solve the task.
- IIA for the top two hypothesized models reaches or exceeds task performance (0.85+), indicating faithful internal causal structure.
- Alignments generalize across unseen brackets, inserted prefixes, and different output formats with minimal IIA drop, demonstrating robustness.
- Boundary learning shows each aligned variable uses only about 5–10% of the representation space in successful runs.
- Controls with incorrect outputs and alternative models yield substantially lower IIA, supporting the fidelity of identified alignments.
- Across multiple analyses, the search achieves near-100% task performance on new bracket setups and high correlation with main results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.