AI Alignment
Part VII: Verification from Inside

Draft complete but not yet reviewed; expect revisions

Questions and Methods

In brief

Ideas
  • An explanation of a network is a smaller causal model aligned with it, faithful to the degree that both respond alike to interchange interventions. Passing does not single out one explanation (§43.5).
  • The methods were built to ask what a part carries, what the network does with it, and why this output. Verification asks something harder: an absence across untried inputs (§43.1.2).
  • A local gradient attribution, such as attribution patching, is a first-order estimate of an intervention: accurate where the network is near linear between the two inputs, it misses components behind a saturated nonlinearity (§43.3.3).
  • Neuroscience's methods, tried on a microprocessor of known design, found structure but not how it computed. Its lesson, test methods on known mechanisms, needs networks built to contain one (§43.6.4).
Evidence
  • Settled: a probe's accuracy does not show that the network uses what it decodes, as two groups showed in different ways (§43.2.4).
  • Settled: patching and ablation results depend on the choice of corruption, metric, and ablation method, as three groups found on different tasks (§43.4.3).
  • Reported: ablation effects understate a component's role because other components compensate, in studies by one laboratory's team and a project it supervised (§43.4.3).
  • Contested: whether causal abstraction is the right standard. Unrestricted alignment maps make it trivial, so its content lies in assumptions about how networks encode information (§43.5.6).
Open
  • Crux: do the methods recover a mechanism planted in a network of realistic size? A blind evaluation by a group that did not develop them, counting misses and false findings, would settle it (§43.6.4).
  • Missing: as of October 2026, a shared benchmark of mechanisms planted at current scale; the two closest, from 2024, are compiled or small (§43.8).

The previous part asked what an overseer can learn by watching a model act: evaluations, audits, lie detectors, chains of thought, and debates all treat the model as something that produces behavior to be judged (Part VI). Each runs into the same wall. A model can behave differently when it recognizes a test (Chapter 37), its stated reasoning need not be the computation that produced its answer (Section 40.3), and a judge weaker than the model cannot always tell a good answer from a convincing one (Chapter 41). This part turns to the one source of evidence that does not pass through the model's behavior: its internal activations and weights, which the developer can read, copy, and change at will.

Interpretability is the research program that tries to turn that access into understanding. Access alone is not understanding: a network's weights are billions of numbers, and every one of them can be printed without explaining anything. This chapter is about the step between the two. It teaches the kinds of experiment the field runs on a network's internals. Above all, it teaches the standard that says when such an experiment shows how a network computes, so that the later chapters of this part can say exactly what a feature, a circuit, or a steering vector has been shown to be. The standard comes with a warning from neuroscience, the older science of reading networks nobody designed: its standard methods, tried on a system whose workings were known, fell short of describing how that system computes.

43.1 What interpretability asks #

Each method in this chapter answers a different question, and much confusion about what interpretability has shown comes from reading an answer to one as an answer to another. This section states the questions first.

43.1.1 The objects #

The raw material is the network's internal state. An activation is the vector of numbers that one layer of a network outputs for one input; the book writes it h\vh, with mm entries. A neuron or unit is one entry of such a vector, the output of one of the simple functions a layer is built from (Section 8.2). In a transformer, recall from Section 11.2.3, the residual stream is the running vector at each position that every block reads from and adds its output to, and an attention head is a component that moves information between positions by a learned, weighted lookup. Because each block adds to the stream rather than overwriting it, the output can be split into the contributions of individual components, which is what makes a component-by-component study of a transformer possible (Section 11.2).

43.1.2 Four questions #

Take a model that completes "The Eiffel Tower is located in the city of" with "Paris." Four different questions can be asked about it.

  1. Representation. What information does a part of the network carry? Is the tower's location present in the activation at the token "Tower," somewhere in the middle layers?
  2. Mechanism. What does the network do with that information? Which components retrieve the location and move it to the last position, where the next token is predicted?
  3. Explanation of a case. Why did this input produce this output? Which parts of the prompt, and which components, were responsible for "Paris" here, rather than for answers in general?
  4. Verification. Does the network contain a computation its developer did not intend, such as a hidden objective that shows up only on some inputs?

The first three are scientific questions about a given behavior. The fourth is the one this book needs, and it is harder in kind: it asks about the absence of something across inputs nobody has tried. The methods below were built for the first three. Whether they can answer the fourth is the question Chapter 47 takes up.

43.1.3 Faithful and plausible #

Explainable machine learning asked an older version of these questions, mostly for users who needed to trust or contest a model's decision. Zachary Lipton argued that the term "does not reference a monolithic concept," and separated transparency, "how does the model work?", from post-hoc explanations, "what else can the model tell me?" (Lipton, 2018). Finale Doshi-Velez and Been Kim, in a 2017 preprint, defined interpretability as the "ability to explain or to present in understandable terms to a human" and asked that each claim be tested by an evaluation matched to it (Doshi-Velez and Kim, 2017).

The distinction that matters most here was set out by Alon Jacovi and Yoav Goldberg in an opinion piece at ACL 2020, drawing on earlier work. In their words, "'Plausibility' refers to how convincing the interpretation is to humans, while 'faithfulness' refers to how accurately it reflects the true reasoning process of the model" (Jacovi and Goldberg, 2020). They add that "it is possible to satisfy one of these properties without the other," and that "a plausible but unfaithful interpretation may be the worst-case scenario" (Jacovi and Goldberg, 2020). A plausible account of why a model answered "Paris," written by a person or by another model, can be false of the model; a faithful account can be unreadable. The methods of this chapter aim at faithfulness, and the standard of Section 43.5 is a way to measure it.

43.1.4 Who the answers serve #

The book distinguishes three relationships that "alignment" can name (Section 1.3), and interpretability results bear on them differently. Most results concern a deployed model: what it computes on the inputs its users send. Inspecting checkpoints during training, to catch a disposition forming that no one intended, concerns the training process and the signal it optimizes, and needs evidence about how structure changes over training rather than about a finished network. The third relationship, the developer and the public, enters through access: a developer's interpretability finding about its own model is evidence for an outside party only to the extent that the party can check it, which depends on who may read the weights (Section 43.7).

The principal here holds a power with no counterpart in the older theories of delegation. No employer can read an employee's neurons, rerun them on the same question, or edit one belief and watch what follows. Section 14.8 records that the delegation models assume a principal who sees outcomes rather than actions and cannot rerun the agent, an assumption that reverses for a developer and its model. The book listed a principal that reads its agent's activations among the results it would test the delegation thesis against (Section 1.7). This part reports what that power has delivered so far.

43.1.5 Names are hypotheses #

Interpretability papers name components and directions after what they seem to track: a curve detector, a truth direction, a deception feature. Each name is a hypothesis about what the component tracks, adopted because it predicts when the component will be active on inputs the namer has not yet seen. This is the intentional stance of Section 1.5 applied inside the network: the book uses such a name only together with the test behind it, and the later chapters report that test. A name earned by inspecting the inputs that most strongly activate a unit is the weakest kind, for a reason the neuroscience of Section 43.6 makes vivid. A stronger name rests on several tests. The Circuits essay's case that certain units of an image model detect curves rested on seven arguments, from images optimized to excite the units to the units' weights and what later units do with their output (Olah et al., 2020b). Its authors judged that the arguments "seem to meet the evidentiary standards we understand to be used in neuroscience" (Olah et al., 2020b).

The program also uses much vocabulary of its own, which the book marks as the program's. Mechanistic interpretability names the attempt to explain a network by the computations it performs rather than by its input-output behavior, in an early statement "attempting to reverse engineer the detailed computations performed by transformers" (Elhage et al., 2021a) (developer report). The open-problems review notes that the term is used "in a number of (sometimes inconsistent) ways" (Sharkey et al., 2025). Feature and circuit take the senses used here from the Circuits work at OpenAI, whose 2020 essay proposed, in claims its authors called "deliberately speculative," that features are the units of a network and circuits are features connected by weights (Olah et al., 2020b) (Section 3.6.1). Monosemantic and polysemantic describe a unit that responds to one concept or to several (Section 44.1). And the developer behind the attribution graphs of Chapter 45 describes its tools as a microscope and its subject as the "biology" of a language model, while warning that "Like any microscope, our tools are limited in what they can see" (Lindsey et al., 2025) (developer report). The glossary records each term (Appendix A).

Sources cited in Section 43.1 7
  1. Lipton (2018) The Mythos of Model Interpretability
  2. Doshi-Velez and Kim (2017) Towards A Rigorous Science of Interpretable Machine Learning
  3. Jacovi and Goldberg (2020) Towards Faithfully Interpretable NLP Systems: How Should We Define and Evaluate Faithfulness?
  4. Olah et al. (2020b) Zoom In: An Introduction to Circuits
  5. Elhage et al. (2021a) A Mathematical Framework for Transformer Circuits
  6. Sharkey et al. (2025) Open Problems in Mechanistic Interpretability
  7. Lindsey et al. (2025) On the Biology of a Large Language Model

43.2 Reading: probes and what decodability shows #

The first question asks what a part of the network carries. The simplest instrument for it is a probe: a small classifier, usually linear, trained to predict a property of the input from a layer's activations. A probe reads; it changes nothing in the network. This section teaches what its accuracy shows, the two ways that accuracy misleads, and the readouts that decode activations into the model's own vocabulary.

43.2.1 The idea #

Guillaume Alain and Yoshua Bengio, in a 2016 preprint, fit linear classifiers, "which we refer to as 'probes'," to every layer of image classifiers, "trained entirely independently of the model itself" (Alain and Bengio, 2016). The probes "do not affect the model training. They only measure the level of linear separability" of the classes at each layer (Alain and Bengio, 2016). In Inception v3 and ResNet-50, trained to classify ImageNet images, they report that "the linear separability of features increase monotonically" with depth; the body of the paper says "almost perfectly monotonic" (Alain and Bengio, 2016). Language processing arrived at the same tool at about the same time: Yonatan Belinkov's review of probing names studies from 2015, on word embeddings, as perhaps the first that can be cast as probing, and says the idea was "concurrently proposed" for vision by Alain and Bengio (Belinkov, 2022).

In a language model the property can be a word's part of speech, a sentence's truth, or whether a prompt looks like a test. If a probe predicts it well on new inputs, the property is decodable from that layer.

43.2.2 What the accuracy shows #

A linear probe computes a score v⊤h+v0\vv^\T \vh + v_0 from an activation h\vh, where v\vv is a direction in activation space and v0v_0 an offset, and answers "yes" when the score is positive. A logistic probe reports σ(v⊤h+v0)\sigma(\vv^\T \vh + v_0) as a probability, where σ\sigma is the logistic function, which maps any score to a number between 0 and 1. Training chooses v\vv and v0v_0 to fit labeled examples. Before asking what a well-fitting probe reveals, it helps to see how easily a probe fits.

Derivation Why a linear probe fits any labels on a small set

A linear probe on an activation h∈Rm\vh \in \R^m has m+1m + 1 parameters. Take nn activations h1,…,hn\vh_1, \dots, \vh_n with any labels at all, written as a vector t\mathbf{t} whose iith entry is +1+1 for "yes" and −1-1 for "no".

  1. Append a 1 to each activation and stack the results as the rows of an n×(m+1)n \times (m + 1) matrix A\mA. The probe's scores on the nn points are the entries of A(vv0)\mA \begin{pmatrix} \vv \\ v_0 \end{pmatrix}.
  2. Suppose n≤m+1n \le m + 1 and the points are in general position: none lies on the line, plane, or higher-dimensional flat through the others, which is true of almost every set of real-valued vectors that nobody arranged on purpose. Then the rows of A\mA are linearly independent, A\mA has rank nn, and its columns span all of Rn\R^n.
  3. Every vector of nn scores is therefore reachable. In particular there are v\vv and v0v_0 with A(vv0)=t\mA \begin{pmatrix} \vv \\ v_0 \end{pmatrix} = \mathbf{t}: the probe scores each point exactly +1+1 or −1-1, with the sign of its label.
  4. The probe classifies all nn points correctly, whatever the labels are and whatever the activations encode.

The argument uses nothing about the network, only the number of points and the dimension. A linear probe on a 4,096-dimensional activation can fit any labeling of up to 4,097 points in general position, including a random one.

Accuracy on the points used to fit a probe therefore says nothing until the number of points is large compared with the dimension. Accuracy on held-out points, which the probe never saw, removes this freedom. Two further gaps remain, and the literature has measured both.

43.2.3 The probe may do the work #

The first gap is that a capable probe can learn a task itself. John Hewitt and Percy Liang, in a paper at EMNLP 2019, put it this way: "as long as a representation is a lossless encoding, a sufficiently expressive probe with enough training data can learn any task on top of it" (Hewitt and Liang, 2019). Their control is a control task, which assigns each word type a random but fixed label, so that a probe can succeed only by memorizing which word gets which label (Hewitt and Liang, 2019). A good probe is selective: accurate on the real task and poor on the control, and "Selectivity is defined as the difference between linguistic task accuracy and control task accuracy" (Hewitt and Liang, 2019).

On part-of-speech tagging from the first layer of ELMo, an earlier language model, the numbers separate two probes that look equally good:

Table 43.1 Part-of-speech probes on ELMo's first layer, with default settings (Hewitt and Liang 2019)
Probe Part-of-speech accuracy Control task accuracy Selectivity
MLP with one hidden layer 97.3 92.8 4.5
Linear 97.2 71.2 26.0

The more flexible probe gains a tenth of a point on the real task and more than twenty on the control (Hewitt and Liang, 2019). The paper's abstract states that "popular probes on ELMo representations are not selective," a claim that applies to the flexible probes (Hewitt and Liang, 2019). Dropout did not raise their selectivity; smaller probes and other regularization did (Hewitt and Liang, 2019). Even the linear probe reached 71.2 percent on random labels, so selectivity is a matter of degree, not a pass mark.

Two 2020 papers dispute the criterion. Tiago Pimentel and colleagues, at ACL, treat probing as estimating the information a representation carries about a property, and conclude that "one should always select the highest performing probe one can, even if it is more complex" (Pimentel et al., 2020). If a network's representations determine the sentence, as they assume, the representations hold no more information about a property than the sentence itself, and they ask of selectivity, "why should we punish memorization?" (Pimentel et al., 2020). Elena Voita and Ivan Titov, at EMNLP, keep the worry but change the measure: their probe reports how many bits it takes to transmit the labels given the representations, which charges for the effort a probe needs (Voita and Titov, 2020). In Hewitt and Liang's own setting, this codelength was stable across probe settings where accuracy was not (Voita and Titov, 2020). The dispute is over whether a probe should measure the information present or how easily it can be extracted, a reading Pimentel and colleagues acknowledge (Pimentel et al., 2020). Neither measure shows that the network uses the information (inference).

43.2.4 Decodable is not used #

The second gap is between what is present and what the network relies on. Belinkov states it as the main limitation of probing: the method "may indicate correlations" between representations and a property, "but it does not tell us whether this property is involved in predictions of" the model (Belinkov, 2022). Geiger and colleagues built a small network in which a probe reads a quantity perfectly from units the output never uses (Geiger et al., 2021), and unit h6h_6 in Figure 43.1 is the same construction.

Yanai Elazar and colleagues tested the gap on a real model. Amnesic probing removes a property from a layer, here with an algorithm that repeatedly projects out the directions linear classifiers use to detect it, and measures how much the network's own predictions suffer (Elazar et al., 2021). On BERT's prediction of words left unmasked in its input, the setting probing studies use, across six properties including part of speech, dependency labels, and named entities, "conventional probing performance is not correlated to task importance"; the rank correlation across the six was not significant (p = 0.871) (Elazar et al., 2021). The properties did matter. Removing dependency labels or fine-grained part of speech cut word-prediction accuracy by 87.0 and 81.8 points, though the authors note that the first removal also took out some unrelated features (Elazar et al., 2021). Removing phrase boundaries, which probes decode well, slightly improved it (Elazar et al., 2021). Probe accuracy did not rank the properties by their use. The authors caution that the method removes "only linearly-present information" (Elazar et al., 2021). LEACE, a later eraser, is "a closed-form method which provably prevents all linear classifiers from detecting a concept while changing the embedding as little as possible" (Belrose et al., 2023b). Rerunning the BERT test with it, also on unmasked words, a group that includes one of Elazar's coauthors found the part-of-speech effect concentrated in layer 11 and agreed that "probing does not generally correlate with intervention-based analysis techniques" (Belrose et al., 2023b).

43.2.5 Reading in the model's own vocabulary #

A transformer ends by multiplying its final residual stream by an unembedding matrix, which turns the vector into a score for every token (Section 11.2). In a 2020 forum post, the pseudonymous author nostalgebraist applied the same readout to intermediate layers of GPT-2 and found that "the resulting distributions make intuitive sense" (nostalgebraist, 2020). They "gradually converge to the final distribution over the layers of the network," and "At some point in the middle, GPT will have formed a 'pretty good guess' as to the next token" (nostalgebraist, 2020). The author's own caveat: "The logit lens show us some of what is going on, not all of it" (nostalgebraist, 2020). The post names the method the logit lens.

The tuned lens, in a 2023 preprint by Nora Belrose and colleagues, trains "an affine probe for each block in a frozen pretrained model," a learned linear map plus offset per layer, before the unembedding (Belrose et al., 2023a). The maps are trained to reproduce the model's final output, so that "the probes are not incentivized to learn extra information over and above what the model has learned," the concern of Section 43.2.3 (Belrose et al., 2023a). On models with "up to 20B parameters," the authors report it "more predictive, reliable and unbiased than the logit lens" (Belrose et al., 2023a). A later version of the paper adds that the lenses in its earlier versions were "severely undertrained" (Belrose et al., 2023a).

Patchscopes, from Google Research in a paper at ICML 2024, generalize the idea. They decode a hidden representation "by patching it into a different inference pass (of the same or a different LLM) that encourages the translation of that specific information" (Ghandeharioun et al., 2024). The authors show that methods projecting representations into the vocabulary, the two lenses among them, and several intervention methods "can be viewed as instances of this framework" (Ghandeharioun et al., 2024). Its caveat is the one this section has been building: the approach "does not guarantee that the patched representation itself stores all that information," since the reading pass can add its own (Ghandeharioun et al., 2024). Readouts in words have since become a branch of the program (Section 43.7.2).

43.2.6 Probes in practice #

Probes are cheap, and safety work uses them widely. Earlier chapters report probes for false statements and lies (Section 39.5; Section 39.6), for whether a prompt looks like an evaluation (Section 37.3.2), and for whether a backdoored model is about to act on its trigger (Section 34.3.4). A probe used as a monitor is a detector, and its value depends on its error rates at the base rate of what it detects (Section 6.7); Section 46.4 judges such probes by the standards forensic science set for detectors. The open-problems review states the limit: probes "detect correlations instead of causal variables," so probing "should be used only to generate hypotheses" (Sharkey et al., 2025) (preprint).

Key idea

A probe's held-out accuracy shows that a property is decodable from a layer. It does not show that the network computes the property, since a flexible probe can learn it, or that the network uses it, since information can sit unused. Control tasks address the first gap and interventions the second.

Sources cited in Section 43.2 12
  1. Alain and Bengio (2016) Understanding intermediate layers using linear classifier probes
  2. Belinkov (2022) Probing Classifiers: Promises, Shortcomings, and Advances
  3. Hewitt and Liang (2019) Designing and Interpreting Probes with Control Tasks
  4. Pimentel et al. (2020) Information-Theoretic Probing for Linguistic Structure
  5. Voita and Titov (2020) Information-Theoretic Probing with Minimum Description Length
  6. Geiger et al. (2021) Causal Abstractions of Neural Networks
  7. Elazar et al. (2021) Amnesic Probing: Behavioral Explanation with Amnesic Counterfactuals
  8. Belrose et al. (2023b) LEACE: Perfect linear concept erasure in closed form
  9. nostalgebraist (2020) interpreting GPT: the logit lens
  10. Belrose et al. (2023a) Eliciting Latent Predictions from Transformers with the Tuned Lens
  11. Ghandeharioun et al. (2024) Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Models
  12. Sharkey et al. (2025) Open Problems in Mechanistic Interpretability

43.3 Attribution: gradients as cheap counterfactuals #

The third question asks why this input produced this output. Attribution answers it by assigning each input feature, or each internal component, a share of responsibility for the output. The cheapest share comes from a gradient, and this section teaches attribution as what a gradient is: a first-order estimate of what an intervention would do. Seen that way, its failures are predictable.

43.3.1 The idea #

The gradient of an output with respect to an input is the vector of rates at which the output changes as each input entry moves, the quantity gradient descent follows (Section 8.3). It answers a counterfactual question for every input entry at once: how much would the output change if this entry changed a little? Karen Simonyan and colleagues at Oxford, in a paper at ICLR, turned it into a picture. Their saliency map for an image classifier is the gradient of a class's score with respect to the pixels, so that "the magnitude of the derivative indicates which pixels need to be changed the least to affect the class score the most" (Simonyan et al., 2013). The same paper visualized a class by optimizing an image to maximize its score, which they credit to earlier work (Simonyan et al., 2013); feature visualization in the Circuits work applies the idea to single units (Olah et al., 2020b).

A gradient describes the output only near the input. Integrated gradients, from Mukund Sundararajan and colleagues at Google in a paper at ICML 2017, replace the local slope with an average along the straight path from a baseline input, such as a black image, to the actual input (Sundararajan et al., 2017). The authors proposed two axioms an attribution method should meet, which they call Sensitivity and Implementation Invariance, and showed that "they are not satisfied by most known attribution methods" (Sundararajan et al., 2017). Their method also satisfies completeness: the attributions add up to the difference between the output at the input and at the baseline (Sundararajan et al., 2017). The causal-abstraction paper of Section 43.5.5 shows that the same computation, with the baseline set to a patched value, measures an intervention exactly (Geiger et al., 2025).

43.3.2 Sanity checks #

A map that highlights the right pixels can still be uninformative about the model, and two tests from Google Brain showed how. Julius Adebayo and colleagues, in a paper at NeurIPS 2018, compared each method's map on a trained network with its map on the same network after its weights were randomized, and on a network trained on randomly permuted labels (Adebayo et al., 2018). Gradients and Grad-CAM passed. Guided backpropagation and Guided Grad-CAM produced maps that stayed similar until the layers closest to the input were randomized, and so failed (Adebayo et al., 2018). The authors' conclusion is that "visual inspection is a poor guide in judging whether an explanation is sensitive to the underlying model and data" (Adebayo et al., 2018). Pieter-Jan Kindermans and colleagues, in 2017, built two networks that compute exactly the same function on inputs shifted by a constant, and showed that "a transformation with no effect on the model can cause numerous methods to incorrectly attribute" (Kindermans et al., 2017b). Integrated gradients passed or failed depending on its baseline (Kindermans et al., 2017b). The two papers share two authors and one laboratory. A group at Facebook AI later reran the randomization checks. On images, the variant of integrated gradients that multiplies by the input was insensitive to randomization while the variant without that multiplier was not, and "the conclusions made for image do not directly transfer to text" (Kokhlikyan et al., 2021) (preprint).

Attribution has nonetheless found real defects. The best-known case, a classifier that recognized horses by a source tag in the corner of the image, is reported in Section 8.4.2 (Lapuschkin et al., 2019). What the sanity checks add is that a map's plausibility is not evidence that it reflects the model, the distinction between faithful and plausible of Section 43.1.3.

43.3.3 Attribution patching #

Activation patching, taught in full in Section 43.4, runs a model on a clean input that produces a behavior and a corrupted input that does not, copies one component's activation from one run into the other, and measures how much of the behavior moves with it. It measures a component's effect directly, but each patch costs a forward pass, and a model with thousands of heads and millions of connections between them cannot be patched one piece at a time on every prompt. Attribution patching replaces each patch with its first-order estimate.

Derivation Attribution patching as a first-order approximation

Let h\vh be the output of one component, such as an attention head, and let Perf(h)\mathrm{Perf}(\vh) be a scalar measure of the model's output, such as the log probability of the correct answer, computed with every other component left as it is on the corrupted input. Patching the component's clean value into the corrupted run changes the measure by ΔPerf=Perf(hclean)−Perf(hcorr)\Delta \mathrm{Perf} = \mathrm{Perf}(\vh^{\text{clean}}) - \mathrm{Perf}(\vh^{\text{corr}}).

  1. Expand Perf\mathrm{Perf} around the corrupted value. For a small change δ\boldsymbol{\delta}, Perf(hcorr+δ)≈Perf(hcorr)+δ⊤∇hPerf(hcorr)\mathrm{Perf}(\vh^{\text{corr}} + \boldsymbol{\delta}) \approx \mathrm{Perf}(\vh^{\text{corr}}) + \boldsymbol{\delta}^\T \nabla_{\vh} \mathrm{Perf}(\vh^{\text{corr}}), where ∇hPerf\nabla_{\vh} \mathrm{Perf} is the gradient of Perf\mathrm{Perf} with respect to the component's output.

  2. Set δ=hclean−hcorr\boldsymbol{\delta} = \vh^{\text{clean}} - \vh^{\text{corr}}:

    ΔPerf≈(hclean−hcorr)⊤∇hPerf(hcorr).\Delta \mathrm{Perf} \approx (\vh^{\text{clean}} - \vh^{\text{corr}})^\T \nabla_{\vh} \mathrm{Perf}(\vh^{\text{corr}}).
    (43.1)
  3. Count the cost. One forward pass on the clean input stores every component's hclean\vh^{\text{clean}}; one on the corrupted input stores every hcorr\vh^{\text{corr}}; one backward pass from Perf\mathrm{Perf} gives every gradient at once (Section 8.3.4). Three passes estimate the effect of patching every component, where patching itself takes one forward pass per component.

  4. See where it fails. An attention head turns scores into weights with a softmax, which makes them positive and sum to one; over two positions with score difference ss, the first gets the weight σ(s)\sigma(s), the logistic function. Let a component set s=6s = 6 on the corrupted run, a weight of 0.9975, and s=−6s = -6 on the clean run, a weight of 0.0025. Patching the component changes the weight by −0.9951-0.9951. The slope at the corrupted value is σ(6) (1−σ(6))=0.0025\sigma(6)\,(1 - \sigma(6)) = 0.0025, so (43.1) estimates (−12)(0.0025)=−0.030(-12)(0.0025) = -0.030, about 3 percent of the true change. A component that moves the attention completely looks nearly irrelevant.

Aaquib Syed, Can Rager, and Arthur Conmy, in a 2023 workshop paper, applied the estimate to every connection between components. On average it recovered previously identified circuits better than an automated search that patches connections one at a time, "while requiring just two forward passes and a backward pass" (Syed et al., 2023); Section 45.3 reports the comparison. On the one task where they compared the estimate with actual patching, the correlation was "fairly weak," and the fitted slope suggested that the estimate made effects look about twice as large as patching measured them (Syed et al., 2023).

The derivation's last step names one failure. János Kramár and colleagues at Google DeepMind, in a 2024 preprint on Pythia models from 410 million to 12 billion parameters, found "two classes of failure modes of AtP which lead to significant false negatives," the components a ranking by the estimate would miss (Kramár et al., 2024). They call them "attention saturation," the flat region of the softmax in the example above, and "cancellation," where a component's direct and indirect effects offset (Kramár et al., 2024). Their corrected method, AtP*, recomputes the attention softmax instead of approximating it and applies dropout to the backward pass, and they add "a method to bound the probability of remaining false negatives" (Kramár et al., 2024). They also state the limit: "there is no guarantee that AtP* produces no false negatives" (Kramár et al., 2024). On 16 models from InterpBench, a 2024 set of small transformers trained to implement known circuits, plain edge attribution patching did worse than patching-based search, while a variant using integrated gradients matched it (Gupta et al., 2024) (preprint). The authors note that the benchmark models' gradients were very small, which may explain the gap (Gupta et al., 2024).

Key idea

A local gradient estimate, such as attribution patching, is a first-order estimate of an intervention. It is accurate where the network is close to linear between the inputs being compared and fails where a nonlinearity saturates, which is why such estimates miss components that matter. Integrated gradients accumulate the slope along a path instead, and a map can look right while not tracking the model for other reasons, which the sanity checks test.

Sources cited in Section 43.3 11
  1. Simonyan et al. (2013) Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps
  2. Olah et al. (2020b) Zoom In: An Introduction to Circuits
  3. Sundararajan et al. (2017) Axiomatic Attribution for Deep Networks
  4. Geiger et al. (2025) Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretability
  5. Adebayo et al. (2018) Sanity Checks for Saliency Maps
  6. Kindermans et al. (2017b) The (Un)reliability of saliency methods
  7. Kokhlikyan et al. (2021) Investigating sanity checks for saliency maps with image and text classification
  8. Lapuschkin et al. (2019) Unmasking Clever Hans predictors and assessing what machines really learn
  9. Syed et al. (2023) Attribution Patching Outperforms Automated Circuit Discovery
  10. Kramár et al. (2024) AtP*: An efficient and scalable method for localizing LLM behaviour to components
  11. Gupta et al. (2024) InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniques

43.4 Intervening: ablation, patching, and mediation #

A probe shows what is present and an attribution estimates what would change. The methods that carry most mechanistic claims do the experiment instead: they set an internal activation to a chosen value, run the rest of the network, and watch the output. Setting one variable by hand while the rest of the system follows its usual rules is what causal inference calls an intervention, and a network is a rare system in which every variable can be intervened on exactly.

43.4.1 Mediation #

An input affects an output in two ways: directly, and through intermediate components, called mediators, that it changes along the way. Jesse Vig and colleagues, in a paper at NeurIPS 2020 read here in its expanded arXiv version, brought causal mediation analysis to neural networks "by treating internal model components, e.g., specific neurons or attention heads, as mediators between model inputs and model outputs" (Vig et al., 2020). Three quantities organize the analysis, in the form Judea Pearl gave them in 2001 so that they apply to nonlinear models as well as linear ones (Pearl, 2001). The total effect of changing the input from xx to x′x' is the change in the output. The direct effect changes the input but holds the mediator at the value it took on xx. An indirect effect, Pearl noted, cannot be isolated by holding variables constant (Pearl, 2001). The indirect effect instead keeps the input at xx and sets the mediator to the value it takes on x′x', measuring the part of the change that flows through the mediator (Vig et al., 2020; Geiger et al., 2025, Definition 57). The indirect effect is an interchange intervention in the sense of Section 43.5.

Their case was gender bias. A prompt such as "The nurse said that" can be continued with "she" or "he," and the ratio of the probabilities a model gives the anti-stereotypical and the stereotypical pronoun measures its bias on that prompt (Vig et al., 2020). Replacing "nurse" with "man" is the change of input, and each neuron or attention head is a candidate mediator. In GPT-2 small, on one of its datasets, intervening on 10 of the 144 attention heads matched the effect of intervening on all of them, and the first 6 heads selected were in layers 4 and 5 (Vig et al., 2020). In a randomly initialized model the effects were much smaller, "indicating that it is the training that causes gender bias" (Vig et al., 2020). The expanded version also reports that the effects are "synergistic, amplified or repressed by different components," and that splitting the total effect into direct and indirect parts needed an extra condition to hold (Vig et al., 2020).

43.4.2 Ablation and patching #

Two interventions do most of the work. Ablation removes a component's contribution: it sets the component's output to zero, to its average over a dataset, or to its value on a different input, the last called resample ablation (Geiger et al., 2025, sec. 3.5). Activation patching runs the model on two inputs, a clean one that produces the behavior and a corrupted one that does not, and copies one component's activation from one run into the other. The direction matters. Copying clean into corrupted, which Stefan Heimersheim and Neel Nanda call denoising, asks whether a component is sufficient to restore the behavior; copying corrupted into clean, noising, asks whether it is necessary (Heimersheim and Nanda, 2024) (preprint). They stress that "these two directions can be very different, and are not just symmetric mirrors of each other" (Heimersheim and Nanda, 2024).

The best-known patching study located stored facts. Kevin Meng and colleagues, in a paper at NeurIPS 2022, ran GPT-2 XL on prompts naming a subject whose associated fact the model knew (Meng et al., 2022). They corrupted the run by adding noise to the embeddings of the subject's tokens, then restored one internal state at a time to its clean value and measured how much of the correct answer's probability came back, a procedure they call causal tracing (Meng et al., 2022). On 1,000 known facts, the noise lowered the correct token's probability by 18.6 percentage points on average, and restoring the single hidden state at layer 15 of the last subject token recovered 8.7 points (Meng et al., 2022). Restoring MLP outputs recovered up to 6.6 points and attention outputs at that token 1.6, which the authors read as suggesting "a decisive role for MLP modules" (Meng et al., 2022). The MLP and attention traces restore windows of ten consecutive layers, because restoring single modules "had generally negligible effects" (Meng et al., 2022).

They then edited the weights of one middle-layer MLP with a rank-one change, a method they call ROME, to rewrite a single fact. On a new dataset of 21,919 counterfactual statements, ROME "simultaneously maintains both specificity and generalization," changing the targeted fact and its paraphrases while leaving unrelated facts alone, which other editing methods traded off (Meng et al., 2022). The authors' inference was strong: "This evidence suggests that we have an accurate understanding not only of where factual associations are stored, but also how" (Meng et al., 2022). Path patching, which patches the connection between two components, carried the indirect-object circuit in GPT-2 small that Section 45.2 reports (Wang et al., 2023c).

43.4.3 When the result depends on the method #

Each of these experiments has choices that the result can depend on, and four kinds of dependence have been measured.

The corruption and the metric. Fred Zhang and Neel Nanda, in a paper at ICLR, compared corrupting with noise, as causal tracing does, against replacing the key tokens with related ones, and compared output metrics (Zhang and Nanda, 2023). They found that "varying these hyperparameters could lead to disparate interpretability results" (Zhang and Nanda, 2023). The clear peak of MLP effects around layer 16 of GPT-2 XL under noise "is not salient at all" under token replacement, though the authors do not claim that the results under noise are illusory or inflated (Zhang and Nanda, 2023). A metric based on the correct answer's probability "must fail to detect negative model components, if corruption reduces the correct token probability to near zero" (Zhang and Nanda, 2023). A separate group, testing methods that discover circuits automatically, found them "very sensitive to the corrupted distribution" and to "hyperparameter and metric choice" (Conmy et al., 2023). Faithfulness scores for whole circuits turned out just as sensitive to how the removed parts are ablated, as Section 45.3 reports (Miller et al., 2024).

Location is not leverage. Peter Hase and colleagues, at NeurIPS 2023, asked whether the layer causal tracing points to is the layer where an edit works best. On GPT-J, it is not: tracing results "do not provide any insight into which model MLP layer would be best to edit" (Hase et al., 2023). Once the choice of edit layer was accounted for, the tracing effect explained "only 0.1% of the variance in edit success" (Hase et al., 2023). The authors read this as tracing answering "a different question than model editing does," not as tracing being wrong (Hase et al., 2023). Either way, the ROME paper's use of editing success as evidence for its localization did not survive the test (inference).

Self-repair. Thomas McGrath and colleagues at Google DeepMind, in a 2023 preprint, studied a 7-billion-parameter model built to the design of the laboratory's Chinchilla models (McGrath et al., 2023; Hoffmann et al., 2022). They found that "ablations of one attention layer of a language model cause another layer to compensate," which they call the Hydra effect (McGrath et al., 2023). The measurements resample-ablated whole layers on 1,209 factual-recall prompts from the CounterFact dataset (McGrath et al., 2023). With late MLP layers that damp the most likely token, the compensation restored about 70 percent of the drop in the answer's logit at middle layers (McGrath et al., 2023). They "caution against straightforwardly interpreting low effectiveness of ablations as meaning that a network component is unimportant" (McGrath et al., 2023). Cody Rushing and Neel Nanda, at ICML 2024, ablated single heads in Pythia, GPT-2, and Llama-7B models and found self-repair across them, "imperfect" and "noisy, since the degree of self-repair varies significantly across different prompts" (Rushing and Nanda, 2024). They measured how much of a head's direct effect on the correct token's logit was restored, over the 2 percent of tokens where that effect was largest (Rushing and Nanda, 2024). Its causes include the final normalization layer's rescaling and small sets of neurons that change from prompt to prompt, and the authors write that it "makes ablations an unreliable tool" (Rushing and Nanda, 2024). They name as a limitation that they measured the repair of direct effects only, and that how far it extends to other measures of a head's role is unclear (Rushing and Nanda, 2024). The two studies share a team: McGrath's coauthors were at Google DeepMind, and Rushing's project was supervised by Nanda (Rushing and Nanda, 2024), a member of that laboratory's interpretability team (Nanda et al., 2025). A smaller precedent comes from another group: the indirect-object circuit's backup heads, which took over when the main ones were ablated (Wang et al., 2023c).

The arithmetic of the bias is simple enough to write down.

Derivation Direct and indirect effects, and what self-repair does to them

Take a model with a scalar input xx, one internal component hh, and a scalar output yy, with weights θ1,θ2,θ3\theta_1, \theta_2, \theta_3:

h=θ1x,y=θ2x+θ3h.h = \theta_1 x, \qquad y = \theta_2 x + \theta_3 h .
  1. Total effect. Changing the input from xx to x′x' changes the output by (θ2+θ1θ3)(x′−x)(\theta_2 + \theta_1 \theta_3)(x' - x).
  2. Direct effect. Change the input but hold hh at its value on xx (patch it from the base run): the output changes by θ2(x′−x)\theta_2 (x' - x).
  3. Indirect effect. Keep the input at xx but set hh to its value on x′x': the output changes by θ1θ3(x′−x)\theta_1 \theta_3 (x' - x). In this linear model the total effect is the sum of the two.
  4. A backup. Add a component hb=ϵ (θ1x−h)h_{\text{b}} = \epsilon\,(\theta_1 x - h), with 0≤ϵ≤10 \le \epsilon \le 1, that also writes θ3hb\theta_3 h_{\text{b}} to the output. On an unaltered run h=θ1xh = \theta_1 x, so hb=0h_{\text{b}} = 0 and the model computes exactly what it did before. The backup acts only when hh is pushed away from what the input implies.
  5. The measured indirect effect. Set hh to θ1x′\theta_1 x' with the input at xx. The backup now outputs −ϵ θ1(x′−x)-\epsilon\,\theta_1 (x' - x), and the output changes by (1−ϵ) θ1θ3(x′−x)(1 - \epsilon)\,\theta_1 \theta_3 (x' - x).
  6. The measured ablation effect. Set hh to 0. The backup outputs ϵ θ1x\epsilon\,\theta_1 x, and the output falls by (1−ϵ) θ1θ3x(1 - \epsilon)\,\theta_1 \theta_3 x instead of θ1θ3x\theta_1 \theta_3 x.

Both experiments report the fraction 1−ϵ1 - \epsilon of the component's role; with ϵ=0.7\epsilon = 0.7, they report 30 percent of it. Nothing in the output reveals ϵ\epsilon. Reading the backup's own activation does, since it is zero on every ordinary input and moves only under the intervention.

A patch can create what it claims to find. Aleksandar Makelov and colleagues, at ICLR 2024, studied patches of a subspace: a few directions inside a component's activation rather than the whole component. Such a patch can change behavior "by activating a dormant parallel pathway" rather than by moving the feature the subspace is said to hold (Makelov et al., 2024a). Their example is a one-dimensional subspace of an MLP layer in GPT-2 small whose patching changed the model's answers on the indirect-object task, in a layer the original circuit study had found to contribute almost nothing (Makelov et al., 2024a). They found that subspaces of the residual stream are "less prone to illusions" and recommend checks beyond the end-to-end effect (Makelov et al., 2024a).

The parallel with neuroscience's lesion studies is exact enough that the 2025 causal-abstraction paper introduces ablation through them (Geiger et al., 2025), and Section 43.6 reports what lesions recovered from a system whose design was known.

Key idea

Ablation and patching test what a component contributes by changing it and watching the output. What they measure depends on the corruption, the metric, the direction of the patch, and on other components that compensate. A small effect does not show that a component is unimportant, and a large one does not show where or how the network stores what it uses.

Sources cited in Section 43.4 15
  1. Vig et al. (2020) Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  2. Pearl (2001) Direct and Indirect Effects
  3. Geiger et al. (2025) Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretability
  4. Heimersheim and Nanda (2024) How to use and interpret activation patching
  5. Meng et al. (2022) Locating and Editing Factual Associations in GPT
  6. Wang et al. (2023c) Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small
  7. Zhang and Nanda (2023) Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
  8. Conmy et al. (2023) Towards Automated Circuit Discovery for Mechanistic Interpretability
  9. Miller et al. (2024) Transformer Circuit Faithfulness Metrics are not Robust
  10. Hase et al. (2023) Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Models
  11. McGrath et al. (2023) The Hydra Effect: Emergent Self-repair in Language Model Computations
  12. Hoffmann et al. (2022) Training Compute-Optimal Large Language Models
  13. Rushing and Nanda (2024) Explorations of Self-Repair in Language Models
  14. Nanda et al. (2025) A Pragmatic Vision for Interpretability
  15. Makelov et al. (2024a) Is This the Subspace You Are Looking for? An Interpretability Illusion for Subspace Activation Patching

43.5 When an intervention licenses an explanation #

The interventions of Section 43.4 say which components matter for an output. A mechanistic explanation claims more: that the network carries out a particular algorithm, with a particular intermediate quantity held in a particular place. "The network adds the first two numbers, holds the sum in these units, and compares it with the third" is such a claim. This section teaches the theory that says when an intervention experiment licenses it. The rest of this part uses it as the standard of a correct explanation.

43.5.1 An explanation is a smaller causal model #

A causal model, in the sense used here, is a set of variables, each computed from others by a fixed rule, so that one can ask what would happen if a variable were set by hand. A trained network is already one: every activation is a variable, computed from earlier activations by the weights. As an explanation of itself it is correct and useless, since it has billions of variables. An explanation is a second causal model, with a few variables a person can read, such as "the sum of the first two inputs" or "which name appeared twice." The question is when the small model is a faithful simplification of the large one.

Causal abstraction is the theory of that relation, developed first for causal models in general. Rubenstein and colleagues, in a 2017 preprint, asked when two models of one system at different levels of detail agree "in their predictions of the effects of interventions" (Rubenstein et al., 2017). Beckers and Halpern, in a paper at AAAI 2019, gave a sequence of "successively more restrictive definitions of abstraction for causal models" (Beckers and Halpern, 2019). Atticus Geiger and colleagues brought the theory to neural networks in a paper at NeurIPS 2021 (Geiger et al., 2021). In a 2025 paper in the Journal of Machine Learning Research, a Stanford-led group presents it as "a theoretical foundation for mechanistic interpretability" (Geiger et al., 2025).

The relation needs an alignment: a pairing of each variable of the small model with a set of the network's units, together with a rule that reads the variable's value off those units (Geiger et al., 2025, Definition 34). Under an alignment, the small model abstracts the network when every intervention on a high-level variable has the same effect on the output as the corresponding intervention on its units.

43.5.2 The test: interchange interventions #

Which interventions should be compared? Setting units to arbitrary numbers can push the network into states it never reaches on real inputs, where its behavior says little about how it computes. The test therefore uses only values the network itself produces. An interchange intervention runs the network on a base input and fixes the aligned units to the values they take on a different source input; the small model makes the matching change, setting its variable to the value it takes on the source (Geiger et al., 2021; Geiger et al., 2025, Definition 49). This is activation patching from Section 43.4, with a hypothesis attached that predicts what the patch should do.

The 2021 paper's illustration is a network that adds three digits (Geiger et al., 2021). Suppose it first computes x+yx + y in some set of units. With base input (1,2,3)(1, 2, 3) and source (4,5,6)(4, 5, 6), the hypothesis predicts that patching those units from the source gives 4+5+3=124 + 5 + 3 = 12 (Geiger et al., 2021). If the patched network outputs the predicted sum, the source's first two digits plus the base's third, for every pair of base and source, then every intervention on the intermediate sum has an equivalent intervention on the units, and the hypothesis holds for that variable (Geiger et al., 2021).

Exact agreement on every pair is the ideal, and in a 2023 paper Geiger and colleagues write that it "rarely obtains in practice" (Geiger et al., 2023). The working measure is graded.

Definition 43.1 Interchange intervention accuracy

Let Net\mathrm{Net} be a network and Alg\mathrm{Alg} a high-level algorithm that compute the same input-output function, and let an alignment pair the algorithm's intermediate variable SS with a set of units I\mathcal{I}. For a base input xx and a source input x′x', write NetI←x′(x)\mathrm{Net}_{\mathcal{I} \leftarrow x'}(x) for the network's output on xx with the units in I\mathcal{I} fixed to their values on x′x'. Write AlgS←x′(x)\mathrm{Alg}_{S \leftarrow x'}(x) for the algorithm's output on xx with SS fixed to its value on x′x'. Over a set P\mathcal{P} of base-source pairs, the interchange intervention accuracy is

IIA=1∣P∣∑(x,x′)∈P1[NetI←x′(x)=AlgS←x′(x)].\mathrm{IIA} = \frac{1}{|\mathcal{P}|} \sum_{(x, x') \in \mathcal{P}} \mathbb{1}\big[\mathrm{Net}_{\mathcal{I} \leftarrow x'}(x) = \mathrm{Alg}_{S \leftarrow x'}(x)\big].
(43.2)

It is the share of interchange interventions on which the network and the algorithm agree (Geiger et al., 2025, Definition 53). An IIA of 1 on every interchange intervention the alignment defines is the abstraction relation itself; a lower value grades how far the explanation is from faithful.

43.5.3 Exploring an abstraction #

Figure 43.1 runs the test on a network small enough to see whole. It reads three integers aa, bb, and cc from 0 to 4 and outputs 1 when a+b>ca + b > c. Its weights are set by hand: the first layer holds aa, bb, and cc in units h1h_1, h2h_2, h3h_3 (each hih_i is one entry of an activation vector h\vh), and the second computes h4=a+bh_4 = a + b, h5=ch_5 = c, and h6=c−b+4h_6 = c - b + 4. The output compares h4h_4 with h5h_5 and ignores h6h_6. Two algorithms compute the same function. Algorithm A forms S=a+bS = a + b and asks whether S>cS > c; algorithm B forms D=c−bD = c - b and asks whether a>Da > D. Because there are only 125 inputs, the figure runs every one of the 15,625 ordered pairs of base and source, so each score is exact.

Algorithm A: S = a + b, then y = 1 if S > cinputlayer 1layer 2output−1−10a=0b=2c=30h1a2h2b3h3c4h4a + bwas 23h5c5h6c − b + 4, read by nothing1yh4 > h5Base input (a, b, c) = (0, 2, 3); source input (3, 1, 1).Patched units, base value → source value: h4 2 → 4.Patched network: y = 1. Algorithm, with S set from the source: y = 1. They agree.Interchange intervention accuracyall 15,625 pairs1.000pairs that should change (32.3%)1.000an alignment that changes nothing (0.677)
Algorithm A: S = a + b, then y = 1 if S > cinputlayer 1layer 2output−1−10a=0b=2c=30h12h23h34h4a + b3h5c5h6c − b + 41yh4 > h5Base input (a, b, c) = (0, 2, 3); source input (3, 1,1).Patched units, base value → source value: h4 2 → 4.Patched network: y = 1. Algorithm, with S set from thesource: y = 1. They agree.Interchange intervention accuracyall 15,625 pairs1.000pairs that should change (32.3%)1.000an alignment that changes nothing (0.677)
Figure 43.1 Interchange interventions on a hand-built network that outputs 1 when a + b > c. Unlabeled arrows have weight +1; h6 = c − b + 4 has an output weight of 0, so nothing reads it. Choose an algorithm and the units aligned with its intermediate variable; patched units (violet) take their values from the source input, and the example shows one base-source pair. The bars count all 15,625 pairs exactly. The dashed mark on the first bar is the score of an alignment that changes nothing, which is high because most patches should leave the output alone; the second bar scores only the pairs where the algorithm predicts a change. All numbers are computed from the stated network; none are sampled.

Under algorithm A, aligning SS with h4h_4 scores an IIA of 1.000, as it should: h4h_4 is where the network forms the sum. Aligning SS with h1h_1 alone, a plausible guess since h1h_1 feeds the sum, scores 0.776. That looks respectable until one counts how many pairs are informative. The algorithm predicts a changed output on only 32.3 percent of pairs, so an alignment that changes nothing at all scores 0.677. On the informative pairs, h1h_1 is right half the time. Whoever reports an IIA should report its floor, or the accuracy on pairs where the hypothesis predicts a change.

Under algorithm B, the obvious candidate for DD is h6h_6, which holds c−bc - b plus a constant: a probe trained on h6h_6 would decode DD perfectly. Its IIA is 0.677, the floor, and on the informative pairs it is 0, because the output never reads h6h_6. This is the gap of Section 43.2 between decodable and used, now measured. Yet algorithm B is not refuted. Aligning DD with the pair (h2,h3)(h_2, h_3), read as h3−h2h_3 - h_2, scores 1.000, because the first layer still holds bb and cc separately, and patching both changes the output exactly as B predicts. The network is abstracted by both algorithms, under alignments at different layers. Nothing in the test chooses between them; only a prior decision about where an intermediate variable may live could.

43.5.4 Distributed alignments #

The alignments above pair a variable with whole units. In trained networks a quantity is often spread across many units, each of which takes part in several quantities, which Chapter 44 explains. Distributed alignment search (DAS), introduced by Geiger and colleagues in 2023, finds the alignment by gradient descent in a rotated coordinate system, so that a variable can align with a direction shared across neurons (Geiger et al., 2023). On a network trained to judge whether two pairs of objects have the same relation, DAS found perfect or near-perfect alignments with the algorithm that computes both equalities first. The best alignment to groups of whole neurons found by brute-force search reached an IIA of 0.60, and the neuron-aligned alignment closest to the one DAS learned reached 0.73 (Geiger et al., 2023).

The same paper ran a control that matters for everything below. On frozen, randomly initialized networks that solve nothing, DAS could not raise IIA when the hidden layer was small. The authors read this as a check that DAS cannot construct new behavior from random structure. When the hidden layer was made orders of magnitude larger than the input, though, IIA rose: an oversized hidden layer "allows DAS to manipulate the model behavior by searching through a large space of random mechanisms" (Geiger et al., 2023). How much freedom the alignment is given is part of what a score means.

43.5.5 One language for the methods #

The 2025 paper's main claim is that the methods of this chapter are special cases of one analysis. It lists "activation and path patching, causal mediation analysis, causal scrubbing, causal tracing, circuit analysis, concept erasure, sparse autoencoders, differential binary masking, distributed alignment search, and steering" (Geiger et al., 2025). It also gives a precise formalization of polysemantic neurons, of the linear representation hypothesis that concepts are directions in activation space (Section 46.1), of modular features, and of graded faithfulness (Geiger et al., 2025). A few of the translations explain results of earlier sections:

  • Causal mediation is abstraction by a three-variable chain, input to mediator to output, and its direct and indirect effects are interchange interventions (Geiger et al., 2025, sec. 3.4.1).
  • Ablation is abstraction by a three-variable model in which a binary variable records whether a component was removed; the paper introduces it through neuroscience's lesion studies (Geiger et al., 2025, sec. 3.5).
  • A linear probe defines a coordinate system in which the concept might be localized, so it can be tested as an alignment. But "successfully probing a hidden vector does not guarantee that it plays a causal role in model behavior" (Geiger et al., 2025, sec. 3.6.3).
  • Integrated gradients, an attribution method, can compute an interchange intervention when its baseline is set to the patched value, though "computing integrals is an inefficient way to compute interchange interventions" (Geiger et al., 2025, sec. 3.3.2).
  • Steering is control rather than explanation: "While a successful interchange intervention analysis implies an ability to control the low-level model, the reverse does not hold" (Geiger et al., 2025, sec. 3.7). A steering vector can push activations off the distribution that inputs produce, so a vector that moves behavior need not be where the network holds the concept.

The unification is why the later chapters can ask the same question of every method: which interchange interventions has the claimed explanation passed, on which inputs, and under what restrictions on the alignment? A feature found by a sparse autoencoder (Section 44.5), a circuit (Section 45.1), and a steering vector (Section 46.2) are each claims of this form.

43.5.6 What the standard does not give #

The figure already showed the limit: two algorithms passed the test on one network. Méloux and colleagues, in a paper at ICLR 2025, found the same in small networks trained on Boolean functions, where every candidate explanation could be enumerated. In their words, "several algorithms can be causally aligned with the neural network, and a single algorithm can be causally aligned with different subspaces of the network" (Méloux et al., 2025). Sutter and colleagues, at NeurIPS 2025, proved that if the alignment map may be arbitrarily nonlinear, then "under reasonable assumptions, any neural network can be mapped to any algorithm" (Sutter et al., 2025). Causal abstraction, they suggest, "becomes vacuous without assumptions about how models encode information" (Sutter et al., 2025). A passing test therefore shows that an explanation is faithful under a stated class of alignments, not that it is the explanation. Section 47.2 reports these results in full and asks what they mean for verification.

The standard also answers a question about one finished network. A different question is how its structure formed during training. Hoogland and colleagues proposed in a 2023 forum post to study it as developmental interpretability, through the phase transitions of training (Hoogland et al., 2023), using the tools of singular learning theory taught in Section 10.2 and the transitions of Section 9.4.

Key idea

An explanation of a network is a smaller causal model aligned with parts of the network. It is faithful to the degree that interchange interventions on its variables and on the aligned parts change the output in the same way. The test grades faithfulness; it does not make the explanation unique, and what it shows depends on how much freedom the alignment is given.

Sources cited in Section 43.5 8
  1. Rubenstein et al. (2017) Causal Consistency of Structural Equation Models
  2. Beckers and Halpern (2019) Abstracting Causal Models
  3. Geiger et al. (2021) Causal Abstractions of Neural Networks
  4. Geiger et al. (2025) Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretability
  5. Geiger et al. (2023) Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representations
  6. Méloux et al. (2025) Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable?
  7. Sutter et al. (2025) The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?
  8. Hoogland et al. (2023) Towards Developmental Interpretability

43.6 Reading a network nobody designed: neuroscience #

From neuroscience. Interpretability is not the first science to infer computation from the activity of a network that no one designed. Neuroscience records the activity of single neurons, removes or silences parts of the brain to see what fails (a lesion study), and asks which stimuli make a neuron fire (its tuning). These are the probe, the ablation, and the feature label of this chapter under older names. The field has also tested its methods on a system whose answer was known, which interpretability can learn from directly.

43.6.1 The microprocessor test #

Eric Jonas and Konrad Kording, in a 2017 paper in PLOS Computational Biology, took a classical microprocessor "as a model organism" (Jonas and Kording, 2017). The MOS 6502 ran the Apple I, the Commodore 64, and the Atari video game system. The Visual6502 team had reconstructed it transistor by transistor from images of the chip, capturing 3,510 transistors and inferring 1,018 more from the circuit's topology, and their simulator tracks the state of every transistor at every step (Jonas and Kording, 2017). The "behaviors" were three games, Donkey Kong, Space Invaders, and Pitfall. The authors then applied standard analyses of neuroscience to the chip, among them its wiring diagram, lesions of single transistors, tuning curves, correlations between transistors, and averaged regional activity (Jonas and Kording, 2017).

The lesions make the point most directly. Each forced one transistor permanently on (Jonas and Kording, 2017). Of the transistors whose lesion stopped a game from drawing its first frame, 1,560 broke all three games, 200 broke two, and 186 broke exactly one (Jonas and Kording, 2017). A neuroscientist might conclude that there is a Donkey Kong transistor. The authors' verdict: "This finding of course is grossly misleading. The transistors are not specific to any one behavior or game but rather implement simple functions, like full adders" (Jonas and Kording, 2017). Tuning failed in the same way. A few transistors were strongly tuned to the brightness of the most recently displayed pixel. The authors knew that the five they showed were not directly related to the brightness of the pixel being written, so the apparent tuning was "not really insightful about their role" (Jonas and Kording, 2017).

Their summary is that the methods "reveal interesting structure in the data but do not meaningfully describe the hierarchy of information processing in the microprocessor" (Jonas and Kording, 2017). They draw two conclusions. The first is about method: analyses should be checked on "complex non-linear dynamical systems with known ground truth" before they are trusted on brains (Jonas and Kording, 2017). The second is about where the fault lies: "the problem is not that neuroscientists could not understand a microprocessor, the problem is that they would not understand it given the approaches they are currently taking" (Jonas and Kording, 2017). The authors take the idea from an earlier essay by Yuri Lazebnik (Lazebnik, 2002), which, in their account, imagined biologists shooting identical radios with metal particles to see which damaged part breaks which function, and held that understanding means being able to fix a broken system (Jonas and Kording, 2017).

Each failure has a counterpart in this chapter. The Donkey Kong transistor is an ablation result read as a function, the reading Section 43.4 warns against when components compensate or serve many behaviors. The tuned transistor is a feature named from the inputs that activate it, the inference Section 43.1 treats as a hypothesis. The authors also note that a brain can reroute around damage, "which can allow regions to take over for damaged areas" (Jonas and Kording, 2017), the counterpart of self-repair.

43.6.2 Levels of explanation #

What would count as understanding? Jonas and Kording recall the levels of analysis they credit to David Marr and Tomaso Poggio in 1982: what problem a system solves, the algorithm by which it manipulates internal representations, and the physical implementation that carries the algorithm out (Jonas and Kording, 2017). The levels are the framework of Marr's book Vision (Marr, 1982). Geiger and colleagues place mechanistic interpretability at the middle level: it seeks the mediating processes "at a slightly higher-level of abstraction," what "Marr (1982) famously called the algorithmic level of analysis" (Geiger et al., 2025). In the terms of Section 43.5, the high-level model is the algorithm and the alignment says how the network implements it.

A second answer denies that a trained network's weights are the right place to look. Timothy Lillicrap and Kording, in a 2019 preprint, rest their argument on compressibility: a description is useful when it is much shorter than the thing described. They write that "We may thus expect broadly applicable intelligent systems to be hard (or impossible) to compress into a small size" (Lillicrap and Kording, 2019). What is short is the recipe. The architecture, the loss, the learning rule, and the optimizer "are all easily expressed in small human understandable equations" (Lillicrap and Kording, 2019). Their conclusion is hedged: "for the moment we best understand neural networks in terms of their mechanisms for development and learning," and it "may thus eventually be possible to meaningfully understand a network trained on ImageNet" (Lillicrap and Kording, 2019). If they are right, the algorithmic level the causal-abstraction standard asks for may not exist in a compact form for large networks (inference).

43.6.3 Lessons the field is relearning #

Two position papers carry neuroscience's methodological lessons into interpretability. Martina Vilas and colleagues, at ICML 2024, observe that "a great number of inner interpretability studies seem to equate mechanistic explanations solely with localizing model components that have a causal effect" (Vilas et al., 2024). Neuroscientists, they write, "have long argued that this type of work is insufficient," and they cite earlier work on "the difficulty of inferring cognitive function from neural recordings" (Vilas et al., 2024). Their remedy is the test the microprocessor illustrated. A method should be judged by whether it can falsify a mechanistic hypothesis "about a system whose design principles are known," and by the question "if the hypothesized mechanism is absent, how likely is the method to reveal its absence?" (Vilas et al., 2024). That second question is the fourth question of Section 43.1 in neuroscience's words.

A 2024 preprint by Zhonghao He and fifteen colleagues makes the parallel with probes explicit. In neuroscience, decoding a quantity from recordings gives "no guarantee that the decoded information is actually necessary for performing the task, unless causal manipulations are done in addition to decoding" (He et al., 2024d), the lesson of Section 43.2. Following an argument by Krakauer and colleagues (Krakauer et al., 2017), they hold that understanding comes from "the careful theoretical and experimental decomposition of behavior alongside corresponding algorithmic and neural representations" (He et al., 2024d). By their reading, much interpretability work so far sits at the implementation level, the lowest of Marr's three (He et al., 2024d).

43.6.4 What it implies, and where the analogy stops #

The microprocessor test implies a rule: validate a method on networks whose mechanism is known before trusting it on networks whose mechanism is not. Interpretability has built the counterparts. Tracr, from a Google DeepMind group, compiles programs written in a small language for transformer computations into the weights of a standard transformer, so that "the known structure of Tracr-compiled models can serve as ground-truth for evaluating interpretability methods" (Lindner et al., 2023). Its authors add the limit: compiled models give each feature its own coordinate, which "is unrealistic, and makes the resulting models easy to interpret," so evaluations on them are "a minimum bar rather than a full validation of a technique" (Lindner et al., 2023). Auditing games plant a hidden objective in a model and ask blind teams to find it, as in the developer's study reported in Section 38.2 (Marks et al., 2025) (developer preprint).

The analogy stops in two directions. In the first, it reverses. An interpretability researcher can record every unit on every input, intervene exactly and as often as desired, copy the network, and compare it with versions trained differently. Geiger and colleagues set this against weather, brains, and economies: "we can measure and manipulate the microvariables of deep learning models with perfect precision and accuracy" (Geiger et al., 2025). The microprocessor gave Jonas and Kording the same access only because the chip had been reconstructed and simulated (Jonas and Kording, 2017). The reversal also changes the problem of Section 21.3, where a model's outward markers were weak evidence because they were selected to resemble human text: inspection may supply evidence about a model's internal states that the study of animals never had (inference).

In the second direction, the test does not carry over. The microprocessor was a designed system with a decomposition known in advance. For the processor, the authors write, every module has a name, a known place on the chip, and a known dependence of its outputs on its inputs (Jonas and Kording, 2017). A trained network has no agreed decomposition against which to grade a method. The test can therefore be run only on networks built or trained to contain a known mechanism, and whether those resemble what ordinary training produces is the validity question of model organisms (Section 5.3) (inference). Neuroscience can also lean on the kinship between the brains it studies and the brains of the people studying them. A network's training objective is known, but its learned features owe nothing to a shared ancestry, and whether they match human concepts at all is the question of Section 46.6 (inference).

Sources cited in Section 43.6 10
  1. Jonas and Kording (2017) Could a Neuroscientist Understand a Microprocessor?
  2. Lazebnik (2002) Can a biologist fix a radio?—Or, what I learned while studying apoptosis
  3. Marr (1982) Vision: a computational investigation into the human representation and processing of visual information
  4. Geiger et al. (2025) Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretability
  5. Lillicrap and Kording (2019) What does it mean to understand a neural network?
  6. Vilas et al. (2024) Position: An Inner Interpretability Framework for AI Inspired by Lessons from Cognitive Neuroscience
  7. He et al. (2024d) Multilevel Interpretability Of Artificial Neural Networks: Leveraging Framework And Methods From Neuroscience
  8. Krakauer et al. (2017) Neuroscience Needs Behavior: Correcting a Reductionist Bias
  9. Lindner et al. (2023) Tracr: Compiled Transformers as a Laboratory for Interpretability
  10. Marks et al. (2025) Auditing language models for hidden objectives

43.7 The program in 2026 #

The methods of this chapter come from different moments, and the later chapters of this part report results from groups with different aims. This section dates the program, as of October 2026, so that each result can be placed.

43.7.1 The main line, 2020 to 2024 #

The methods of this chapter come from two communities. Naomi Saphra and Sarah Wiegreffe, in a 2024 preprint, trace an interpretability community in natural-language processing and a separate, parallel one formed by AI safety researchers who took the name mechanistic interpretability. They argue that the term's several meanings are "the product of a critical divide within the interpretability community" (Saphra and Wiegreffe, 2024). The second community's main line began with the Circuits work on image models at OpenAI (Olah et al., 2020b) (Section 3.6.1). A 2021 report from Anthropic carried it to transformers, comparing its aim to how "a programmer might try to reverse engineer complicated binaries into human-readable source code" (Elhage et al., 2021a) (developer report). Its authors studied attention-only models of at most two layers and wrote that, for "much larger and more realistic models," they remained "a very long way from being able to fully reverse engineer such models" (Elhage et al., 2021a). The finding that a network represents more concepts than it has neurons, and the sparse dictionaries built to recover them, followed, and Chapter 44 teaches both.

43.7.2 The branches since 2025 #

Since 2025 the program has divided into branches that bet on different units of explanation and judge success by different standards; the division is the book's reading of the record (inference). A review of the field's open problems, written by 29 authors from 19 institutions and synthesized by Apollo Research, describes the field's methods as two broad approaches (Sharkey et al., 2025) (preprint). The first, "often called 'reverse engineering'," decomposes the network into components and then identifies their functions; the second, "concept-based interpretability," starts from concepts the network might use and looks for them (Sharkey et al., 2025). The branches below sit at different points between the two.

Replacement models and attribution graphs. Anthropic's 2025 methods report replaces a model's MLP layers with a more interpretable component and traces one prompt's computation through the result, with attention patterns frozen (Ameisen et al., 2025) (developer report). Section 45.4 teaches the replacement model, and Section 45.5 reports what the graphs showed in the developer's production model and how often they showed anything (Lindsey et al., 2025).

Readouts in words. Instead of decomposing activations, train a model to describe them. Activation oracles, in a 2025 preprint by Adam Karvonen and colleagues at MATS and Truthful AI with coauthors at Anthropic, who advised the project and ran its experiments on Anthropic's Claude Haiku 3.5, one of four models tested, are "models trained to answer arbitrary natural-language questions about LLM activations" (Karvonen et al., 2025). Anthropic's natural language autoencoders pair a model that maps an activation to text with one that reconstructs the activation from the text, trained jointly (Anthropic, 2026ai) (developer report). The developer notes that the training "does not explicitly incentivize NLA explanations to be interpretable or faithful" (Anthropic, 2026ai). Section 46.7 reports both.

Task-judged interpretability. In March 2025 the Google DeepMind interpretability team reported, in a progress update on the laboratory's own Gemma 2 9B IT model, that probes built on sparse autoencoder features "underperformed linear probes" at detecting harmful intent in user prompts out of distribution (Smith et al., 2025b). The team wrote that it was "deprioritising fundamental SAE research for the moment" (Smith et al., 2025b). In December it described "a strategic pivot over the past year, from ambitious reverse-engineering to a focus on pragmatic interpretability," judged by progress on proxy tasks tied to safety goals, and advocated "method minimalism": start with "the simplest methods (e.g. prompting, steering, probing, reading chain-of-thought)" (Nanda et al., 2025). An older top-down program, representation engineering, "places representations, rather than neurons or circuits, at the center of analysis" (Zou et al., 2023a) (preprint). Section 44.7 reports how dictionaries fared on such tasks, and Chapter 46 the probes and steering vectors.

Decomposing the weights. A fourth branch decomposes the parameters rather than the activations. Attribution-based parameter decomposition, from Apollo Research in 2025, splits a network's weights into components that are faithful to the original, few in number for any input, and simple (Braun et al., 2025) (preprint). Its authors say it "is currently only appropriate for studying toy models" (Braun et al., 2025). A successor, stochastic parameter decomposition, is "more scalable and robust to hyperparameters," and was demonstrated on models "slightly larger and more complex" than before, still toy models (Bushnaq et al., 2025) (preprint). Section 45.6 reports the branch.

The open-problems review gives the field's own account of what it cannot yet do. It groups the open problems into methods, applications, and socio-technical questions, and it is candid about practice: "Conflating hypotheses with conclusions has regrettably been commonplace in mechanistic interpretability research, making validation an important area for the field to improve" (Sharkey et al., 2025). It also grants that "interpretability-based methods do not currently outperform black-box baselines" (Sharkey et al., 2025), a question Section 47.7 takes up.

Table 43.2 The branches of the program as of October 2026: what each takes as its unit of explanation, the standard it is judged by, and where the book reports it. The summary is the book's.
Branch Unit of explanation Judged by Reported in
Circuits and dictionaries (2020 to 2024) neurons, then features from a sparse dictionary how interpretable the features are; how faithful the circuits are Chapter 44, Chapter 45
Replacement models and attribution graphs features of a replacement model, linked per prompt how much of the model the replacement reproduces; follow-up interventions Section 45.4, Section 45.5
Readouts in words sentences from a model trained to read activations downstream tasks with known answers Section 46.7
Task-judged interpretability whatever works: probes, steering vectors, prompts performance on proxy tasks against simple baselines Section 44.7, Chapter 46
Parameter decomposition components of the weights recovery of known mechanisms in toy models Section 45.6

43.7.3 Who can do the work #

Every method in this chapter needs the weights or the activations, so who may read them decides who can check a claim. Two releases lowered the cost for groups outside the laboratories. Google DeepMind's Gemma Scope released sparse autoencoders for its own open Gemma 2 models, on all layers of the 2B and 9B models and on select layers of the 27B (Lieberum et al., 2024). Its reason: "research applications outside of industry are limited by the high cost of training a comprehensive suite of SAEs" (Lieberum et al., 2024). NNsight and the National Deep Inference Fabric, from a Northeastern University group, let outside researchers run experiments on the internals of large open-weight models on shared hardware (Fiotto-Kaufman et al., 2024) (preprint). Their authors note the limit: the service "does not provide access to closed-parameter, proprietary models" (Fiotto-Kaufman et al., 2024). A developer's interpretability finding about a closed model therefore reaches the public as testimony (inference). Casper and colleagues argue, in a paper at FAccT 2024, that white-box access and outside-the-box access, to information about training and deployment, "allow for substantially more scrutiny than black-box access alone" (Casper et al., 2024a); Section 47.7 takes up what this means for audits.

Sources cited in Section 43.7 16
  1. Saphra and Wiegreffe (2024) Mechanistic?
  2. Olah et al. (2020b) Zoom In: An Introduction to Circuits
  3. Elhage et al. (2021a) A Mathematical Framework for Transformer Circuits
  4. Sharkey et al. (2025) Open Problems in Mechanistic Interpretability
  5. Ameisen et al. (2025) Circuit Tracing: Revealing Computational Graphs in Language Models
  6. Lindsey et al. (2025) On the Biology of a Large Language Model
  7. Karvonen et al. (2025) Activation Oracles: Training and Evaluating LLMs as General-Purpose Activation Explainers
  8. Anthropic (2026ai) Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations
  9. Smith et al. (2025b) Negative Results for SAEs On Downstream Tasks and Deprioritising SAE Research (GDM Mech Interp Team Progress Update #2)
  10. Nanda et al. (2025) A Pragmatic Vision for Interpretability
  11. Zou et al. (2023a) Representation Engineering: A Top-Down Approach to AI Transparency
  12. Braun et al. (2025) Interpretability in Parameter Space: Minimizing Mechanistic Description Length with Attribution-based Parameter Decomposition
  13. Bushnaq et al. (2025) Stochastic Parameter Decomposition
  14. Lieberum et al. (2024) Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2
  15. Fiotto-Kaufman et al. (2024) NNsight and NDIF: Democratizing Access to Open-Weight Foundation Model Internals
  16. Casper et al. (2024a) Black-Box Access is Insufficient for Rigorous AI Audits

43.8 Settled, contested, missing #

Research status Settled, contested, missing
  • Settled: that a probe's accuracy does not show that the network uses the information it decodes, shown by two groups in different ways: by removing the decoded property and measuring the network's predictions (Elazar et al., 2021), and by a constructed network in which a probe reads information that nothing downstream uses (Geiger et al., 2021); the field's review of probing agrees (Belinkov, 2022). Also settled: that the results of patching and ablation depend on choices of corruption, metric, and ablation method, found by three groups on different tasks (Zhang and Nanda, 2023; Conmy et al., 2023; Miller et al., 2024).
  • Reported: that some attribution maps do not track the model they claim to explain: guided backpropagation's barely changed when the higher layers' weights were randomized (Adebayo et al., 2018), and several methods' changed under an input shift the model ignores (Kindermans et al., 2017b), in two studies that share authors at one laboratory. An independent recheck found such insensitivity on images for a variant of integrated gradients that multiplies by the input, but not on text (Kokhlikyan et al., 2021).
  • Reported, not yet replicated: that ablation effects understate a component's role because other components compensate, in studies by one laboratory's team and a project it supervised (McGrath et al., 2023; Rushing and Nanda, 2024); and that where causal tracing locates a fact does not predict where editing it works best, mainly on GPT-J with a check on a second model (Hase et al., 2023).
  • Contested: whether causal abstraction is the right standard. It can be made trivial by unrestricted alignment maps (Sutter et al., 2025), and it does not single out one explanation (Méloux et al., 2025), so its content lies in assumptions about how networks encode information, which are themselves under test (Section 46.1). Also contested: whether a large trained network has a compact algorithmic description to find at all, or is understood best through its architecture, objective, and learning rule (Lillicrap and Kording, 2019). The evidence does not decide either question.
  • Missing: as of October 2026, a shared benchmark of networks with known mechanisms, planted at the scale of current models, on which every family of methods in this chapter reports how often it misses the mechanism and how often it reports one that is not there. Two 2024 preprints come closest. TracrBench supplies 121 compiled transformers with known mechanisms and evaluates no method on them; its authors call it unsuitable for developing methods, since compiled weights are unlike trained ones (Thurnherr and Scheurer, 2024). InterpBench retrains 86 small transformers to implement known circuits; its paper scored five circuit-discovery methods on the first 16, but its models implement one circuit each and were too small to test sparse autoencoders (Gupta et al., 2024). Its authors call it a worst-case analysis: a method that fails there will not give faithful results on large models (Gupta et al., 2024). Passing it shows less (inference).
  • Crux: whether the methods of this chapter recover a known mechanism when one has been planted in a network of realistic size. A blind evaluation of each method on compiled or planted mechanisms in open-weight models at current scale, reporting misses and false findings, run by a group that did not develop the methods, would settle it. This is the method-level part of the debate Chapter 70 collects as whether interpretability can carry safety claims: the auditing games named there test whole audits, in which a tool's success cannot be separated from the auditors' other evidence, while this test measures each instrument's error rates on its own.
Sources cited in Section 43.8 17
  1. Elazar et al. (2021) Amnesic Probing: Behavioral Explanation with Amnesic Counterfactuals
  2. Geiger et al. (2021) Causal Abstractions of Neural Networks
  3. Belinkov (2022) Probing Classifiers: Promises, Shortcomings, and Advances
  4. Zhang and Nanda (2023) Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
  5. Conmy et al. (2023) Towards Automated Circuit Discovery for Mechanistic Interpretability
  6. Miller et al. (2024) Transformer Circuit Faithfulness Metrics are not Robust
  7. Adebayo et al. (2018) Sanity Checks for Saliency Maps
  8. Kindermans et al. (2017b) The (Un)reliability of saliency methods
  9. Kokhlikyan et al. (2021) Investigating sanity checks for saliency maps with image and text classification
  10. McGrath et al. (2023) The Hydra Effect: Emergent Self-repair in Language Model Computations
  11. Rushing and Nanda (2024) Explorations of Self-Repair in Language Models
  12. Hase et al. (2023) Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Models
  13. Sutter et al. (2025) The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?
  14. Méloux et al. (2025) Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable?
  15. Lillicrap and Kording (2019) What does it mean to understand a neural network?
  16. Thurnherr and Scheurer (2024) TracrBench: Generating Interpretability Testbeds with Large Language Models
  17. Gupta et al. (2024) InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniques

43.9 Exercises #

Exercise 43.1 What a perfect probe shows

A linear probe on a 4,096-dimensional residual stream reaches 100 percent accuracy on the 2,000 labeled examples it was fit to, separating statements the model "believes" true from those it "believes" false. Explain why this number alone shows nothing about the model. Then design two controls that would make the probe's accuracy informative, say what result from each would count against the claim, and say what a third experiment would have to show before anyone could claim the model uses the direction.

Solution

With n=2,000n = 2{,}000 points and m+1=4,097m + 1 = 4{,}097 parameters, the derivation in Section 43.2.2 applies: activations in general position can be fit with any labels, so 100 percent training accuracy is guaranteed whatever the activations encode, including for random labels.

The first control is a held-out set: fit on, say, 1,500 examples, test on the other 500, and repeat with shuffled labels. Held-out accuracy near the shuffled baseline means the probe found nothing. The second control is a control task in the sense of Hewitt and Liang (2019): give each distinct input type, such as each statement template, a random label, fit the same probe, and measure held-out accuracy. Low selectivity, a probe that does nearly as well on the control, counts against the claim.

Neither control shows use. For that, intervene: erase the direction (for example with a closed-form linear eraser) or patch it from statements of the opposite truth value, and measure whether the model's answers change as the claim predicts, on inputs where it should change them. This is the interchange test of Section 43.5.

Exercise 43.2 When the first-order estimate fails

A component's activation hh enters a measure of the output as Perf(h)=σ(θh)\mathrm{Perf}(h) = \sigma(\theta h), with θ=10\theta = 10 and σ\sigma the logistic function. (a) The corrupted run has h=0.5h = 0.5 and the clean run h=1h = 1. Compute the first-order estimate (43.1) of the effect of patching the clean value into the corrupted run, and the true effect. (b) Repeat with a corrupted value h=1h = 1 and a clean value h=−1h = -1. (c) Which component of a transformer behaves like this, and which error would a ranking of components by the estimate make in each case?

Solution

The slope is Perf′(h)=θ σ(θh)(1−σ(θh))\mathrm{Perf}'(h) = \theta\,\sigma(\theta h)(1 - \sigma(\theta h)).

(a) σ(5)=0.99331\sigma(5) = 0.99331 and σ(10)=0.99995\sigma(10) = 0.99995, so the true effect is 0.006650.00665. The slope at h=0.5h = 0.5 is 10×0.99331×0.00669=0.066510 \times 0.99331 \times 0.00669 = 0.0665, and the estimate is 0.5×0.0665=0.03320.5 \times 0.0665 = 0.0332, five times the true effect.

(b) σ(−10)=0.0000454\sigma(-10) = 0.0000454, so the true effect is −0.99991-0.99991. The slope at h=1h = 1 is 10×0.99995×0.0000454=0.00045410 \times 0.99995 \times 0.0000454 = 0.000454, and the estimate is −2×0.000454=−0.0009-2 \times 0.000454 = -0.0009, less than a thousandth of the true effect.

(c) An attention head whose softmax is saturated, putting nearly all its weight on one position, behaves like (b): the gradient of the pattern with respect to the scores is nearly zero, so the estimate misses a component whose patching would move the attention completely. Case (a) overstates an effect that is in fact small. A ranking by the first-order estimate would put the component of (a) too high and drop the component of (b), a false negative, which is the failure Kramár and colleagues correct by recomputing the attention softmax instead of approximating it (Kramár et al., 2024).

Exercise 43.3 Two algorithms, one network

Use the network of Figure 43.1, in which h1=ah_1 = a, h2=bh_2 = b, h3=ch_3 = c, h4=h1+h2h_4 = h_1 + h_2, h5=h3h_5 = h_3, h6=h3−h2+4h_6 = h_3 - h_2 + 4, and the output is 1 when h4>h5h_4 > h_5. (a) Show that a probe could read algorithm B's variable D=c−bD = c - b perfectly from h6h_6, yet aligning DD with h6h_6 gets every informative interchange wrong. (b) Show that aligning DD with (h2,h3)(h_2, h_3), read as h3−h2h_3 - h_2, gives the algorithm's prediction on every base-source pair. (c) Find an alignment of algorithm A's variable S=a+bS = a + b in the first layer that also scores 1, and state a restriction on alignments under which only algorithm A survives. Is that restriction a finding about the network?

Solution

(a) D=h6−4D = h_6 - 4 on every input, so the identity map plus a shift decodes it exactly. The output reads only h4h_4 and h5h_5, so setting h6h_6 to any value leaves the output at its base value. On a pair where algorithm B predicts a change, the patched network therefore gives the wrong output, every time.

(b) Patching h2h_2 and h3h_3 from the source (a′,b′,c′)(a', b', c') gives h4=a+b′h_4 = a + b' and h5=c′h_5 = c', so the output is 1 exactly when a+b′>c′a + b' > c', that is, when a>c′−b′a > c' - b', which is algorithm B's prediction with DD set from the source.

(c) Align SS with (h1,h2)(h_1, h_2), read as h1+h2h_1 + h_2. Patching both from the source gives h4=a′+b′h_4 = a' + b' and leaves h5=ch_5 = c, so the output is [a′+b′>c][a' + b' > c], algorithm A's prediction. Requiring that a variable be aligned with a single unit in the layer the output reads leaves only algorithm A, aligned with h4h_4, since no single unit of the second layer that the output reads holds DD. The restriction is a choice about where variables may live, not something the interventions measured: under the interchange test alone, the network is abstracted by both algorithms. Section 47.2 asks what such restrictions assume.

Sources cited in Section 43.9 2
  1. Hewitt and Liang (2019) Designing and Interpreting Probes with Control Tasks
  2. Kramár et al. (2024) AtP*: An efficient and scalable method for localizing LLM behaviour to components

Further reading #

References

  1. Adebayo, J., Gilmer, J., Muelly, M., Goodfellow, I., Hardt, M., and Kim, B. (2018). Sanity Checks for Saliency Maps. Advances in Neural Information Processing Systems. Cited in §43.3 §43.8
  2. Alain, G., and Bengio, Y. (2016). Understanding intermediate layers using linear classifier probes. arXiv. preprint Cited in §43.2
  3. Ameisen, E., Lindsey, J., Pearce, A., Gurnee, W., Turner, N. L., Chen, B., … Batson, J. (2025). Circuit Tracing: Revealing Computational Graphs in Language Models. Transformer Circuits Thread. non-peer-reviewed Cited in §43.7
  4. Anthropic (2026ai). Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations. Transformer Circuits Thread. non-peer-reviewed Cited in §43.7
  5. Beckers, S., and Halpern, J. Y. (2019). Abstracting Causal Models. Proceedings of the AAAI Conference on Artificial Intelligence. doi:10.1609/aaai.v33i01.33012678. Cited in §43.5
  6. Belinkov, Y. (2022). Probing Classifiers: Promises, Shortcomings, and Advances. Computational Linguistics. Cited in §43.2 §43.8
  7. Belrose, N., Ostrovsky, I., McKinney, L., Furman, Z., Smith, L., Halawi, D., Biderman, S., and Steinhardt, J. (2023a). Eliciting Latent Predictions from Transformers with the Tuned Lens. arXiv. preprint Cited in §43.2
  8. Belrose, N., Schneider-Joseph, D., Ravfogel, S., Cotterell, R., Raff, E., and Biderman, S. (2023b). LEACE: Perfect linear concept erasure in closed form. Advances in Neural Information Processing Systems. Cited in §43.2
  9. Braun, D., Bushnaq, L., Heimersheim, S., Mendel, J., and Sharkey, L. (2025). Interpretability in Parameter Space: Minimizing Mechanistic Description Length with Attribution-based Parameter Decomposition. arXiv. preprint Cited in §43.7
  10. Bushnaq, L., Braun, D., and Sharkey, L. (2025). Stochastic Parameter Decomposition. arXiv. preprint Cited in §43.7
  11. Casper, S., Ezell, C., Siegmann, C., Kolt, N., Curtis, T. L., Bucknall, B., … Hadfield-Menell, D. (2024a). Black-Box Access is Insufficient for Rigorous AI Audits. The 2024 ACM Conference on Fairness, Accountability, and Transparency. Cited in §43.7
  12. Conmy, A., Mavor-Parker, A., Lynch, A., Heimersheim, S., and Garriga-Alonso, A. (2023). Towards Automated Circuit Discovery for Mechanistic Interpretability. Advances in Neural Information Processing Systems. Cited in §43.4 §43.8
  13. Doshi-Velez, F., and Kim, B. (2017). Towards A Rigorous Science of Interpretable Machine Learning. arXiv. preprint Cited in §43.1
  14. Elazar, Y., Ravfogel, S., Jacovi, A., and Goldberg, Y. (2021). Amnesic Probing: Behavioral Explanation with Amnesic Counterfactuals. Transactions of the Association for Computational Linguistics. doi:10.1162/tacl_a_00359. Cited in §43.2 §43.8
  15. Elhage, N., Nanda, N., Olsson, C., Henighan, T., Joseph, N., Mann, B., … Olah, C. (2021a). A Mathematical Framework for Transformer Circuits. Transformer Circuits Thread. non-peer-reviewed Cited in §43.1 §43.7
  16. Fiotto-Kaufman, J., Loftus, A. R., Todd, E., Brinkmann, J., Pal, K., Troitskii, D., … Bau, D. (2024). NNsight and NDIF: Democratizing Access to Open-Weight Foundation Model Internals. arXiv. preprint Cited in §43.7
  17. Geiger, A., Lu, H., Icard, T., and Potts, C. (2021). Causal Abstractions of Neural Networks. Advances in Neural Information Processing Systems. Cited in §43.2 §43.5 §43.8
  18. Geiger, A., Wu, Z., Potts, C., Icard, T., and Goodman, N. D. (2023). Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representations. CLEaR. Cited in §43.5
  19. Geiger, A., Ibeling, D., Zur, A., Chaudhary, M., Chauhan, S., Huang, J., … Icard, T. (2025). Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretability. Journal of Machine Learning Research, 26(83):1−64. Cited in §43.3 §43.4 §43.5 §43.6
  20. Ghandeharioun, A., Caciularu, A., Pearce, A., Dixon, L., and Geva, M. (2024). Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Models. International Conference on Machine Learning. Cited in §43.2
  21. Gupta, R., Arcuschin, I., Kwa, T., and Garriga-Alonso, A. (2024). InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniques. arXiv. preprint Cited in §43.3 §43.8
  22. Hase, P., Bansal, M., Kim, B., and Ghandeharioun, A. (2023). Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Models. Advances in Neural Information Processing Systems. Cited in §43.4 §43.8
  23. He, Z., Achterberg, J., Collins, K., Nejad, K., Akarca, D., Yang, Y., … Lindsay, G. W. (2024d). Multilevel Interpretability Of Artificial Neural Networks: Leveraging Framework And Methods From Neuroscience. arXiv. preprint Cited in §43.6
  24. Heimersheim, S., and Nanda, N. (2024). How to use and interpret activation patching. arXiv. preprint Cited in §43.4
  25. Hewitt, J., and Liang, P. (2019). Designing and Interpreting Probes with Control Tasks. Conference on Empirical Methods in Natural Language Processing. doi:10.18653/v1/D19-1275. Cited in §43.2 §43.9
  26. Hoffmann, J., Borgeaud, S., Mensch, A., Buchatskaya, E., Cai, T., Rutherford, E., … Sifre, L. (2022). Training Compute-Optimal Large Language Models. arXiv. preprint Cited in §43.4
  27. Hoogland, J., Oldenziel, A. G., Murfet, D., and van Wingerden, S. (2023). Towards Developmental Interpretability. AI Alignment Forum. non-peer-reviewed Cited in §43.5
  28. Jacovi, A., and Goldberg, Y. (2020). Towards Faithfully Interpretable NLP Systems: How Should We Define and Evaluate Faithfulness? Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Cited in §43.1
  29. Jonas, E., and Kording, K. P. (2017). Could a Neuroscientist Understand a Microprocessor? PLOS Computational Biology. Cited in §43.6
  30. Karvonen, A., Chua, J., Dumas, C., Fraser-Taliente, K., Kantamneni, S., Minder, J., … Marks, S. (2025). Activation Oracles: Training and Evaluating LLMs as General-Purpose Activation Explainers. arXiv. preprint Cited in §43.7
  31. Kindermans, P.-J., Hooker, S., Adebayo, J., Alber, M., Schütt, K. T., Dähne, S., Erhan, D., and Kim, B. (2017b). The (Un)reliability of saliency methods. Explainable AI. doi:10.1007/978-3-030-28954-6_14. Cited in §43.3 §43.8
  32. Kokhlikyan, N., Miglani, V., Alsallakh, B., Martin, M., and Reblitz-Richardson, O. (2021). Investigating sanity checks for saliency maps with image and text classification. arXiv. preprint Cited in §43.3 §43.8
  33. Krakauer, J. W., Ghazanfar, A. A., Gomez-Marin, A., MacIver, M. A., and Poeppel, D. (2017). Neuroscience Needs Behavior: Correcting a Reductionist Bias. Neuron. Cited in §43.6
  34. Kramár, J., Lieberum, T., Shah, R., and Nanda, N. (2024). AtP*: An efficient and scalable method for localizing LLM behaviour to components. arXiv. preprint Cited in §43.3 §43.9
  35. Lapuschkin, S., Wäldchen, S., Binder, A., Montavon, G., Samek, W., and Müller, K.-R. (2019). Unmasking Clever Hans predictors and assessing what machines really learn. Nature Communications. Cited in §43.3
  36. Lazebnik, Y. (2002). Can a biologist fix a radio?—Or, what I learned while studying apoptosis. Cancer Cell. Cited in §43.6
  37. Lieberum, T., Rajamanoharan, S., Conmy, A., Smith, L., Sonnerat, N., Varma, V., … Nanda, N. (2024). Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2. Proceedings of the 7th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP. Cited in §43.7
  38. Lillicrap, T. P., and Kording, K. P. (2019). What does it mean to understand a neural network? arXiv. preprint Cited in §43.6 §43.8
  39. Lindner, D., Kramár, J., Farquhar, S., Rahtz, M., McGrath, T., and Mikulik, V. (2023). Tracr: Compiled Transformers as a Laboratory for Interpretability. Advances in Neural Information Processing Systems. Cited in §43.6
  40. Lindsey, J., Gurnee, W., Ameisen, E., Chen, B., Pearce, A., Turner, N. L., … Batson, J. (2025). On the Biology of a Large Language Model. Transformer Circuits Thread. non-peer-reviewed Cited in §43.1 §43.7
  41. Lipton, Z. C. (2018). The Mythos of Model Interpretability. Queue. Cited in §43.1
  42. Makelov, A., Lange, G., and Nanda, N. (2024a). Is This the Subspace You Are Looking for? An Interpretability Illusion for Subspace Activation Patching. International Conference on Learning Representations. Cited in §43.4
  43. Marks, S., Treutlein, J., Bricken, T., Lindsey, J., Marcus, J., Mishra-Sharma, S., … Hubinger, E. (2025). Auditing language models for hidden objectives. arXiv. preprint Cited in §43.6
  44. Marr, D. (1982). Vision: a computational investigation into the human representation and processing of visual information. W.H. Freeman. Cited in §43.6
  45. McGrath, T., Rahtz, M., Kramar, J., Mikulik, V., and Legg, S. (2023). The Hydra Effect: Emergent Self-repair in Language Model Computations. arXiv. preprint Cited in §43.4 §43.8
  46. Méloux, M., Maniu, S., Portet, F., and Peyrard, M. (2025). Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable? International Conference on Learning Representations. Cited in §43.5 §43.8
  47. Meng, K., Bau, D., Andonian, A., and Belinkov, Y. (2022). Locating and Editing Factual Associations in GPT. Advances in Neural Information Processing Systems. Cited in §43.4
  48. Miller, J., Chughtai, B., and Saunders, W. (2024). Transformer Circuit Faithfulness Metrics are not Robust. arXiv. preprint Cited in §43.4 §43.8
  49. Nanda, N., Engels, J., Conmy, A., Rajamanoharan, S., Chughtai, B., McDougall, C., Kramár, J., and Smith, L. (2025). A Pragmatic Vision for Interpretability. LessWrong. non-peer-reviewed Cited in §43.4 §43.7
  50. nostalgebraist (2020). interpreting GPT: the logit lens. LessWrong. non-peer-reviewed Cited in §43.2
  51. Olah, C., Cammarata, N., Schubert, L., Goh, G., Petrov, M., and Carter, S. (2020b). Zoom In: An Introduction to Circuits. Distill. Cited in §43.1 §43.3 §43.7
  52. Pearl, J. (2001). Direct and Indirect Effects. Proceedings of the Seventeenth Conference on Uncertainty in Artificial Intelligence. Cited in §43.4
  53. Pimentel, T., Valvoda, J., Hall Maudslay, R., Zmigrod, R., Williams, A., and Cotterell, R. (2020). Information-Theoretic Probing for Linguistic Structure. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. doi:10.18653/v1/2020.acl-main.420. Cited in §43.2
  54. Rubenstein, P. K., Weichwald, S., Bongers, S., Mooij, J. M., Janzing, D., Grosse-Wentrup, M., and Schölkopf, B. (2017). Causal Consistency of Structural Equation Models. arXiv. preprint Cited in §43.5
  55. Rushing, C., and Nanda, N. (2024). Explorations of Self-Repair in Language Models. International Conference on Machine Learning. Cited in §43.4 §43.8
  56. Saphra, N., and Wiegreffe, S. (2024). Mechanistic? arXiv. preprint Cited in §43.7
  57. Sharkey, L., Chughtai, B., Batson, J., Lindsey, J., Wu, J., Bushnaq, L., … McGrath, T. (2025). Open Problems in Mechanistic Interpretability. arXiv. preprint Cited in §43.1 §43.2 §43.7
  58. Simonyan, K., Vedaldi, A., and Zisserman, A. (2013). Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps. International Conference on Learning Representations. Cited in §43.3
  59. Smith, L., Rajamanoharan, S., Conmy, A., McDougall, C., Lieberum, T., Kramár, J., Shah, R., and Nanda, N. (2025b). Negative Results for SAEs On Downstream Tasks and Deprioritising SAE Research (GDM Mech Interp Team Progress Update #2). AI Alignment Forum. non-peer-reviewed Cited in §43.7
  60. Sundararajan, M., Taly, A., and Yan, Q. (2017). Axiomatic Attribution for Deep Networks. International Conference on Machine Learning. Cited in §43.3
  61. Sutter, D., Minder, J., Hofmann, T., and Pimentel, T. (2025). The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability? Advances in Neural Information Processing Systems 38. doi:10.52202/085713-5000. Cited in §43.5 §43.8
  62. Syed, A., Rager, C., and Conmy, A. (2023). Attribution Patching Outperforms Automated Circuit Discovery. BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP. Cited in §43.3
  63. Thurnherr, H., and Scheurer, J. (2024). TracrBench: Generating Interpretability Testbeds with Large Language Models. arXiv. preprint Cited in §43.8
  64. Vig, J., Gehrmann, S., Belinkov, Y., Qian, S., Nevo, D., Singer, Y., and Shieber, S. (2020). Investigating Gender Bias in Language Models Using Causal Mediation Analysis. Advances in Neural Information Processing Systems. Cited in §43.4
  65. Vilas, M. G., Adolfi, F., Poeppel, D., and Roig, G. (2024). Position: An Inner Interpretability Framework for AI Inspired by Lessons from Cognitive Neuroscience. International Conference on Machine Learning. Cited in §43.6
  66. Voita, E., and Titov, I. (2020). Information-Theoretic Probing with Minimum Description Length. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP). doi:10.18653/v1/2020.emnlp-main.14. Cited in §43.2
  67. Wang, K., Variengien, A., Conmy, A., Shlegeris, B., and Steinhardt, J. (2023c). Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small. International Conference on Learning Representations. Cited in §43.4
  68. Zhang, F., and Nanda, N. (2023). Towards Best Practices of Activation Patching in Language Models: Metrics and Methods. International Conference on Learning Representations. Cited in §43.4 §43.8
  69. Zou, A., Phan, L., Chen, S., Campbell, J., Guo, P., Ren, R., … Hendrycks, D. (2023a). Representation Engineering: A Top-Down Approach to AI Transparency. arXiv. preprint Cited in §43.7
AI Alignment: From the Optimization Problem to the Institutions Around It · © 2026 Changkun Ou · CC BY-NC-SA 4.0
Bibliography · PV/UV /