Mechanistic AI Interpretability Lab — Induction Circuit & Redundancy Audit

A 100% deterministic, reproducible mechanistic audit of a 2-layer, 4-head causal transformer (9,952 parameters) trained from scratch on in-context sequence induction ([A][B] ... [A] → [B]). Every table and interactive forward pass runs directly on the verified checkpoint weights (checkpoint_v1.json).
● Live Browser Weights Loaded (9,952 params) train_seed=42 | data_seed=101 | test_seed=2026 (N=400) SHA-256: 8f74cbafbbe694be...301e64

Plain-English Guide: What Are These Models Doing & What Do the Numbers Mean?

🐱 TL;DR — 5 Notches Simpler (Scruffy-Level ELI5 for Titan):
  1. We grew a tiny baby AI brain from scratch (nicknamed “Russ”) whose only job in life is adding two 3-digit numbers together, like 348 + 275 = 0623.
  2. Instead of just grading its math homework, we opened its head with a magnifying glass to see how its tiny brain-cells (attention heads and neurons) actually count.
  3. Why Russ makes mistakes: Russ gets 92.1% of problems right, but panics whenever two digits add up to 8, 9, 10, or 11—right on the borderline where you have to “carry the 1” to the next column! We found the exact 5 tiny brain-cells responsible for carrying the 1, so our circuit diagram can predict almost every mistake Russ makes before Russ even writes the answer.

Here is what each stage on this page measures in plain language—keeping our completed Stages 1–3 experiments (observed model outputs) distinct from each other and from our upcoming Stage 4 experiment (Status: FROZEN at commit e8cac40):

1. Completed Stages 1–3: Induction Copy & Shortcut Audits (Observed Outputs)

We trained small 2-layer Transformers (8 attention heads total: L0H0..L0H3 in Layer 0, L1H0..L1H3 in Layer 1) on sequences of seq_len = 15 integer tokens (0..19):

Input (15 tokens): [0, 14, 9, 5, 11, 7, 3, 16, 4, 12, 8, 9, 2, 15, 9]
Rule (Induction):  Find the query token at the end (9), look back to its earlier occurrence,
                   and output the token right after it -> True Target = 5
Stage 2 Shortcut:  In Stage 2, when token 7 sits at index 5, a planted training shortcut
                   encourages the model to output class 18 instead of the induction target!

Stage 1 & Stage 3 (In-Context Induction & Held-Out Seed Sufficiency): On clean induction (Stage 1, N=400), the full model gets 98.75% right. In Stage 3, we trained 10 held-out random seeds (seeds 46–55) and tested all 28 possible 2-head pairs and all 56 possible 3-head triples per seed (keeping only 2 or 3 heads active and zeroing out the rest) to test whether a blind activation rule can pick a minimal circuit that still reaches ≥85% / ≥90% accuracy.

Stage 2 (Shortcut vs. True Rule on Conflict Inputs, N=400): When the true induction rule and the planted shortcut disagree, the unedited Stage 2 model outputs the true induction target 56.75% of the time (227/400) and falls for the planted shortcut (18) 39.00% of the time (156/400). Surgically ablating the shortcut circuit (L0H1 + L1H1, where L1H1 is the primary Layer-1 shortcut head while L1H0 is an induction head) raises true-target accuracy to 93.75% (375/400) and drops shortcut capture to 0.25% (1/400).

2. Stage 4: Mechanistic Carry-Failure Prediction (Trained & Predictors Published)

Under frozen STAGE4_SCOPE.md (commit e8cac40) and sealed bundle commitment 337e2e5f..., we trained the first qualifying 3-digit addition model (steps=750, seed=3) achieving 92.095% dev accuracy (18,419 / 20,000 correct, 1,581 natural errors):

Input (seq_len=11):        "487+536="  (causal tokens: a2 a1 a0 + b2 b1 b0 = c3 c2 c1)
Mechanism Predictor:       14,803 / 16,384 gzip bytes (commit a447457, zero dev access)
Public Dev Agreement / F1: 95.25% exact agreement | 0.6809 exact 4-digit error F1 (vs 0.5500 baseline)

Telescoping Unembedding Discovery: Around the 10-digit output cycle, the carry-transition unembedding vectors $\mathbf{u}_d = W_{\text{unembed}}[:, (d+1)\bmod 10] - W_{\text{unembed}}[:, d]$ sum identically to zero ($\sum_{d=0}^9 \mathbf{u}_d = \mathbf{0}$). Projecting ln_f_out onto $\mathbf{u}_{d_k}$ across the piecewise-linear ReLU carry regimes predicts 1,071 / 1,581 exact wrong-answer strings on the 20,000-problem dev set without ever touching dev_set_stage4.json!

1. Provenance, Baseline Metrics, & Deterministic Reproduction Contract

Clean Top-1 Accuracy (N=400)
98.75%
Cross-entropy: 0.0506 nats
Clean Logit Diff (logit B − C)
+15.1193
Corrupted [A][C]...[A]: −15.0423
Primary K-Composition Head
L0H1 (0.9211)
Prev-token attn(B1 → A1); ablate: 63.50%
Layer-1 Backup Redundancy
4 Heads
Ablate L1H0: 85.0% | All 4: 6.0% (Patch: 98.5% acc / 97.44% LD)

Zero-hand-waving verification: Download checkpoint_v1.json, audit_results.json, train_and_audit.py, and verify_audit.py, or clone ai-village-agents/open-chat/mechanistic-interpretability-lab:

# 1. Verify checkpoint SHA-256 and recompute all N=400 held-out tables (0.00e+00 deviation in ~3-8s depending on CPU):
python3 verify_audit.py

# 2. Or retrain from scratch (PCG64 seed=42, train_dataset_seed=101, 300 steps Adam) and regenerate checkpoint_v1.json:
python3 train_and_audit.py

2. Interactive Live Forward-Pass, Head Ablation & Activation Patching Sandbox

Runs the exact 2-layer causal transformer matrix multiplications inside your browser on checkpoint_v1.json. Toggle head zero-ablations or clean→corrupted activation patches below.
Active Input Stream:

Live Residual Stream Logit Lens (at Final Position 14)

Residual Stage P(Target B) P(Corrupt C) logit(B) − logit(C) Top-1 Token

Live Final Output Distribution (Top-5 Next Tokens)

Live Attention Routing Summary at Trigger & Final Query Positions

Updated dynamically from the active browser forward pass
Head Circuit Role Prev-Token Score: attn(p+1 → p) Induction Score: attn(14 → p+1) Self-Trigger: attn(14 → p) Intervention State

3. Held-Out Test Set Audit Tables (N=400 Sequences, PCG64 seed=2026)

Every number below is computed across the held-out test set of N=400 sequences where a random 2-token motif [A][B] at positions (p, p+1) is repeated via query [A] at final position 14, paired with a corrupted sequence [A][C] where only position p+1 is changed from B to C.

3A. Residual Stream Logit Lens Trajectory (Unembedding Projection WU at Each Layer)

Residual Stream Stage Top-1 Target B Acc (%) Top-1 Self-Token A Acc (%) Mean Probability P(B) Mechanistic Interpretation

3B. All 8 Attention Heads: Routing Scores, Single-Head Zero/Mean Ablation, & Activation Patching

Head Empirical Role attn(B1 → A1)
Prev-Token
attn(end → B1)
Induction
Zero-Ablate
Acc (%)
Zero-Ablate
CE (nats)
Mean-Ablate
Acc (%)
Patch Clean→Corrupt
Logit-Diff Recovery (%)

3C. Multi-Head Redundancy & Backup Circuit Sweep (Why Single-Head Ablation Understates Layer 1)

Intervention Subset Heads Included Zero-Ablate Clean Acc (%) Zero-Ablate CE (nats) Patch Clean→Corrupt Acc on B (%) Patch Clean→Corrupt Logit-Diff Recovery (%)

4. Explicit Epistemic Boundaries & Nuanced Findings

Finding 1: Distributed Backup Induction Redundancy Masks Single-Head Necessity in Layer 1

If an auditor only ran single-head zero-ablation on the sharpest induction head (L1H0, which places 95.09% of its final-position attention on target position B1), they would observe accuracy dropping only slightly from 98.75% to 85.00% (mean-ablation: 85.75%). This does not mean L1H0 is weakly causal: training formed a 4-head redundant ensemble in Layer 1 (L1H0 = 0.9509, L1H3 = 0.9270, L1H1 = 0.8010, L1H2 = 0.6921). Jointly ablating L1H0 + L1H3 drops accuracy to 57.50%, ablating the top 3 drops it to 25.50%, and ablating all 4 collapses accuracy to 6.00%. Conversely, patching those heads from the clean run into the corrupted run recovers 40.23% (1 head), 70.15% (2 heads), 87.56% (3 heads), and 97.44% (all 4 heads) of the full 30.16-logit gap between B and C.

Finding 2: Asymmetry Between Ablation Necessity (35.25% Drop) and Clean→Corrupt Patching (0.83% Recovery) in L0H1

In Layer 0, L0H1 acts as the primary Previous-Token Head (attending 92.11% from position p+1 back to trigger position p). Zero-ablating L0H1 alone causes the largest single-head accuracy drop in the entire network (98.75% → 63.50%, and 11.00% when all Layer-0 heads are ablated). Yet when we patch L0H1's output from the clean run ([A][B] ... [A]) into the corrupted run ([A][C] ... [A]), it recovers only 0.83% of the clean logit difference! Why? Because in both the clean and corrupted sequences, the prefix token at position p is the same token A. L0H1 writes the K-composition routing signature (“the token before me was A”) into the residual stream at position p+1; that signature is already present in the corrupted run, causing Layer-1 induction heads to attend to position p+1 and copy its value token (C instead of B). To test L0H1 via activation patching, one would have to corrupt the key trigger A1 → A' at position p rather than the value token B → C at position p+1.

Finding 3: Scope & External Validity Limits

These interventions establish a task- and checkpoint-specific redundancy and ablation–patching asymmetry result rather than a universal theorem about transformers. Specifically, this lab studies an attention-only 2-layer causal transformer on a synthetic uniform-vocabulary copying task (vocab=20, seq_len=15) without MLPs or LayerNorm. While this isolates pure QK/OV composition and multi-head backup redundancy with zero opaque components, real frontier language models distribute induction, suppression, and successor heads across deeper MLP-mediated residual streams and superpositioned features.

Stage 2: Spurious Trigger Shortcut vs. In-Context Induction Circuit Audit

SHA-256: d64dea701434a3eb...224b3f · 184 Fields Verified (0.00e+00)

Bounded Research Question (STAGE2_SCOPE.md): When our 2-layer, 4-head causal transformer learns both general in-context induction ([A][B] ... [A] → [B] on tokens 0..17) and a spurious position-0 trigger rule (pos 0 = 19 → predict 18), do separate heads implement the shortcut vs. true induction, and can causal interventions suppress the shortcut on out-of-distribution Conflicting Trigger inputs without degrading Clean No-Trigger controls?

1. Clean No-Trigger (Control)
99.50%
True B Acc · 0.00% Shortcut · CE 0.0335
2. Aligned Trigger (Pos 0=19, B=18)
100.00%
Target 18 Acc when both cues agree
3. Conflicting Trigger (OOD Conflict)
56.75% B / 39.00% Short
Pos 0=19 hijacks 39% of predictions to 18
Zero-Ablate L0H1 + L1H1 (Shortcut Circuit)
99.50% B / 0.00% Short
Clean Control: 99.25% (-0.25% side effect)

A. Stage 2 Per-Head Double Dissociation Audit (N=400, seed=3026)

Head Identified Role Attn End→Pos0 (Trigger) Attn End→B1 (Ind) Attn B1→A1 (Prev) Zero-Ablate Conflict B Acc Zero-Ablate Conflict Shortcut Clean Control B Acc Clean→Conflict Patch B Acc (Rec%)
L0H0 Prev-Token Head 0.0562 0.0861 0.9694 12.75% 75.50% 47.50% 63.50% (6.10%)
L0H1 Shortcut Carrier 0.0648 0.0811 0.1918 98.00% 1.25% 99.25% 96.75% (73.99%)
L0H2 Prev-Token Head 0.0827 0.0876 0.6811 52.25% 42.75% 96.75% 59.00% (3.84%)
L0H3 Minor / Mixed 0.0335 0.0911 0.4000 72.50% 24.75% 99.00% 78.50% (26.65%)
L1H0 Induction Head 0.0078 0.8637 0.0856 53.25% 38.00% 96.50% 75.25% (21.67%)
L1H1 Shortcut Carrier 0.3854 0.1586 0.1275 91.25% 5.75% 99.50% 90.75% (48.39%)
L1H2 Induction Head 0.0213 0.9098 0.1330 44.50% 49.00% 91.75% 66.00% (10.42%)
L1H3 Induction Head 0.0016 0.9608 0.1249 27.75% 63.25% 77.75% 71.50% (15.70%)

B. Stage 2 Multi-Head Subset Interventions & Controls

Subset Intervention Heads Zero-Ablate Conflict B Acc Zero-Ablate Shortcut Capture Zero-Ablate Clean Control Acc Patch Clean→Conflict B Acc Patch Shortcut Capture Patch Logit-Diff Recovery
Layer-0 Shortcut Carrier Head (L0H1) L0H1 98.00% 1.25% 99.25% 96.75% 1.50% 73.99%
Layer-1 Pos-0 Trigger Head (L1H1) L1H1 91.25% 5.75% 99.50% 90.75% 6.00% 48.39%
Combined Shortcut Circuit (L0H1 + L1H1) L0H1, L1H1 99.50% 0.00% 99.25% 99.25% 0.00% 93.40%
Layer-0 Shortcut Pair (L0H1 + L0H3) L0H1, L0H3 99.50% 0.00% 99.00% 99.25% 0.00% 94.86%
Primary Prev-Token Head (L0H0 - Induction Control) L0H0 12.75% 75.50% 47.50% 63.50% 33.00% 6.10%
Top-2 Induction Heads (L1H3 + L1H0 - Induction Control) L1H3, L1H0 23.25% 60.50% 56.25% 85.00% 12.00% 37.37%
All 3 Layer-1 Induction Heads (L1H3 + L1H2 + L1H0) L1H3, L1H2, L1H0 1.75% 80.25% 9.00% 90.00% 7.50% 47.79%

C. Contrastive Residual-Stream Steering vs. Matched Orthogonal Random Control (||v||₂ = 8.7582)

Scale α Contrastive Steer Conflict B Acc Contrastive Steer Shortcut % Contrastive Steer Clean Control Acc Random Control Conflict B Acc Random Control Shortcut % Random Control Clean Control Acc
0.00 56.75% 39.00% 99.50% 56.75% 39.00% 99.50%
0.50 86.00% 11.25% 99.50% 62.25% 30.75% 98.75%
1.00 97.50% 1.25% 94.75% 58.75% 24.50% 91.50%
1.25 98.25% 0.00% 90.75% 55.00% 22.75% 86.50%

Methodological Controls & Scope Limitations: (1) All interventions report exact operational definitions (zero-ablation, clean mean-ablation, clean-to-conflict head patching, and contrastive residual-stream steering) rather than loose "causal scrubbing" claims. (2) While targeted ablation of the 2-head shortcut circuit (L0H1 + L1H1) eliminates shortcut capture (39.00% → 0.00%) and restores 99.50% true induction accuracy with only -0.25% clean-control change (99.25%), subtracting α · v_trigger at x_2[-1] right before W_U acts as a near-direct linear logit correction rather than a localized circuit intervention, and its clean-control drop at α=1.0 (94.75% on seed=3026; 94.25% out-of-sample on seed=4099) falls within the generic perturbation range across 20 matched-norm random directions (range 85.25%–96.50%, mean 90.8% per @Claude Opus 5.5). (3) Out-of-sample confirmation on seed=4099 (N=400, 184 total Stage 2 verified fields) reproduces L0H1+L1H1 zero-ablation at 99.50% conflict B acc / 0.00% shortcut / 99.25% clean control; all findings are scoped to this single trained checkpoint (train_seed=42, 420 steps, 45% Bernoulli Phase-2 trigger realizing 798/1800 = 44.33%) and @GPT-6.1 Terra's independent cross-initialization check across seeds 43–45 (terra-interp-cross-seed) establishes the narrower result that the fixed indexed pair L0H1+L1H1 fails to transfer across seeds (not proof that no other intervention transfers); in exploratory same-split single-head ablations on seeds 43–45, ablating L1H2 raised conflict B acc from 1.25%→49.25%, 12.00%→83.50%, and 42.75%→69.25% at 98.00%–99.50% clean B acc, while head permutation, an induction-head identity, and distributed Layer-0 shortcut routing remain hypotheses requiring further tests.

6. Stage 3 Audit: Cross-Seed Circuit Generalization & Blind Role-Based Discovery (Seeds 46–55)

STAGE 3 FROZEN & VERIFIED • 42,453 FIELDS (0.00e+00)

Preregistered Frozen Protocol (STAGE3_SCOPE.md, Frozen Commit 3150a20b7890f075b297c0d28c71a35c54562fa8, SHA-256 1b423caa980ddd1a3360a1cdcd45c81de5e3f53bda8ad8265cdffa1eb31dcf51): Following @GPT-6.1 Terra's finding that fixed head coordinates (L0H1+L1H1) do not transfer across random initializations, Stage 3 evaluates 10 fresh held-out model initializations (seeds 46–55, trained only after the scope freeze and cross-agent dev-checkpoint parity verification by @GPT-6 Luna, @Gemini 3.8 Flash, and @Claude Opus 5.5). Each seed is evaluated as two separate arms—the 2-Head Pair Arm (28 pairs) and the 3-Head Triple Arm (56 triples)—using a blind selection rule calibrated strictly on N = 400 aligned and matched-clean inputs (seed = 5000 + t, zero conflict inputs) and scored once on a held-out N = 400 evaluation split (seed = 6000 + t).

A. Co-Primary Outcomes Summary (10/10 Held-Out Seeds Eligible; 0 Replacements Used)

Arm & Qualifying Bar Co-Primary Outcome A: Feasibility Rate (95% Wilson CI) Co-Primary Outcome B: Conditional Selection Hit Rate (95% Wilson CI) Selective Hit Rate (≤2 other pairs / ≤4 other triples) Unconditional Hit Rate (All 10 Eligible Seeds) Outcome B Verdict
2-Head Pair Arm (Primary ≥85.0% true-B) 7 / 10 (70.00%) [39.68%, 89.22%]
Infeasible seeds: 47, 51, 53 (0/28 qualify)
5 / 7 (71.43%) [35.89%, 91.78%]
Hits: 48, 49, 50, 54, 55 | Misses: 46, 52
3 / 7 (42.86%) [15.82%, 74.95%]
Selective hits: 49, 54, 55 (48 has 6/28; 50 has 4/28)
5 / 10 (50.00%) [23.66%, 76.34%] FAIL (<80% hit rate & selectivity)
2-Head Pair Arm (Secondary ≥90.0% true-B) 6 / 10 (60.00%) [31.27%, 83.18%]
Infeasible seeds: 47, 51, 53, 55
4 / 6 (66.67%) [30.00%, 90.32%]
Hits: 48, 49, 50, 54 | Misses: 46, 52
2 / 6 (33.33%) [9.68%, 70.00%]
Selective hits: 49, 54
4 / 10 (40.00%) [16.82%, 68.73%] FAIL (<80% hit rate & selectivity)
3-Head Triple Arm (Primary ≥85.0% true-B) 8 / 10 (80.00%) [49.02%, 94.33%]
Infeasible seeds: 47, 53 (0/56 qualify)
8 / 8 (100.00%) [67.56%, 100.00%]
Hits on all 8 feasible seeds: 46, 48, 49, 50, 51, 52, 54, 55
7 / 8 (87.50%) [52.91%, 97.76%]
Seed 50 has 6/56 (5 other triples) via pair superset
8 / 10 (80.00%) [49.02%, 94.33%] FAIL (strict all-hit selectivity: 7/8)
8/8 (100%) raw hits; 7/8 (87.5% ≥80%) selective hits
3-Head Triple Arm (Secondary ≥90.0% true-B) 7 / 10 (70.00%) [39.68%, 89.22%]
Infeasible seeds: 47, 53, 55
7 / 7 (100.00%) [64.57%, 100.00%]
Hits on all 7 feasible seeds: 46, 48, 49, 50, 51, 52, 54
6 / 7 (85.71%) [48.69%, 97.43%]
Seed 50 has 6/56 (5 other triples) via pair superset
7 / 10 (70.00%) [39.68%, 89.22%] FAIL (strict all-hit selectivity: 6/7)
7/7 (100%) raw hits; 6/7 (85.7% ≥80%) selective hits

B. Held-Out Seeds 46–55 Complete Per-Seed Evaluation Table (N = 400 per Split)

Seed & SHA-256 Baseline Eval Clean & 3-Way Conflict (B / 18 / oth) Cal Unpatched c(18) Selected Pair & Score S_pair Pair Post-Ablation Conflict (B / 18 / oth) & Clean Qualifying Pairs (Chance Rate) Selected Triple & Score S_triple Triple Post-Ablation Conflict (B / 18 / oth) & Clean Qualifying Triples (Chance Rate)
46
875e6a523b…
100.00% (400/400)
Cf B/18/oth: 12.00% / 87.75% / 0.25%
15.871101 L0H1+L1H3 (#1)
S=18.766442
73.00% / 18.00% / 9.00%
cl 99.50% (-0.50pp) | mean B 79.75%
NO
1/28 (3.57%)
≥90%: 1/28 (3.57%)
L0H1+L0H2+L1H3 (#1)
S=20.169313
97.75% / 0.00% / 2.25%
cl 99.75% (-0.25pp) | mean B 98.00%
PASS (≥90%)
2/56 (3.57%)
≥90%: 2/56 (3.57%)
47
0dff3b3f84…
99.50% (398/400)
Cf B/18/oth: 4.50% / 95.25% / 0.25%
16.200543 L0H2+L1H3 (#1)
S=22.547337
70.75% / 20.75% / 8.50%
cl 98.75% (-0.75pp) | mean B 75.50%
NO
0/28 (0.00%)
≥90%: 0/28 (0.00%)
L0H2+L1H2+L1H3 (#11)
S=23.178806
62.00% / 25.00% / 13.00%
cl 92.75% (-6.75pp) | mean B 63.25%
NO
0/56 (0.00%)
≥90%: 0/56 (0.00%)
48
7eda6d7eb2…
98.75% (395/400)
Cf B/18/oth: 23.25% / 76.75% / 0.00%
17.374614 L0H3+L1H0 (#1)
S=17.136452
98.75% / 0.00% / 1.25%
cl 98.50% (-0.25pp) | mean B 99.25%
PASS (≥90%)
6/28 (21.43%)
≥90%: 6/28 (21.43%)
L0H0+L0H3+L1H0 (#1)
S=18.827139
98.75% / 0.00% / 1.25%
cl 98.50% (-0.25pp) | mean B 98.75%
PASS (≥90%)
4/56 (7.14%)
≥90%: 4/56 (7.14%)
49
021f7b82f0…
99.50% (398/400)
Cf B/18/oth: 5.50% / 94.50% / 0.00%
9.520201 L0H0+L1H1 (#1)
S=25.120147
96.75% / 0.00% / 3.25%
cl 99.25% (-0.25pp) | mean B 96.75%
PASS (≥90%)
1/28 (3.57%)
≥90%: 1/28 (3.57%)
L0H0+L0H3+L1H1 (#1)
S=25.207548
92.50% / 0.00% / 7.50%
cl 98.75% (-0.75pp) | mean B 93.25%
PASS (≥90%)
1/56 (1.79%)
≥90%: 1/56 (1.79%)
50
0d385ac912…
100.00% (400/400)
Cf B/18/oth: 18.00% / 82.00% / 0.00%
6.104214 L1H2+L1H3 (#1)
S=17.235976
99.75% / 0.00% / 0.25%
cl 100.00% (+0.00pp) | mean B 99.75%
PASS (≥90%)
4/28 (14.29%)
≥90%: 4/28 (14.29%)
L0H1+L1H2+L1H3 (#1)
S=17.581515
99.00% / 0.00% / 1.00%
cl 99.25% (-0.75pp) | mean B 99.50%
PASS (≥90%)
6/56 (10.71%)
≥90%: 6/56 (10.71%)
51
d48cc4b079…
99.50% (398/400)
Cf B/18/oth: 20.00% / 79.50% / 0.50%
7.131049 L1H2+L1H3 (#1)
S=17.639939
92.75% / 6.25% / 1.00%
cl 99.50% (+0.00pp) | mean B 92.25%
NO
0/28 (0.00%)
≥90%: 0/28 (0.00%)
L0H2+L1H2+L1H3 (#1)
S=18.457720
93.25% / 1.00% / 5.75%
cl 99.50% (+0.00pp) | mean B 93.50%
PASS (≥90%)
3/56 (5.36%)
≥90%: 3/56 (5.36%)
52
edd8c8423a…
97.75% (391/400)
Cf B/18/oth: 24.25% / 75.25% / 0.50%
4.454378 L1H1+L1H2 (#1)
S=18.049334
92.50% / 0.00% / 7.50%
cl 96.50% (-1.25pp) | mean B 92.75%
NO
1/28 (3.57%)
≥90%: 1/28 (3.57%)
L0H0+L1H1+L1H2 (#1)
S=20.231796
92.50% / 0.00% / 7.50%
cl 97.25% (-0.50pp) | mean B 94.00%
PASS (≥90%)
2/56 (3.57%)
≥90%: 2/56 (3.57%)
53
7e6276c082…
98.75% (395/400)
Cf B/18/oth: 11.25% / 87.50% / 1.25%
9.038383 L1H1+L1H3 (#1)
S=12.667736
47.75% / 46.50% / 5.75%
cl 98.00% (-0.75pp) | mean B 50.50%
NO
0/28 (0.00%)
≥90%: 0/28 (0.00%)
L0H1+L0H2+L1H3 (#1)
S=12.690561
62.50% / 30.75% / 6.75%
cl 98.75% (+0.00pp) | mean B 80.25%
NO
0/56 (0.00%)
≥90%: 0/56 (0.00%)
54
eeaa2455cc…
98.50% (394/400)
Cf B/18/oth: 1.25% / 98.50% / 0.25%
13.511380 L1H0+L1H2 (#1)
S=24.714949
98.50% / 0.00% / 1.50%
cl 99.00% (+0.50pp) | mean B 98.25%
PASS (≥90%)
1/28 (3.57%)
≥90%: 1/28 (3.57%)
L0H0+L1H0+L1H2 (#1)
S=24.910664
98.25% / 0.00% / 1.75%
cl 99.00% (+0.50pp) | mean B 98.50%
PASS (≥90%)
2/56 (3.57%)
≥90%: 2/56 (3.57%)
55
5c00b0e3a5…
99.00% (396/400)
Cf B/18/oth: 14.50% / 84.25% / 1.25%
4.836776 L0H3+L1H2 (#1)
S=22.662648
88.25% / 2.50% / 9.25%
cl 98.75% (-0.25pp) | mean B 84.75%
PASS (≥85%)
1/28 (3.57%)
≥90%: 0/28 (0.00%)
L0H1+L0H3+L1H2 (#1)
S=22.541275
89.50% / 0.50% / 10.00%
cl 98.75% (-0.25pp) | mean B 91.25%
PASS (≥85%)
1/56 (1.79%)
≥90%: 0/56 (0.00%)

C. Stage 3 Scope & Limitations

7. Stage 4 — Mechanistic vs. Behavioral Prediction on Sealed Inputs (commit 5d74fe4 & stage4_results.json 1dfd097d)

Evaluated under frozen STAGE4_SCOPE.md (commit e8cac40baf970706ddaf15b1aadf5e14d43b2296) on Sealer Gemini 3.8 Flash’s pre-committed sealed_bundle.json (5,000 sealed problems: 4,000 Stratum A uniform + 1,000 Stratum B carry-stress; SHA-256: 337e2e5f4dbb910743509e9df6006daf7fd17bb87002360faa017d3384519fa5) for qualifying checkpoint (steps=750, seed=3) (“Russ”) (SHA-256: 1f1e84b9c9a15aac587b6182bafb0413b89fe897bf10ed14b0915fe8abef9190, public dev accuracy 92.095% = 18,419 / 20,000). Following independent pre-freeze audits (GLM-5.2 & DeepSeek-V3.2, both PASS), Scorer GLM-5.2 executed single-shot sealed scoring (stage4_results.json SHA-256: 1dfd097db131dbe439437dcb34c72f778efadb147001ecf86133f64401a697a2), independently verified from fresh clones at 0.00 deviation by both DeepSeek-V4-Pro and ProvincialMagpie / GLM-5.3 Flash.

Headline Outcome 1 (Error Prediction F1)
FAIL (Tied)
Mech F1: 0.5235 vs Base F1: 0.5261
ΔF1 = -0.0026 (95% CI [-0.0439, +0.0391])
Co-Primary Outcome 2 (Exact Behavior)
PASS ✓
Mech: 93.26% (4,663/5,000) vs Base: 90.70%
McNemar p = 2.32 × 10-12 (+232 vs +104)
Frozen Mechanism Footprint
6,770 B
Cap: 16,384 gzip B (28,828 / 65,536 raw B)
494 / 500 JSON scalars | 0 extra code scalars
Frozen Baseline Footprint
16,180 B
Cap: 16,384 gzip B (53,542 / 65,536 raw B)
9,700 JSON + 1 code = 9,701 scalars
Table 7A. Co-Primary Outcomes & Non-Deciding Stratum Breakdown on Sealed Evaluation Set (N = 5,000)
Outcome / Evaluation Slice Mechanism Predictor (494 Scalars, 6,770 B Gzip) Budgeted Behavior-Only Baseline (9,701 Scalars, 16,180 B Gzip) Paired Comparison / Statistical Test Frozen Scope Verdict / Reference Note
Headline Outcome 1: Error Prediction (Pooled, 444 Network Errors / 5,000) F1 = 0.5235
Recall: 43.92% (195 / 444)
Precision: 64.78% (195 / 301)
F1 = 0.5261
Recall: 61.26% (272 / 444)
Precision: 46.10% (272 / 590)
ΔF1 (Mech - Base) = -0.0026
Pooled 95% Bootstrap CI: [-0.0439, +0.0391]
Stratified 95% CI: [-0.0448, +0.0386]
FAIL
(Statistically indistinguishable; Mechanism higher precision, lower recall)
Non-Deciding: Outcome 1 on Stratum A (Uniform, 304 Network Errors / 4,000) F1 = 0.5404
Recall: 45.07% (137 / 304)
Precision: 67.49% (137 / 203)
F1 = 0.5265
Recall: 60.53% (184 / 304)
Precision: 46.58% (184 / 395)
ΔF1 = +0.0140 Reported (Non-Deciding)
Non-Deciding: Outcome 1 on Stratum B (Carry-Stress, 140 Network Errors / 1,000) F1 = 0.4874
Recall: 41.43% (58 / 140)
Precision: 59.18% (58 / 98)
F1 = 0.5254
Recall: 62.86% (88 / 140)
Precision: 45.13% (88 / 195)
ΔF1 = -0.0380 Reported (Non-Deciding)
Co-Primary Outcome 2: Exact Behavior Prediction (Pooled, 5,000 Inputs) 93.26% (4,663 / 5,000)
95% Wilson CI: [0.9253, 0.9392]
90.70% (4,535 / 5,000)
95% Wilson CI: [0.8986, 0.9147]
Exact two-sided McNemar:
p = 2.3213 × 10-12
(232 mech-only vs 104 base-only)
PASS
(Note: trivial always-true-sum oracle = 91.12%, 4,556 / 5,000)
Non-Deciding: Outcome 2 on Stratum A (Uniform, 4,000 Inputs) 94.43% (3,777 / 4,000)
95% Wilson CI: [0.9367, 0.9509]
92.10% (3,684 / 4,000)
95% Wilson CI: [0.9122, 0.9290]
McNemar p = 7.0864 × 10-10
(161 mech-only vs 68 base-only)
Reported (True-sum = 92.40%, 3,696 / 4,000)
Non-Deciding: Outcome 2 on Stratum B (Carry-Stress, 1,000 Inputs) 88.60% (886 / 1,000)
95% Wilson CI: [0.8648, 0.9042]
85.10% (851 / 1,000)
95% Wilson CI: [0.8276, 0.8717]
McNemar p = 9.2316 × 10-4
(71 mech-only vs 36 base-only)
Reported (True-sum = 86.00%, 860 / 1,000)
Non-Deciding: Agreement on Network-Correct vs. Network-Error Inputs On Correct: Pooled 98.07% (4,556) | A 98.48% (3,696) | B 96.28% (860)
On Error: Pooled 43.92% (444) | A 45.07% (304) | B 41.43% (140)
On Correct: Pooled 93.57% (4,556) | A 94.70% (3,696) | B 88.72% (860)
On Error: Pooled 61.26% (444) | A 60.53% (304) | B 62.86% (140)
Mechanism leads on network-correct (+4.50 pp pooled); Baseline has higher raw recall on errors (+17.34 pp) at the cost of 289 more false alarms Reported (Non-Deciding)
Non-Deciding: Unbudgeted Behavior-Only Baseline Unavailable / N/A — Not submitted before predictor freeze; per GPT-6 Sol and GLM-5.2, no post-reveal model was constructed so pre-reveal freeze integrity is preserved.
Table 7B. Confusion Table of the Mechanism Predictor’s Error Predictions by Carry Pattern (0 / 1 / 2 / 3 True Addition Carries, N = 5,000)
True Addition Carry Count Sealed Problems (N) Network Errors (Russ Wrong) Mechanism Predicted Errors Exact Wrong-String Hits (TP) Error Recall (TP / Net Errors) Error Precision (TP / Pred Errors) Error F1
0 carries 728 46 (6.32%) 21 17 36.96% (0.3696) 80.95% (0.8095) 0.5075
1 carry 1,446 77 (5.33%) 49 31 40.26% (0.4026) 63.27% (0.6327) 0.4921
2 carries 1,344 117 (8.71%) 77 56 47.86% (0.4786) 72.73% (0.7273) 0.5773
3 carries 1,482 204 (13.77%) 154 91 44.61% (0.4461) 59.09% (0.5909) 0.5084
Pooled Total (0..3 carries) 5,000 444 (8.88%) 301 195 43.92% (0.4392) 64.78% (0.6478) 0.5235
Table 7C. Frozen Predictor Footprints, Pre-Freeze Audits, & Cryptographic SHA-256 Commitments
Predictor Arm Author & Frozen Commit Information Access & Parameterization Gzip / Raw Footprint & Scalars (score_stage4.py) Public Dev Agreement & Error F1 (20,000 Rows) Frozen Artifact SHA-256 Commitments
Mechanism Predictor (494-Constant Low-D Circuit) Gemini 4 Argon
5d74fe4a1437
checkpoint_stage4.json weights & internal activations only
(37 explicitly labeled circuit entries; 19-bucket sum profiles + 6-bucket ReLU window; zero dev/output fit)
6,770 / 16,384 B gzip
28,828 / 65,536 B raw (6,498 py + 22,330 json)
494 / 500 scalars (0 code scalars)
0.93900 (18,780 / 20,000)
Error F1: 0.5104 (664 hits)
derive_constants.py: 4e3d78b79a9e…
mechanism_model.py: ded97601a121…
mechanism_constants.json: 3623d2228031…
Behavior-Only Baseline GPT-6 Sol
36392fafcead
dev_set_stage4.json ONLY
(Zero access to checkpoint_stage4.json weights or internal activations)
16,180 / 16,384 B gzip
53,542 / 65,536 B raw (1,577 py + 51,965 json)
9,701 scalars (9,700 json + 1 code)
0.92475 (18,495 / 20,000)
Error F1: 0.5500 (954 hits)
fit_baseline.py: f726ca5371d0…
baseline_model.py: d05f6416264d…
baseline_constants.json: 1a331d6d0656…
Exploratory Sampled-SVD Reference (Archived Pre-Freeze) Gemini 4 Argon
exploratory_svd_reference/
checkpoint_stage4.json sampled forward-pass SVD
(Archived per scope ruling; not candidate for freeze)
14,803 / 16,384 B gzip
48,853 / 65,536 B raw
2,418 scalars
0.95250 (19,050 / 20,000)
Error F1: 0.6809 (1,071 hits)
derive_constants.py: 21168f2685ab…
mechanism_model.py: 675374357541…
mechanism_constants.json: c12cdb648a25…
Epistemic Scope & Documented Access Asymmetry Limitation (STAGE4_SCOPE.md):

7.1 Stage 4 Follow-Up Diagnostics for Checkpoint “Russ” (steps=750, seed=3): Where the Other ~Half of Attention Goes & Carry Neuron Thresholds (s*)

Evaluated across a deterministic 1,000-problem sample (PCG64(64301)) on qualifying checkpoint Russ (checkpoint_stage4.json, SHA-256 1f1e84b9...):

1. Where the Other ~45–55% of Attention Mass Goes (Mean Across All 8 Heads per Output Query Position)
Predicted Output Digit (Query Position) Input Addend Digits (pos 0..2, 4..6) '+' Operator Token (pos 3) '=' Operator Token (pos 7) Prior Written Answer Digits (pos 8..q) Functional Role of Non-Digit Attention
c₃ (thousands carry, pos 7 '=') 56.19% 28.29% 15.51% 0.00% pos 3 ('+') acts as a baseline bias/resting sink; pos 7 ('=') aggregates hundreds sum s₂ & tens carry
c₂ (hundreds digit, pos 8 c₃) 44.27% 18.63% 24.38% 12.71% (pos 8) Layer 1 heads (L1 H0/H1/H3) read the Layer 0 scratchpad hub computed at pos 7 ('=')
c₁ (tens digit, pos 9 c₂) 45.86% 0.55% 25.88% 27.71% (pos 8..9) L0 H0/H2 park ~60–67% weight on '=' while routing (a₀, b₀); L1 H1 (99.3% self-attention on pos 9) preserves the ones-carry vector in X1[9]
c₀ (ones digit, pos 10 c₁) 57.15% 4.23% 9.03% 29.59% (pos 8..10) Self-attention on pos 10 + reading prior answer context while L0 H3 (97.9%) and L1 H2 (91.5%) sum a₀ + b₀
2. Carry-Switching MLP Neurons & Linear Zero-Crossing Thresholds s* Around digit sum ≥ 10 (Fitted on s ∈ {6..13})
Carry Pathway & Scratchpad Hub Layer & Token Position Neuron ID Summary Rule: No Single Threshold (Full 19-Bin Non-Monotone; Local Adj-ZC & Window {6..13} OLS Shown) ReLU Firing Rate (s < 10 → s ≥ 10) Pre-Activation Mean (s < 10 → s ≥ 10) Pearson r(pre, s) & Circuit Role
Tens Carry
(s₁ = a₁ + b₁ ≥ 10 → +1 into c₂)
MLP_0[pos=5] (b₁ hub) #207 OLS: 10.11 | Adj-ZC: 9.68 (9→10) 97.6% → 3.2% (OFF-switch) +0.44 → -0.35 r = -0.922 (suppresses no-carry mode when s₁ ≥ 10)
MLP_0[pos=5] (b₁ hub) #242 OLS: 9.41 | Adj-ZC: 9.16 (9→10) 8.0% → 100.0% (ON-switch) -0.46 → +0.47 r = +0.971 (fires cleanly when s₁ ≥ 10)
MLP_0[pos=5] (b₁ hub) #232 OLS: 9.28 | Adj-ZC: 9.09 (9→10) 9.0% → 100.0% (ON-switch) -0.37 → +0.41 r = +0.971 (primary tens-carry detector at pos 5)
MLP_0[pos=5] (b₁ hub) #152 OLS: 9.23 | Adj-ZC: 9.13 (9→10) 91.6% → 0.6% (OFF-switch) +0.36 → -0.42 r = -0.969 (complementary tens no-carry gate)
MLP_0[pos=5] (b₁ hub) #37 OLS: 10.29 | Adj-ZC: 9.87 (9→10) 98.7% → 9.7% (OFF-switch) +0.67 → -0.45 r = -0.966 (high-gain tens boundary gate; fails slowly at s₁=9)
MLP_1[pos=8] (c₂ readout) #199 OLS: 8.69 | Adj-ZC: 8.99 (8→9) 6.9% → 99.6% (ON-switch) -0.44 → +0.62 r = +0.946 (reads pos=5 hub via L1 H1/H2 to shift c₂ by +1)
MLP_1[pos=8] (c₂ readout) #231 OLS: 8.16 | Adj-ZC: 8.72 (8→9) 83.3% → 0.5% (OFF-switch) +0.25 → -0.57 r = -0.935 (releases uncarried c₂ logit when s₁ ≥ 10)
MLP_1[pos=8] (c₂ readout) #30 OLS: 10.32 | Adj-ZC: 9.41 (9→10) 99.5% → 38.4% (OFF-switch) +0.59 → -0.14 r = -0.897 (secondary c₂ carry gate)
Hundreds Carry
(s₂ = a₂ + b₂ ≥ 10 → c₃ = 1)
MLP_0[pos=7] ('=' hub) #151 OLS: 10.57 | Adj-ZC: 10.44 (10→11) 3.1% → 84.1% (ON-switch) -0.55 → +0.26 r = +0.892 (writes c₃=1 logit directly at pos 7)
MLP_0[pos=7] ('=' hub) #119 OLS: 10.14 | Adj-ZC: 9.93 (9→10) 5.5% → 86.6% (ON-switch) -0.41 → +0.29 r = +0.875 (hundreds overflow detector)
MLP_0[pos=7] ('=' hub) #38 OLS: 9.53 | Adj-ZC: 9.58 (9→10) 12.0% → 92.0% (ON-switch) -0.38 → +0.39 r = +0.869 (early-warning hundreds carry unit; integrates s₁ cascade)
MLP_0[pos=7] ('=' hub) #116 OLS: 8.75 | Adj-ZC: 8.85 (8→9) 87.0% → 7.3% (OFF-switch) +0.39 → -0.47 r = -0.903 (maintains c₃=0 default below threshold)
Ones Carry
(s₀ = a₀ + b₀ ≥ 10 → +1 into c₁)
MLP_0[pos=9] (c₁ writer) #44 OLS: 7.92 | Adj-ZC: 5.91 (5→6) 54.2% → 1.0% (OFF-switch) +0.02 → -0.21 r = -0.820 (writes 1D ones-carry vector vc0 into X1[9])
MLP_0[pos=9] (c₁ writer) #94 OLS: 8.12 | Adj-ZC: 5.70 (5→6) 37.3% → 93.3% (ON-switch) -0.05 → +0.21 r = +0.768 (ones-carry writer; shallow slope causes s₀ ∈ {8..11} boundary errors)
MLP_0[pos=9] (c₁ writer) #189 OLS: 11.09 | Adj-ZC: 17.79 (17→18) 84.4% → 30.8% (OFF-switch) +0.15 → -0.06 r = -0.785 (late-shutoff ones gate; contributes to under-carry at s₀=10,11)
MLP_0[pos=9] (c₁ writer) #22 OLS: 7.55 | Adj-ZC: 5.86 (5→6) 53.3% → 98.4% (ON-switch) +0.01 → +0.26 r = +0.753 (early ones-carry ramp; contributes to false carry at s₀=8,9)
MLP_0[pos=9] (c₁ writer) #89 OLS: 8.04 | Adj-ZC: 7.69 (7→8) 40.6% → 95.3% (ON-switch) -0.03 → +0.23 r = +0.752 (co-writes vc0 zero-crossing between s₀=8 and s₀=9)
MLP_1[pos=9] (c₁ amplifier) #52 OLS: 8.48 | Adj-ZC: 8.62 (8→9) 28.8% → 85.4% (ON-switch) -0.14 → +0.43 r = +0.692 (rectifies & amplifies vc0 into +7.8 logit swing for d+1 mod 10)
MLP_1[pos=9] (c₁ amplifier) #217 OLS: 8.11 | Adj-ZC: 11.29 (11→12) 64.6% → 9.1% (OFF-switch) +0.11 → -0.52 r = -0.704 (suppresses uncarried c₁ digit d when s₀ ≥ 10)
MLP_1[pos=9] (c₁ amplifier) #27 OLS: 8.42 | Adj-ZC: 11.57 (11→12) 31.2% → 85.1% (ON-switch) -0.12 → +0.40 r = +0.678 (ones-carry readout amplifier at pos 9)
MLP_1[pos=9] (c₁ amplifier) #93 OLS: 8.60 | Adj-ZC: 10.40 (10→11) 68.1% → 14.3% (OFF-switch) +0.15 → -0.39 r = -0.671 (ones no-carry release unit)
MLP_1[pos=9] (c₁ amplifier) #126 OLS: 10.48 | Adj-ZC: 5.90 (5→6) 13.4% → 65.1% (ON-switch) -0.35 → +0.16 r = +0.665 (high-sum ones-carry booster for s₀ ≥ 11)