Circuit Claims Depend on What Is Extracted and How It Is Compared

Yang Sheng, Jie Fu

TL;DR

When interpretability researchers open up a neural network and extract a "circuit"—a tiny subset of nodes and edges that drives a specific behavior—they often treat it as the true internal mechanism. This paper demonstrates that "preserving behavior" isn't enough to single out one unique circuit: whether two models appear to share the same circuitry depends heavily on subtle, often unstated choices about what graph you extract and how you compare it (even down to how you break ties!). However, macro-level patterns—like how models recruit brand-new "bridge" nodes during reinforcement learning to glue simple skills into complex ones—still emerge reliably when audited carefully.

What Problem Does This Paper Address?

A core ambition of mechanistic interpretability is circuit extraction: pruning away most of a neural network until you're left with a minimal subgraph of attention heads and neurons that still performs a target task. Once found, it’s tempting to point at that subgraph and say, "Aha! That’s how the model thinks."

The catch? Every extraction pipeline relies on implicit design choices. Do you extract just the minimal prediction-preserving core, or include surrounding routing infrastructure? Do you treat an attention head’s Query and Key projections as one merged node or two separate ones? In messy natural-language tasks, if two extracted circuits look different, you can’t tell whether you’ve uncovered genuinely different mechanisms or just tripped over surface-level prompt quirks and methodological artifacts. The authors set out to isolate and measure exactly how much our scientific claims shift when we hold the models and tasks fixed, and only vary our extraction and comparison lenses.

Methods

To run a clean experiment, the authors trained 8-layer transformers (~415.7M parameters) across five weight-sparsity levels (from dense up to 90% sparse, where 90% of weights are locked to zero) using Supervised Fine-Tuning (SFT) followed by Reinforcement Learning (GRPO) from different starting checkpoints.

With checkpoints fixed, they systematically varied the interpretability lens across three standard circuit definitions:

  1. Core circuit: Minimal attention-output channels and MLP neurons needed to preserve exact-match predictions via learned masks.
  2. Extended support graph: A wider view retaining surrounding read, write, and routing components.
  3. Fixed-loss pruning graph: Top-ranked components selected to stay within a post-ablation loss budget ($\tau$).

They also tested Coupled vs. Factorized Q/K representations (merging vs. splitting Query and Key nodes) and compared circuits at two levels: sets of top-10 attention heads versus top-10 "structural edge bundles" (grouped component-to-component connections).

Datasets

The authors introduce a synthetic Lean tactic-prediction benchmark. Given a formal mathematical proof state (hypotheses + goal), the model predicts the exact Lean command (tactic) for the next step.

  • It features 9 tasks: 4 atomic (single logical rule, like AND) and 5 compositional (combining rules, like AND-OR).
  • Unlike natural language datasets, task decomposition here is known by construction. Variable names, distractors, and formatting are dynamically randomized across narrow, moderately expanded, and extensively expanded training distributions—ensuring circuit differences reflect methodological or training choices rather than memorized strings.

Key Insights and Ideas

Overview of the three main findings on circuit overlap, size rankings, and bridge nodes.

Figure 1: Overview of the three findings. A: attention-head and structural edge-bundle overlap at the dense- versus-75%-sparse RL comparison. Circles show observed means; error bars show 95% bootstrap confidence intervals over 16 matched task–object entries per split. Diamonds show means for random tie handling (heads) or the score-weighted random baseline (connection groups). B: node-fraction gaps for curriculum-initialized RL, comparing repeated core extractions and joint versus separate query/key representations of the other two graphs (pruning loss budget τ = 0.12). C: compositional-task exact-match accuracy gain versus core-circuit bridge fraction across RL initialization conditions. Open Atomic-only symbols mark upper bounds on com- positional accuracy gain. In B and C, circles and squares denote the moderately and extensively expanded distributions, respectively. Values in B are moderate/extensive.
  • Circuit overlap can be an illusion of tie-breaking: Comparing a dense and a 75%-sparse RL model by looking at top attention heads initially suggests massive circuit sharing. Why? Many heads receive identical routing scores, and standard deterministic code breaks ties by head index! Randomizing ties makes that overlap evaporate—revealing that the two models actually route the same high-level logic through different specific components.
  • Macro-rankings survive even when micro-identities don't: While two models might not share exact wiring, relative size rankings across training regimes remain rock-solid whether you merge or split Q/K nodes or sweep across loss budgets.
  • Composition requires "bridge" circuitry: How does RL teach a model to combine simple skills into complex ones? Not just by reusing atomic circuits. The biggest accuracy jumps in compositional reasoning align with recruiting bridge nodes—components in the compositional circuit that lie completely outside the corresponding atomic circuits.

Key Results

  • The Tie-Breaking Cliff: Between dense and 75%-sparse RL checkpoints, top-10 attention-head Jaccard overlap is 0.666 (on successful predictions) under deterministic index tie-breaking, but plummets to 0.028 when ties are broken randomly. Meanwhile, structural connection-group overlap is 0.163, statistically indistinguishable from a score-weighted random baseline (0.155, $p = 0.32$).
  • Stable Graph-Size Orderings: Switching between coupled and factorized Q/K representations shifts normalized circuit size by at most 0.024 (at $\tau = 0.12$), preserving 3/3 pairwise size rankings across RL initialization conditions throughout the entire loss-budget sweep.
  • Causal Role of Bridge Nodes: RL initialized from a full curriculum boosts compositional accuracy by +24.64 and +31.27 percentage points (moderate and extensive distributions), accompanied by the highest core-circuit bridge fractions (0.343 and 0.161, vs. $\le \mathbf{0.054}$ in weaker RL conditions). Ablating these bridge nodes in the 75%-sparse RL model drops compositional exact-match accuracy from 0.975–1.000 down to 0.295–0.940, while leaving atomic task accuracy virtually unscathed (0.995–1.000).

Limitations and Future Work

Because this study relies on a controlled, synthetic 8-layer transformer setup, its empirical findings are scoped to this specific rule-generated family; indeed, models trained on the narrowest distribution suffer sharp accuracy drops under held-out surface and depth shifts. The authors note that a natural next step is extending this rigorous auditing framework—explicitly reporting graph granularity, tie-breaking rules, random baselines, and negative controls—to alternative discovery algorithms like path patching or ACDC, larger/deeper language models, and broader real-world benchmarks.

Summary updated

Abstract

Circuit extraction identifies a small set of model components whose presence preserves a target behavior under ablation, and the resulting circuit is often read as the mechanism behind that behavior. We argue that this reading is under-determined: preserving behavior does not single out one circuit, because the claim it supports depends on which circuit is reported and how two circuits are compared. We make this concrete in a synthetic Lean tactic-prediction benchmark—predicting the next step of a proof—where fixed proof rules with randomized surface form let differences between extracted circuits be attributed to these choices rather than to the task. Across checkpoints spanning dense and several weight-sparse levels of the same transformer, evaluated on atomic (single-rule) and compositional (multi-rule) proofs, we vary which extracted object is reported (a prediction-preserving core circuit, a broader graph that also retains the surrounding read, write, and routing structure, or a subgraph extracted with a specified post-ablation loss budget). First, we find low overlap between checkpoints when comparing groups of component-to-component connections, sometimes close to a random baseline. Overlap is much higher when comparing sets of selected attention heads under deterministic selection, but falls sharply when selection among equally scored heads is randomized. Second, the normalized graph-size ranking of conditions that differ in which supervised checkpoint initializes reinforcement learning (RL) agrees between repeated extractions of the core circuit and between joint and separate query/key representations of each of the other two graphs. For the loss-budgeted graph, query/key ordering agreement persists through the budget sweep. Finally, across those same conditions, the largest exact-match accuracy gains from RL on compositional proofs come with the largest proportion of components in the compositional circuit that lie outside the corresponding atomic circuits. Ablating these additional components in the sparse RL model reduces compositional accuracy while largely preserving accuracy on the corresponding atomic tasks. A circuit-level claim therefore requires specifying not only which circuit is reported, but also how it is extracted and compared; otherwise these unstated choices, not behavior alone, determine the circuit's interpretation. We distill these requirements into a reporting practice for circuit-extraction studies.
BibTeX
@inproceedings{sheng2026circuit,
  author = {Yang Sheng and Jie Fu},
  title = {{Circuit Claims Depend on What Is Extracted and How It Is Compared}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7RfZ1ThE5z},
}
Figure