Introduction
Mechanistic interpretability (MI) seeks to transform the "black box" of neural networks into human-understandable algorithms. Despite rapid progress, the field has long remained fragmented, characterized by a lack of shared terminology and formal evaluation standards. This survey, recently published in Computational Linguistics, proposes a unifying framework based on Causal Mediation Analysis (CMA). By identifying "mediators"—the internal causal units of a model—researchers can move from ad-hoc observations to rigorous, comparable explanations.
The Theoretical Core: Causal Mediation Analysis
At its heart, mechanistic interpretability is the search for mediators. In the CMA framework, we consider an input (cause $x$), an internal representation (mediator $z$), and an output (effect $y$).
By intervening on $z$ (e.g., through activation patching or ablation), researchers can measure the Indirect Effect (IE) of a specific component on the model's behavior. This formalization allows us to treat interpretability as a structural causal modeling problem, providing the "theoretical glue" needed to compare disparate techniques.
A Unified Taxonomy of Interpretability
The authors categorize the landscape of MI research along two primary axes: the types of mediators studied and the methods used to discover them. This taxonomy provides a strategic roadmap for selecting tools based on research goals, such as explaining behavior versus editing a model.
1. Mediator Types (The "What")
Mediators are the "nodes" in a high-level causal graph. They are broadly classified as:
- Basis-aligned: Units defined by the model's architecture, such as layers, attention heads, or individual neurons. While easy to access, individual neurons often suffer from "polysemanticity," responding to multiple unrelated concepts.
- Non-basis-aligned: Units not tied to specific dimensions, including 1D "directions" in activation space or multidimensional subspaces. Techniques like Sparse Autoencoders (SAEs) are increasingly used to find "monosemantic" directions that correspond to single human-understandable features.
- Non-linear: A frontier area focusing on units that represent information through complex clusters or vector magnitudes rather than simple linear projections.
2. Search Methods (The "How")
- Exhaustive Search: Brute-force testing of every component (e.g., patching every neuron) to see which ones affect the output. This is effective for localization but computationally expensive.
- Supervised Optimization: Using labeled data to find specific concepts, such as Distributed Alignment Search (DAS) or probing.
- Unsupervised Optimization: Discovering features without a prior hypothesis, often through dictionary learning (SAEs) or clustering.
Evaluating Causal Explanations
The paper introduces four "Pareto" metrics to evaluate the quality of a causal explanation:
- Sparsity: Does the explanation use a minimal number of components?
- Generality: Does the explanation hold across a wide breadth of data?
- Selectivity: Does it explain only the target behavior?
- Faithfulness: Does the simplified causal graph accurately predict the full model's output?
Key insights suggest that while full layers are useful for model editing (e.g., ROME), they are too coarse for algorithmic understanding. Conversely, unsupervised optimization over fine-grained directions (SAEs) currently provides the best balance of sparsity and faithfulness for explaining complex behaviors.
Conclusion and Future Directions
The quest for the "right" mediator continues. Future work must address the "linearity bias" of current tools, improve the scalability of causal analysis through gradient-based approximations, and explore the potential of LLM agents for automated hypothesis generation. Standardizing benchmarks like the Mechanistic Interpretability Benchmark (MIB) will be crucial for the field's maturation into a rigorous engineering discipline.
Summary updated