Stage 4: the depth lead, re-tested on unseen goals

4.5. Stage 4: the depth lead, re-tested on unseen goals#

Stage 1a (Stage 1: the same tests after more training) trained the matched 0.6B pair longer than E3 and found a one-seed lead: with a random number of loops in training, ARLoop’s adapter made more valid proof steps with more loops, PreNorm’s did not, and the registered test missed after Holm correction. A lead is not a result. Stage 4 tests it once, as registered before any run (experiments/e3_pair/PROTOCOL-confirm.md): more seeds, and the test split of latent’s Campaign 4, sealed until then and opened exactly once.

4.5.1. The design#

  • Bases, arms, recipe: ARLoop-0.6B and PreNormLoop-0.6B; arms native3 (every update at \(R = 3\)) and random124 (\(R\) drawn from \(\{1, 2, 4\}\) per update, latent’s rule); Stage 1a’s recipe with the cosine schedule to 4,096 updates and no checkpoint selection.

  • Seeds 11, 29 and 47. Seed 11 reuses the four Stage 1a adapters unchanged; seeds 29 and 47 are new trainings.

  • The test split, opened once: latent’s own test targets, 48 by its pinned plan, and a single-step roster of up to 256 rows: latent’s 128 test validation rows plus 16 rows per stratum drawn by a rule fixed in the protocol, or all eligible rows where a stratum has fewer. One CPU job opened it, only after all twelve adapters existed and their development records were written.

  • Evaluation, as in E3: the same harness and checker. Primary cells: random124 at \(R = 1\) and \(R = 4\), native3 at \(R = 3\), each with proofs and single steps; secondary cells as the queue allowed.

4.5.2. The registered rules#

Paired units: (seed, roster row) for single steps and (seed, target) for proofs, pooled over the seeds; exact two-sided McNemar tests; Holm over the primary family, P1 and P3.

  • P1, more loops help ARLoop (the 1a lead): ARLoop’s random124 adapters, valid single steps at \(R = 4\) against \(R = 1\). “More loops help ARLoop” if the Holm-adjusted p is below 0.05, the pooled difference is positive and at least two of the three seeds agree.

  • P3, the pair at its trained depth: native3 at \(R = 3\), accepted test proofs, ARLoop against PreNorm.

  • P2 (secondary), the design contrast: ARLoop’s gain from \(R = 1\) to \(R = 4\) minus PreNorm’s, with a paired bootstrap interval over roster rows within seeds; “ARLoop gains more” if the interval lies above 0.

  • Further secondaries: PreNorm’s own depth effect (S1), proofs at \(R = 4\) against \(R = 1\) (S2), how far the attempts get (S3), random124 against native3 at \(R = 4\) (S4), per-seed tables (S5).

4.5.3. Results#

Runs. 47 jobs on WMI, 45 completed with exit code 0 and 2 ended otherwise (named in the re-check note), 69.6 GPU-hours (12.0 of them one job held until its time limit); seeds 11, 29, 47; 48 test targets and a 224-row roster (128 of latent’s validation rows plus 96 drawn; 2 of the 8 strata had no eligible row). Measured: native3 at R = 3 and 4; random124 at R = 1, 2, 3 and 4. [exp]

The registered tests (P1: rows valid only at R = 4 / only at R = 1; P3: targets proved only by ARLoop / only by PreNorm):

test

discordant

paired units

exact McNemar p

Holm p

seeds

verdict

P1, more loops help ARLoop

64 / 1

672

3.6 × 10⁻¹⁸

7.2 × 10⁻¹⁸

3 of 3 for R = 4

more loops help ARLoop

P3, the pair at R = 3

4 / 5

144

1

1

ARLoop 0, PreNorm 1

no detectable difference

S1, PreNorm’s depth effect

51 / 17

672

4.5 × 10⁻⁵

–

3 of 3 for R = 4

reported

P2, the design contrast (secondary): ARLoop’s gain from R = 1 to R = 4 minus PreNorm’s, +4.32 points [+1.19, +7.44] over 672 units: ARLoop gains more from loops than PreNorm. [exp]

Per seed (primary cells; accepted proofs · valid single steps; test of 48 targets and 224 rows, development split as in Stage 1a):

base

arm

R

seed

test

development

ARLoop

native3

3

11

2 · 219

4 · 63

ARLoop

native3

3

29

3 · 218

3 · 62

ARLoop

native3

3

47

3 · 215

4 · 61

ARLoop

random124

1

11

0 · 198

0 · 55

ARLoop

random124

1

29

1 · 196

0 · 53

ARLoop

random124

1

47

0 · 200

0 · 54

ARLoop

random124

4

11

1 · 218

3 · 61

ARLoop

random124

4

29

2 · 220

4 · 62

ARLoop

random124

4

47

1 · 219

4 · 61

PreNorm

native3

3

11

3 · 219

3 · 62

PreNorm

native3

3

29

3 · 216

2 · 63

PreNorm

native3

3

47

3 · 220

4 · 63

PreNorm

random124

1

11

0 · 166

0 · 49

PreNorm

random124

1

29

0 · 156

0 · 49

PreNorm

random124

1

47

0 · 162

0 · 49

PreNorm

random124

4

11

0 · 179

0 · 51

PreNorm

random124

4

29

0 · 169

0 · 51

PreNorm

random124

4

47

0 · 170

0 · 50

Hide code cell source

if ready:
    P = lib.PALETTE
    HUE = {"arloop": P["ar"], "prenorm": P["pn"]}
    xs = sorted({r["R"] for r in S4J["S5"] if r["arm"] == "random124"})
    k = len(SEEDS)
    fig, axes = lib.figure(1, 2, figsize=(7.5, 3.4))
    for ax, (key, title, f) in zip(axes, (("test_valid", f"invalid single steps (of {N} rows × {k} seeds)",
                                           lambda v: k * N - v),
                                          ("test_accepted", f"proofs (of {T} targets × {k} seeds)", lambda v: v))):
        lib.style(ax)
        for b in BASES:
            ys = [f(sum(r[key] for r in S4J["S5"] if r["base"] == b and r["arm"] == "random124" and r["R"] == R)) for R in xs]
            ax.plot(xs, ys, color=HUE[b], lw=2, marker="o", ms=5, mec=P["paper"], mew=1.5, label=NAME[b])
        ax.set_title(title, fontsize=10)
        ax.set_xticks(xs)
        ax.set_xlabel("loops R at test time")
        ax.set_ylim(bottom=0)
    axes[0].legend(frameon=False, fontsize=8, labelcolor=P["ink"])
    fig.tight_layout()
    plt.show()
    lib.md("*The `random124` adapters (trained with a random number of loops) on the test split, pooled over the seeds, "
           "against the number of loops at test time. From `runs/s4/s4.json`.*")
../_images/9f552914c94528ed5ecbdf80ee78d21dcf54091c99cc39603ff947c4847564f3.png

The random124 adapters (trained with a random number of loops) on the test split, pooled over the seeds, against the number of loops at test time. From runs/s4/s4.json.

More loops help ARLoop on unseen goals. Its random-depth adapters are valid on 64 roster rows only at R = 4 against 1 only at R = 1 (+9.38 points); 3 of 3 seeds agree. Stage 1a’s lead is confirmed, as registered: a result of looping within a model (sense 1), for ARLoop. [exp]

At the trained depth, no detectable difference in test proofs (4 targets only by ARLoop against 5 only by PreNorm); with so few proofs a difference of a few targets is not excluded.

How far the attempts get (S3, k.e3-rollouts): measured in 4 of 4 cells; supported: no (the rule needs ARLoop’s attempts longer in all four cells, each at Holm p < 0.05).

Independent re-check

runs/s4/referee.md. A separate script recounted every evaluated cell from the raw per-target and per-row records and recomputed P1, P3, P2’s mean and the secondaries: 0 disagreements. Another replayed every recorded test attempt with the admitted checker: 1,728 attempts, 34 kernel-checked QEDs, exactly the 34 accepted proofs.

Limits. Three seeds of one recipe, one model size and one corpus. A null result bounds what three seeds can detect; it is not evidence that no effect exists. The test split of Campaign 4 is now used: it cannot serve another confirmatory test of these questions.