Causal scrubbing turns a mechanistic interpretability claim into an automated property test: if a hypothesis says a model component tracks only one input property, swapping its activation with one from another input that shares that property should leave the model’s behavior intact. Lawrence Chan and colleagues at Redwood Research use this “intervention blacklist” approach to expose missing pathways in two transformers, lifting an induction circuit’s recovered performance from 35% to 86% once they refine the story.

  • Parentheses classifier (Claim 1 only): 93% normalized loss recovered when keeping only direct output paths from three attention heads (1.0, 2.0, 2.1).
  • Full parentheses hypothesis (Claims 1 + 2 + 3): drops to 72%, exposing subtle hidden pathways across up to 51 stacked input swaps.
  • 2-layer attention-only induction circuit: 35% recovered for a textbook single-token explanation, jumping to 86% after adding multi-token matching and Layer 0 self-attention paths.
  • Resampling beats zero/mean ablations: patching activations from real dataset inputs keeps the network on-distribution instead of distorting downstream variance.
How causal scrubbing tests a hypothesis as an intervention blacklist
1. Formalize claim
Map an interpretable graph I onto model graph G via correspondence c.
Important parents (mapped by c)
Sample a new datum new_x from dataset D that agrees on the parent feature in I, then recurse upstream.
Unimportant parents (omitted by c)
Patch activations from a single random datum other_x shared across all unimportant inputs to that node.
2. Score faithfulness
Compare scrubbed expectation E_scrubbed(h, D) against unablated performance E[f(x)]. Large gaps pinpoint omitted circuits.

Source: Chan et al. (2022), Sections 2 and 3.

How It Works

Before running ablations, researchers must state a formal hypothesis tuple (G, I, c): a computational graph G matching the model’s exact input-output behavior on domain X, a simpler human-interpretable graph I, and an injective graph homomorphism c mapping nodes of I to nodes of G. Any node or edge in G outside c(I) is implicitly declared unimportant for the metric f(x) on dataset D.

Instead of leaving the model untouched except for one manual patch, causal scrubbing recursively walks I from the output node back toward the input on a “treeified” expansion of G, where every path gets its own copy of the input. Whenever a node n_G reads from an important parent, the algorithm draws a fresh example new_x from D that produces the exact same value on the corresponding node in I, then recurses. Whenever n_G reads from unimportant parents, it pulls their activations from a random example random_x (shared across all unimportant parents of that node so equivalent graph rewrites behave consistently).

Why not use zero or mean ablation, as many earlier residual stream circuit studies did? Chan et al. argue that zeroing or mean-replacing a module tests the wrong claim: it asks whether deleting the component breaks the network, pushing downstream layers off-distribution and erasing natural activation variance. Resampling preserves realistic activation distributions while breaking any correlation with the specific prompt.

Key Findings

The authors test the method on two small transformers to show how scrubbing works inside an iterative research loop.

First, on a transformer trained to classify balanced parentheses (clean cross-entropy loss 0.0003, where 100% equals clean loss and 0% equals randomly permuted labels), a coarse Claim 1 stating that only heads 1.0, 2.0, and 2.1 carry critical signal directly to the output recovers 93% of performance. Adding Claim 2 (specifying how 1.0 and 2.0 read head 0.0’s open-parenthesis proportion and position-1 token embedding) drops recovery to 88%. Adding Claim 3 (that 2.1 checks right-to-left negative nesting depth) yields 84%. Combining all three claims triggers up to 51 simultaneous input swaps across layers and falls to 72%, proving that the crispest story still misses secondary pathways or feature details.

Second, on a 2-layer attention-only language model evaluated on an OpenWebText subset where induction helps, a naive textbook induction hypothesis (query and value read only token embeddings directly; keys read only Layer 0’s previous-token attention) recovers just 35%. Guided by the failures, the authors allow 3-token prefix matching, let Layer 0 self-attention at the current position feed queries and values, and special-case three Layer 0 heads using an identity-attention approximation for repeated tokens. That refined hypothesis recovers 86%.

Normalized performance recovered under causal scrubbing
Parenthesis balance classifier (more specific claims add stacked swaps; higher is better)
Claim 1 (3 output heads)
93%
Claims 1 + 2
88%
Claims 1 + 3
84%
Claims 1 + 2 + 3 (51 inputs)
72%
2-layer attention-only LM induction on OpenWebText subset (% performance recovered)
Naive induction story
35%
Refined induction story
86%

Source: Chan et al. (2022), Section 5.

Caveats and Builder Takeaway

Causal scrubbing is strict where it shouldn’t be and permissive where it can mislead. Because swaps require exact equality in I, the standard algorithm cannot test continuous features (where activations only match approximately), and rejection sampling stalls if no other prompt in D shares a rare property. It also cannot tell apart two features that correlate tightly on D.

Worse, causal scrubbing can overrate an incomplete hypothesis. Omitting an inhibitory circuit (such as negative name mover heads) can make a scrubbed heuristic look more accurate on examples where the heuristic happens to work, and independent resampling can artificially reduce harmful variance caused by polysemantic interference. And because treeifying paths scales poorly to deep models, later work simplified the idea into path patching and flagged how sensitive circuit faithfulness metrics are to the chosen ablation.

For engineers auditing models today, causal scrubbing’s lasting contribution is the standard it sets: never validate an interpretability story by checking only the parts you kept. Force the hypothesis to predict every swap it leaves unspecified, and check how fast the score drops when you stack them.