A Path Already Walked · handbook
Handbook / Part 04

Worked example

Our own pre-registered test on GPT-2 small, and why both predictions failed.

GPT-2 small, as declared in the pre-registrationPoint at any head. Change the density, or rewire with the null.
Density
Highlight
Null rewiring
0.21Φ of the observed graph
Swaps stay inside each layer pair and keep every head's in- and out-degree there, as pre-registered.
Hover or tap a head for details.

Each dot is one of the 144 attention heads, with layers 0 to 11 from left to right. Each line is one of the 950 strongest earlier-to-later edges by the Jacobian measure defined in the graph contract. Rewiring runs the pre-registered null in your browser, and at 10% density the rich-club coefficient Φ stays at 0.21 however often you press it.

07Pre-registered

We pre-registered a test of our own proposal. Both predictions failed.

A contract is worth something only if its authors hold themselves to it. We took the two cheapest translations, rich-club ordering and modularity, and tested them on GPT-2 small with indirect-object identification prompts, sentences in which the model must name the person who received something. Scroll through the protocol to see what was fixed and when.

1 · Declare

Before running anything we wrote down every contract choice. These were the nodes, the edge measure, both prompt sets, the direction of edges, the threshold, the null and the behavioural target.

2 · Seal

We hashed the pre-registration file with SHA-256, recorded the hash before the run and had the script check it again at launch, so the plan could not change after we saw any data.

3 · Run

Edges came from 300 prompts with 16 random probes each. The null drew 1,000 rewirings, the intervals used 1,000 bootstrap samples, and the whole run took 545 seconds on an M3 Pro laptop.

4 · Test

Each prediction was tested one-sided at α = 0.025, a Bonferroni correction over the two. The failure criteria were copied verbatim from Table 2.

5 · Verdict

Both predictions failed. The verdict cards below record the numbers.

PREREG.mdFail · Fail
Nodes144 attention heads of GPT-2 small
EdgesECab, direct-path block Jacobian, head output to head output
Prompts300 IOI prompts, 15 templates; 300 disjoint held out
Thresholdtop 10% of 9,504 pairs (950 edges); 5%, 20% report-only
Null1,000 rewirings keeping degrees, layer-pair counts, layer order
Targetheld-out logit difference; head importance by patching
SHA-256
Run300 × 16 probes · 1,000 nulls · 1,000 bootstraps · 545 s
TestsH1 rich club, H2 modularity · one-sided α = 0.025
VerdictH1 fail · H2 fail
The prompts · indirect-object identification

15 templates, filled with names, places and objects that are single GPT-2 tokens. Half the prompts name the indirect object first (ABBA), half the subject first (BABA). The model should continue with the indirect object, and the corrupted run replaces all three names with unrelated ones (ABC).

Clean

Corrupted

All 15 templates

    Examples are drawn in your browser from the script's own templates and word lists, the same way the generator builds them. They are not the specific 600 prompts of the run, which were seeded, 300 for edges and 300 held out.

    The rich club was exactly as rich as chance, with a normalised coefficient of 1.00. Its 25 heads shared one member with the 25 heads that matter most for the held-out logit difference. The communities found in the graph did not line up with the seven known classes of IOI heads. As a check on the proxy itself, gradient edges agreed only weakly with path patching.

    H1a · Rich club
    Φnorm = 1.00
    95% CI [0.97, 1.00] · null p = 1.0
    Fails if Φnorm(k) ≤ 1.
    Fail
    H1b · Club ∩ important
    1 of 25
    hypergeometric p = 0.99
    Fails if overlap with the top-25 heads for held-out logit difference is random-level.
    Fail
    H2 · Modularity
    AMI = −0.02
    permutation p = 0.57 · 31 communities
    Fails if alignment with the 7 labelled head classes is random-level.
    Fail
    Edge check · descriptive
    ρ = 0.38
    Spearman, 20 edges · CI [0.36, 0.45]
    Gradient edges agree only weakly with finite path patching.
    Weak
    PREREG.md · SHA-256· recorded before the run, verified at launch
    Null playground · live demonstration, not a result

    Runs the pre-registered swap procedure 50 times in your browser, on the real edges at the density chosen in the graph at the top. The verdict comes from the stored run of 1,000 rewirings, marked by the lines.

    Post hocNot pre-registered

    Why it failed. The edges measured scale, and the null had no room to move.

    We found the reasons below after the test, so they are not part of it. They are the paper's warning in concrete form.

    The raw Jacobian is dominated by the output scale of early heads. Mean EC is 161 for edges that leave layer 0, 102 for layer 1, and between 5 and 8 for every later layer. So 927 of the 950 retained edges leave layers 0 and 1, all 25 club heads sit in layers 0, 1 and 3, and the club is a set of whole early layers.

    That is where the null runs out of room. Our null keeps each head's degree inside every layer pair, which for a club made of whole layers also fixes the number of edges inside the club. Every null graph reproduced the observed coefficient, and the test had no power. Try it in the graph at the top of the page.

    Mean EC by source layer

    The unnormalised Jacobian is dominated by the output scale of early heads, so 927 of the 950 retained edges leave layers 0 and 1, and all 25 club heads lie in layers 0, 1 and 3.

    Move the threshold
    5%10%20%

    Bars show the AMI between detected communities and the 7 labelled head classes, and the dashed tick marks the permutation 97.5th percentile. The slider also moves the graph at the top.

    Threshold sensitivity

    Modularity passes at 20% density (AMI 0.18, p = 0.02). The pre-registration lists 5% and 20% as report-only checks, so we do not count this as support. The contract exists to expose exactly this threshold dependence.

    The example shows one contract failing, and it says nothing yet about the translations themselves. A next test would pre-register a scale-normalised edge and a null that keeps only the global degree sequence and layer order. That would be a new pre-registration, with no re-analysis of this one.

    08Scope

    What this does and doesn't show

    This is a position and methodology paper with one experiment. The contracts and translations were tested once, on one small model and one task, and the test failed.

    It shows
    • How much the edge construction and the null model decide. On GPT-2 small they left the test with no power (try the null).
    • A contract and eight translations, each with a stated failure criterion, written so that others can run them.
    • That a failed test can be reported in full, with the pre-registration, the script and all results available.
    It does not show
    • That any translation holds or fails in general. One model, one task, one test (the worked example).
    • That neuroscience results transfer to transformers. Transformers are fully observable, discrete and engineered, and brains are partly observable, continuous and biologically constrained.
    • That the Jacobian proxy is causal. It is a sensitivity measure (compare with patching), and dense attention can make some efficiency statistics trivial.
    Next

    A positive result would need a scale-normalised edge, a null with enough freedom to move the statistic, and replication across models and tasks. Small-world scaling against architecture-preserving nulls is still untested, and so is a comparison of connectivity from patching with connectivity from activations.

    The main risk is the number of free choices. Graph construction, thresholding, symmetrisation, prompt selection and the null can each change the answer. A useful report shows threshold sensitivity, separates signed from unsigned effects, controls for density, and keeps discovery apart from validation. Without these controls the import adds vocabulary and no explanatory pressure.