Inferensys

Glossary

Causal Scrubbing

A systematic evaluation methodology that tests a hypothesized circuit by replacing all activations outside the circuit with corrupted values and verifying the model's performance is preserved.
ML engineer working on model compression and quantization, laptop showing performance benchmarks, technical workspace.
MECHANISTIC INTERPRETABILITY

What is Causal Scrubbing?

A systematic evaluation methodology for testing hypothesized neural network circuits by replacing off-circuit activations and verifying performance preservation.

Causal Scrubbing is a systematic evaluation methodology that tests a hypothesized mechanistic interpretability circuit by replacing all activations outside the proposed circuit with corrupted values from a different input, then verifying that the model's performance on the original task is preserved. If the hypothesized circuit is correct, the corrupted activations should not matter—the model should still produce the correct output using only the clean, in-circuit activations.

The technique operates by taking two inputs (a clean example and a corrupted reference) and selectively "scrubbing" activations: for each node in the computational graph, if it is part of the hypothesized circuit, its activation from the clean input is retained; if it is outside the circuit, its activation is replaced with the corrupted version. A successful scrub—where performance remains high—provides strong causal evidence that the identified subgraph fully captures the mechanism responsible for the behavior.

EVALUATION METHODOLOGY

Key Characteristics of Causal Scrubbing

Causal Scrubbing is a systematic evaluation technique that tests hypothesized circuits by replacing off-circuit activations with corrupted values and verifying that model performance is preserved.

01

Core Hypothesis Testing

Causal Scrubbing operates on a simple principle: if a hypothesized circuit truly captures the model's algorithm for a behavior, then all activations outside that circuit should be irrelevant. The method systematically replaces activations not in the circuit with values from corrupted inputs—such as noise or shuffled data—and checks if the model's output remains correct. If performance degrades, the circuit is incomplete or incorrect.

02

Resampling Ablations

Unlike simple zero or mean ablation, Causal Scrubbing uses resampling ablations that replace activations with values drawn from a reference distribution. This distribution is generated by running the model on corrupted inputs where the target behavior is impossible. Key properties:

  • Preserves the natural statistics of activations
  • Avoids out-of-distribution artifacts that zero ablation introduces
  • Provides a more rigorous test than mean imputation
03

Tree-Based Correspondence

Causal Scrubbing establishes a tree-structured mapping between nodes in the clean computational graph and nodes in the corrupted graph. This correspondence tree specifies which activations get replaced and which are preserved. The tree branches at each layer, allowing fine-grained control over which computational paths are scrubbed versus retained, enabling precise isolation of circuit components.

04

Faithfulness Metric

The output of Causal Scrubbing is a quantitative faithfulness score that measures how well the hypothesized circuit explains the model's behavior. A score of 1.0 indicates perfect preservation of performance under scrubbing, meaning the circuit fully captures the algorithm. Lower scores reveal gaps in understanding. This metric enables:

  • Comparing competing circuit hypotheses
  • Tracking progress in reverse engineering
  • Identifying which behaviors remain unexplained
05

Distinction from Activation Patching

While Activation Patching tests individual components by replacing single activations, Causal Scrubbing evaluates entire circuits simultaneously. Activation Patching answers 'Is this component necessary?' whereas Causal Scrubbing answers 'Is this entire circuit sufficient?' The two methods are complementary: patching identifies candidate components, and scrubbing validates the complete hypothesized algorithm.

06

Iterative Refinement Loop

Causal Scrubbing drives an iterative scientific process for mechanistic interpretability:

  1. Hypothesize a circuit based on activation analysis
  2. Scrub all activations outside the circuit
  3. Measure the faithfulness score
  4. Identify where performance drops indicate missing components
  5. Refine the circuit and repeat This loop transforms circuit discovery from speculation into rigorous, falsifiable science.
CAUSAL SCRUBBING EXPLAINED

Frequently Asked Questions

Get precise answers to the most common technical questions about the causal scrubbing methodology for validating mechanistic interpretability hypotheses.

Causal scrubbing is a systematic evaluation methodology that tests a hypothesized mechanistic circuit by replacing all activations outside the circuit with corrupted values and verifying the model's performance is preserved. The process works in three stages: first, a researcher proposes a hypothesis that a specific subgraph of attention heads and MLP neurons implements a particular behavior. Second, they generate 'corrupted' activations by running the model on a different input that should break the behavior. Third, they perform a forward pass where only the hypothesized circuit receives the original, clean activations, while all other components receive the corrupted ones. If the model's performance on the target task remains high, the hypothesis is validated—the identified circuit is causally sufficient. If performance degrades, the hypothesis is falsified, revealing that critical components were omitted. This method, introduced by the Redwood Research team, provides rigorous causal evidence rather than mere correlational observation.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.