The latent programme in one page

5. The latent programme in one page#

latent is the sibling project this talk comes from: recurrent depth for checked proofs in Heyting and Peano arithmetic. Its results are recorded as nodes of the research map in labyrinth/knowledge.json. This page is generated from that file while the book is built, so it says what the map says, in the notation and typography of these notes (\(R\) for the number of loops, which the map writes \(r\) for the canary and \(L\) for E3); the review notes of the statuses are put in plain words, and where a statement is made more exact than the map’s wording, the end of the page says so.

latent programme (nasqret/latent). Our recurrent-depth programme: retrofitted Qwen3-1.7B + LoRA and tiny canary models, checked Heyting/Peano proofs.

5.1. What latent established#

node

finding

what was measured

status

l.c7forced

Retrofitted Qwen: a second pass is seed-dependent

Campaign 7 forced depth, adaptive checkpoints, depth 1/2/4: 129/141/124 of 192; 1 → 2 changes −6, +5, +13 across seeds.

established in latent (independently re-checked)

l.gate

Learned stopping collapsed to one pass

At 8,192 updates all 96,127 adaptive token decisions used one pass (Campaign 7).

established in latent (independently re-checked)

l.canary

Canary: recurrence beyond two steps did not help

Job 284986: iid out of 70: recurrent R = 1: 12, R ≥ 2: 10, parameter-matched 7, depth-matched 8; ood_depth 0/128 for all.

established in latent (independently re-checked)

Dead ends. A theorem-level second-pass gate: A learned gate deciding per theorem whether to run a second pass did not beat always running one pass (128 vs 131 of 192 at equal time). Lesson: With retrofitted recurrence the second pass is not reliably useful; a gate cannot select gains that are not there.

Best measured result in the latent regime (labyrinth/sota.json): retrofitted Qwen3-1.7B, checked Heyting-arithmetic (HA) proofs, 192 fresh theorems: fixed depth one 131/192 at equal time (gate 128, depth two 113, vanilla 122). Status: established in latent (independently re-checked).

The two Campaign 7 lines measure different things: the row l.c7forced forces the number of passes for every theorem (with adaptive checkpoints), while the best-result line compares methods at equal wall-clock time on fresh theorems, so their depth-two numbers differ.

5.2. The question it hands to ARLoop#

latent found that extra passes of a retrofitted recurrent model rarely helped checked proofs, and that learned stopping collapsed to a single pass. ARLoop claims that the residual design affects how much later passes are used. The map turns this into open questions and hunches. The hunches are speculation, never claims: tier T6, the lowest of the project’s evidence scale (Our tests).

question

status

test

answer

q.canary

Do attention-residual loops change the canary?

answered

E2

No detectable gain at canary scale: all ARLoop-style arms below latent-recurrent on iid (not significant); ood_depth 0 everywhere; latent-recurrent reproduces job 284986 exactly (e2.canary).

q.proofs

Does ARLoop’s residual raise checked-proof acceptance?

open

Stage 1a done and re-checked: off the floor (4/32 ARLoop, 3/32 PreNorm at R = 3 after 4,096 updates); the depth effect is not established (Holm p = 0.0625). Stage 4, the confirmatory run on the sealed test split of latent’s Campaign 4, is running (pending re-check).

–

q.embedding

Does ARLoop learn input injection for free?

answered

E1.4

Partly: the embedding receives 13–16% of the softmax mass (up to 24% at loop starts) but contributes only 2.3–3.4% of the mixture by norm-weighted share, because values are mixed before normalisation and ‖h₀‖ is small (e1.routing).

q.extrap

Do the released models gain from R > 3?

answered

E1.3

–

q.pairgsm8k

Does the +5.2 GSM8K gap reproduce?

answered

E1.1

Yes, with BOS as the authors evaluate: +5.16 points [+2.65, +7.66], McNemar p = 6.5 × 10⁻⁵ (e1.pair); absolute levels about 1.9 points below the paper for both models (HF backend vs vLLM). Without BOS the gap is +2.20 points [−0.45, +4.85], p = 0.12, inconclusive (e1.bos, F9).

hunch (T6)

statement

status

h.window-injection

The window is the injection

Because the embedding stays in every window, ARLoop may not need input injection: the embedding source plays its role.

dropped

h.untying

Part of the gain is untying

Depth-specific routing vectors make ARLoop partly untied; tying them may lose some of the gain but buys extrapolation.

live

h.proof-reuse

Proof search wants retrieval across depth

Choosing the next tactic needs earlier goal structure more than deeper computation; selective depth access could help where PreNorm overwrites.

live

h.skip-loops

Depth attention makes extra loops cheap to ignore, not useful

ARLoop’s read-out can down-weight a loop whose output it does not recognise (E1 probe at R = 4), which PreNorm cannot. That buys robustness to one extra loop (under the cycle rule; under repeat R = 4 still loses), not extrapolation: none of the R > 3 cells gains. Stage 1c trained loop 4’s routing with the read-out frozen: no gain, and the read-out kept routing around loop 4 (s1c.loop4). Training the whole model at depth is Stage 2 (running).

live

Answered so far:

  • e2.canary: Lean-checked addition certificates, 3 seeds, 1,000 updates, width 64: iid accepted out of 105 at R = 4: latent-recurrent 14, prenorm-loop 7, arloop-untied 10, arloop-tied 9; no primary comparison meets the pre-registered effect rule (all point estimates negative, intervals contain 0); ood_depth 0/192 for every arm; tied queries identical at R = 4 and R = 16. Status: established (independently re-checked).

  • e1.routing: R = 3, 64 GSM8K prompts: matched-position blocks across loops have cosine 0.82–0.95 (first halves) and 0.80 (second halves); block norms alternate ≈55–70 vs ≈7; the embedding gets 13–16% of the softmax mass per loop but only 2.3–3.4% norm-weighted (‖h₀‖ = 1.3); read-out 93.5% on the last partial block. Status: measured (descriptive, not independently re-checked).

  • e1.pair: GSM8K 5-shot CoT, all 1,319 items, BOS as in the authors’ evaluation, HF backend: ARLoop-0.6B 38.97% vs PreNormLoop-0.6B 33.81%, paired difference +5.16 points, 95% bootstrap interval [+2.65, +7.66], exact McNemar p = 6.5 × 10⁻⁵ (176 vs 108 discordant items). Paper: 40.9 vs 35.7 (+5.2). A repeat run of PreNormLoop-0.6B with the same settings gave 1,319/1,319 identical generations. Status: established (independently re-checked).

  • s1b.canary-long: Stage 1b (E2 unchanged but 10,000 and 30,000 updates): primary comparisons with a candidate effect 0 of 6 (10k) and 0 of 6 (30k); within-arm R = 16 against R = 4 on iid 0 of 4 and 0 of 4; ood_depth accepted: 0 at both lengths. In-distribution accuracy rises with training in every arm, depth never helps, and no new arm (the PreNorm loop or either ARLoop arm) beats latent’s decoder. Status: established (independently re-checked).

  • s1c.loop4: ARLoop-0.6B, loop 4’s routing trained on 0.1B tokens of FineMath-4+ with everything else frozen, against the same training of loop 3’s routing at R = 3: GSM8K L4 vs C3 −0.61 points [−2.20, +1.06], effective-vector pair L4e vs C3e −0.38 [−2.05, +1.36]; neither passes. The frozen read-out keeps about 93% of its weight on loop 3’s last block (loop 4: 3.3% and 4.6% after training). WikiText at R = 4 improves to the level of R = 3, not beyond. Status: established (independently re-checked).

  • s1a.ladder: Stage 1a (E3’s harness, 4,096 instead of 512 LoRA updates, seed 11, dev split). Off the floor: native3 at R = 3 accepts 4/32 (ARLoop) and 3/32 (PreNorm). Rule 2 (random124, step validity at R = 4 against R = 1 on the 64-row roster): ARLoop 61 vs 55, discordant 6/0, Holm p = 0.0625; PreNorm 51 vs 49, Holm p = 0.5: not established. Descriptively, at R = 1, 2, 3, 4: ARLoop random124 proofs 0, 2, 3, 3, dev CE 0.281, 0.242, 0.235, 0.233; PreNorm random124 proofs 0, 0, 0, 0, dev CE 0.334, 0.330, 0.342, 0.345. All 30 accepted proofs replay to a kernel-checked QED with the admitted checker. Status: established (independently re-checked).

The full research map, with every planned test cell of E1–E3 marked as established, contradicted or still open, is not published; a slide near the end of the talk summarises it: how many statements of each kind it holds, and the state of every test cell.