ARLoop (Yao, Du, Zhu, Sun, arXiv:2611.05234) — a digest#
Source: Yuekun Yao, Yupei Du, Dawei Zhu, Huan Sun, “ARLoop: Fully-Open Pre-trained Looped Transformers with Attention Residuals”, arXiv:2611.05234v1, cs.CL, submitted 2026-11-03, 26 pp. (version followed: v1). This digest is the single source of truth for the notes, the slides and the landing page. Tags: [paper] taken from the paper, not re-checked; [code] read and checked in the released code or checkpoints (file and line given); [exp] re-measured by us (run directory given); [num] a small numerical check. Formulas are transcribed from the LaTeX.
0. The result in three lines#
In a looped transformer the residual stream is the only memory that carries information from one pass to the next, and PreNorm adds every update to it with weight 1. ARLoop replaces this fixed sum by softmax attention over depth (Kimi’s Attention Residuals) and finds that, for loops, a sliding window (embedding + 3 most recent residual blocks) is enough. [paper]
Controlled 140M/370M runs: lowest validation perplexity among six residual designs at every recurrence tried; at 0.6B (180B tokens, R = 3) it beats a matched PreNorm loop on 7 of 8 benchmarks (GSM8K 40.9 vs 35.7); a 1.2B model (0.5T tokens) beats Huginn-3.5B on all 8. [paper]
It does not make loops extrapolate: performance rises up to the trained recurrence and not beyond, even with depth queries trained for the new depths. [paper]
1. Background#
question |
what was known before |
reference (as cited in the paper) |
|---|---|---|
Can shared layers be reused for depth? |
Universal Transformer; looped transformers; latent-thought theory |
Dehghani 2019; Yang 2024; Saunshi 2025 |
Looped LLMs at scale |
Huginn-3.5B (random recurrence, up to 64 steps, 0.8T tokens); Ouro (4 loops, 7.7T tokens) |
Geiping 2025; Zhu 2025 |
Stabilising the loop’s residual |
Sandwich norm; DeepLoop (DeepNorm with exponent 1/2); Parcae (decaying diagonal transition + input injection); Hyperloop |
Geiping 2025; Li 2026; Prairie 2026; Zeitoun 2026 |
Residual as attention over depth |
Attention Residuals (AttnRes) and Block AttnRes for standard LLMs; sliding windows hurt there |
Kimi Team, arXiv:2603.15031 |
Why it matters to us: our latent programme found that extra passes of a retrofitted recurrent
Qwen rarely helped checked proofs, and that learned stopping collapsed to one pass. ARLoop claims
that the residual design affects how much later passes are used. That is testable on our tasks.
2. Setup and notation (§3.1)#
Sublayer \(i\) (attention or FFN), PreNorm residual, \(L\) layers = \(2L\) sublayers:
Looped transformer: the whole stack \(\mathcal S = \mathcal F_{2L}\circ\dots\circ\mathcal F_1\) is applied \(R\) times, \(y = \operatorname{LMHead}\circ\mathcal S^{(R)}\circ\dots\circ\mathcal S^{(1)}(h_0)\), effective depth \(2LR\) sublayers with \(2L\) distinct ones. Unrolling (1): \(h_i = h_0 + \sum_{j\le i} f_j(\operatorname{Norm}(h_{j-1}))\), every update enters every later state with coefficient 1.
Attention residuals (eq. 2–3): with \(z_0 := h_0\) and \(z_j = f_j(\operatorname{Norm}(h_{j-1}))\),
with a learned query \(q_i\) for each effective sublayer. Block version (eq. 4): blocks of \(S\) consecutive sublayers, \(b_k = \sum_{j=(k-1)S+1}^{kS} z_j\); inside a block updates add as in PreNorm, across blocks attention decides. Sliding window: sources \(\{b_0, b_{\max(1,m-W+1)},\dots,b_m\}\), the embedding always kept; default for \(R>2\), with \(W = 3\).
The released 0.6B models, as configured [code: HF config.json of both repos;
modeling_arloop.py l. 112–116, 131–148, 191–206]: 18 physical layers, loop_count 3, hence 54
effective layers = 108 sublayers; attnres_block_size 18 sublayers = 9 layers, so a block is
committed at effective layers 9, 18, 27, 36, 45 (two per loop): two blocks per loop, and the sixth block is never committed (it stays the partial block that the final query reads); sw_blocks 3. The routing
parameters are attnres_queries (108 × 1536), 108 per-sublayer RMSNorms and a final query and
norm: \(218 \times 1536 = 334{,}848\) parameters, exactly the difference between ARLoop-0.6B
(583,138,944) and PreNormLoop-0.6B (582,804,096) [code + num: HF API parameter counts]; the
shared backbone (582,804,096) and the 1.2B backbone (1,208,061,440) are reproduced exactly from the
configs and the module list [num, computed in the notes]. In the
score \(q_i^\top \operatorname{Norm}(z_j)\) the per-sublayer norm weight \(g_i\) only appears in the product
\(q_i\odot g_i\) (l. 139–140): one effective routing vector per sublayer. ARLoop-1.2B
[code: its config.json at a29f310a]: 24 layers × 3 loops = 72 effective layers = 144 sublayers,
block size 24 sublayers (two blocks per loop), window 3; routing parameters \(290 \times 2048 =
593{,}920\) [num]. The output of the routing is
normalised with the shared block norm (attn_norm/mlp_norm), l. 145–147.
Worked example (0.6B, first sublayer of loop 3 = effective layer 36). Before this sublayer the
partial block holds layers 27–35. The attention sublayer reads \(\{b_0, b_2, b_3, \text{partial}\}\)
(window 3 + embedding; \(b_1\) has dropped out), then the partial is committed as \(b_4\). Note that
in the code the first block starts from the embedding: blocks = [h0], partial = h0, so
\(b_1 = h_0 + \sum_{j\le 18} z_j\) (finding F6).
The FFN sublayer of the same layer reads \(\{b_0, b_3, b_4, \text{partial} = z_{\text{attn},36}\}\).
3. Claim C1 — ARLoop has the lowest perplexity among residual designs (§4.1, Tab. 1) [paper]#
Validation perplexity (10M FineWeb-Edu tokens; by App. A.1, 4,096 sequences of 2,048 tokens = 8.4M [num]), fixed-R training; learning rate swept for PreNorm and Sandwich-Norm only, ARLoop and Parcae reuse PreNorm’s rate and DeepLoop reuses Sandwich-Norm’s (App. A.1):
model |
140M R=1 |
R=3 |
R=5 |
370M R=1 |
R=3 |
|---|---|---|---|---|---|
Sandwich-Norm |
18.98 |
17.19 |
16.59 |
13.92 |
12.97 |
DeepLoop |
18.72 |
17.05 |
16.52 |
13.69 |
12.78 |
Parcae w/o injection |
18.37 |
16.60 |
16.01 |
13.55 |
12.31 |
Parcae with injection |
18.37 |
16.55 |
15.96 |
13.55 |
12.30 |
PreNormLoop |
18.37 |
16.91 |
16.34 |
13.55 |
12.48 |
ARLoop |
18.26 |
16.38 |
15.84 |
13.32 |
12.17 |
Gain over PreNormLoop at 140M: −0.11 (R=1), −0.53 (R=3), −0.50 (R=5); at 370M: −0.23 (R=1), −0.31 (R=3) [num, from the table]. The paper’s “larger gains at deeper recurrences” holds against R=1 but is not monotone (finding F7). One number per cell: the paper states no seed count and no repeat runs, and reports no intervals. Not re-run by us (≈12k GPU-h for the controlled study, App. F).
4. Claim C2 — a sliding window is enough for loops (§4.1, Tab. 2) [paper]#
scale |
R |
PPL PreNorm |
full history |
window |
downstream PreNorm |
full |
window |
|---|---|---|---|---|---|---|---|
140M |
2 |
17.48 |
17.27 |
17.30 |
42.22 |
41.96 |
42.27 |
140M |
3 |
16.91 |
16.46 |
16.38 |
42.72 |
43.69 |
43.09 |
140M |
4 |
16.59 |
16.07 |
16.03 |
43.27 |
44.09 |
43.73 |
370M |
2 |
12.83 |
12.68 |
12.55 |
48.98 |
48.70 |
49.25 |
370M |
3 |
12.48 |
12.27 |
12.17 |
49.29 |
50.23 |
50.67 |
370M |
4 |
12.27 |
12.01 |
11.99 |
50.19 |
50.93 |
50.76 |
Read row by row [num]: the window has the lower perplexity in 5 of 6 rows but the higher downstream average in only 3 of 6; full history wins both R=4 downstream rows. Explanation offered: depth attention is local (at sublayer 47 of the 140M R=4 full-history model, the 3 most recent blocks + embedding get 96% of the mass) and residual blocks across loops are highly similar; in an untied stack of the same depth they are not, and the window hurts there (App. A.5, Tab. 9). Condition [paper: App. A.3, Tab. 7, and App. A.1; finding F11]: the window’s edge needs value residuals. Without them (140M, R = 3) the sliding window reaches 18.20, no better than PreNorm’s 18.19, while full history keeps a lead (17.52); App. A.1 says so itself: “removing value residuals substantially degrades our sliding-window depth-attention variant”. → E1.4 measures the routing of the released 0.6B model:
E1.4 [exp] (ARLoop-0.6B, R = 3, the first 64 GSM8K test questions, each preceded by the
beginning-of-sequence token BOS; job 322150, runs/e1/routing/ar06-R3/routing.json):
Redundancy across loops, at matched positions. Mean per-token cosine between residual blocks: first-half blocks \(b_1, b_3, b_5\): 0.95 (\(b_1b_3\)), 0.93 (\(b_3b_5\)), 0.82 (\(b_1b_5\)); second-half blocks \(b_2, b_4\): 0.80; first vs second halves 0.0–0.1. This supports the paper’s redundancy explanation (it showed the similarity for its full-history models: 140M, R = 4 in Fig. 3; 140M, R = 3 and 370M, R = 3 and 4 in App. A, Fig. 5).
Norms alternate: \(\|b_1\|, \|b_3\|, \|b_5\| = 69.8, 61.3, 55.2\); \(\|b_2\|, \|b_4\|, \|b_6\| = 7.7, 6.6, 6.8\); \(\|h_0\| = 1.3\) (mean token norms).
Embedding source: mean softmax weight 0.143 / 0.162 / 0.131 in loops 1 / 2 / 3 (loop 1 without the inert sublayer 0, F8; 0.185 and 0.241 at the first sublayers of loops 2 and 3), but because values are mixed before normalisation and \(\|h_0\|\) is small, its norm-weighted share \(\alpha_j\|v_j\| / \sum_k \alpha_k\|v_k\|\) is only 0.034 / 0.031 / 0.023 (0.006 and 0.014 at those loop starts). Softmax weights overstate the embedding’s role about fivefold; the window does not act as a strong input injection.
Read-out: 0.935 of the final softmax mass (0.897 norm-weighted) is on the last partial block. PreNormLoop-0.6B for comparison: loop-output norms 7.0, 7.4, 16.4; cosine between consecutive loop outputs 0.87 (1→2) and 0.36 (2→3).
5. Claim C3 — the gains transfer to realistic pretraining (§5, Tab. 3) [paper]#
SmolLM-style 3-stage recipe (FineWeb-Edu, FineMath, Stack-Edu, …; stage boundaries at 60% and
80%), GQA + SwiGLU, context 4,096. lm-eval 0.4.12 (vLLM backend), BF16, greedy ≤ 1,024 new tokens,
no chat template; GSM8K = gsm8k_cot 5-shot flexible-extract [paper: App. B, Tab. 13; code: lm_eval_tasks/arloop_largescale/arloop_largescale.yaml l. 15–16, pyproject.toml l. 41, README.md l. 144 (vLLM), scripts/evaluate/evaluate_all_benchmarks_vllm.py l. 19–24].
model |
loops |
FLOPs (1e21) |
tokens (T) |
ARC-C |
Hella |
Wino |
OBQA |
GSM8K |
MATH |
MBPP |
HumanEval |
|---|---|---|---|---|---|---|---|---|---|---|---|
Qwen3.5-2B |
– |
432 |
36 |
54.3 |
67.5 |
66.4 |
37.8 |
60.6 |
35.8 |
49.5 |
32.9 |
Ouro-1.4B |
4 |
259 |
7.7 |
59.9 |
74.4 |
70.5 |
41.4 |
78.2 |
70.5 |
68.3 |
52.4 |
Huginn-3.5B |
32 |
127 |
0.8 |
44.2 |
68.0 |
62.4 |
40.0 |
26.1 |
14.1 |
33.3 |
20.7 |
PreNormLoop-0.6B |
3 |
2 |
0.18 |
46.3 |
60.6 |
61.2 |
39.8 |
35.7 |
20.9 |
33.1 |
17.6 |
ARLoop-0.6B |
3 |
2 |
0.18 |
45.5 |
62.5 |
61.8 |
40.8 |
40.9 |
26.3 |
36.2 |
20.1 |
ARLoop-1.2B |
3 |
10 |
0.5 |
56.3 |
71.5 |
66.8 |
45.5 |
63.1 |
37.8 |
52.1 |
33.1 |
(Gemma 3-4B, OLMo 2-7B, OLMo 3-7B and Huginn at 0.18T omitted here; see the LaTeX table.) Single checkpoints, no intervals. Ouro-1.4B (open weights, not open data) is ahead on 7 of 8 tasks; the paper attributes this to data. → E1.1/E1.2 re-measure GSM8K for the pair and 1.2B:
E1.1 [exp] (gsm8k_cot 5-shot, 1,319 items, BOS prepended as in the authors’ evaluation, HF
backend, batch 64, RTX PRO 6000; job 322183): ARLoop-0.6B 38.97%, 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). The paper’s gap (+5.2) is reproduced; both absolute
levels are about 1.9 points lower than the paper’s numbers (produced with vLLM, according to the released README). A second run of PreNormLoop-0.6B
with the same settings gave identical generations on all 1,319 items.
BOS control [exp] (independently re-checked; the no-BOS ARLoop-0.6B run was repeated from a frozen code snapshot, job 322258, with generations identical to those of job 322150 on 1,319/1,319 items):
Without BOS: ARLoop-0.6B 38.44%, PreNormLoop-0.6B 36.24%, difference +2.20 points [−0.45, +4.85], p = 0.12, so the decision rule of E1.1 gives inconclusive.
BOS moves PreNormLoop-0.6B by −2.43 points [−4.02, −0.76], p = 0.0052 and ARLoop-0.6B by +0.53 points [−1.06, +2.12], p = 0.56.
The size of the pair gap depends on the BOS choice (F9).
E1.2 [exp] (job 322186): ARLoop-1.2B 63.0% (paper 63.1%).
6. Claim C4 — later loops contribute more in ARLoop (§5.1, Fig. 4; App. C) [paper]#
Layer-effect metric of Csordás et al. on 50 MATH items: layers of loops 2–3 change later representations more in ARLoop-0.6B than in PreNormLoop-0.6B. Optional re-check (E1.5).
7. Claim C5 — fixed recurrence beats Poisson-sampled recurrence at R = 4 (§6, App. D.1) [paper]#
140M: PPL 16.07 (fixed) vs 16.69 (per-sequence Poisson) vs 16.52 (per-batch); 370M: 12.01 vs
12.33 vs 12.36. Per-batch runs get more tokens to match FLOPs; fixed and per-sequence runs use the
same tokens. The clamped draw \(R=\min(4,\max(1,\tilde R))\), \(\tilde R\sim\mathrm{Poisson}(4)\), gives
\(R=4\) with probability 0.567 and mean depth 3.24 [num]. Relevant to latent, whose random-depth arm used {1, 2, 4}.
8. Claim C6 — no extrapolation beyond the trained recurrence (§6, App. D.2) [paper]#
Setting: the per-sequence Poisson full-history 140M/370M models (trained R ≤ 4), evaluated at R = 1…8; queries for unseen depths are randomly initialised and trained on 0.5B tokens with everything else frozen. PPL does not improve beyond R = 4. The released sliding-window fixed-R 0.6B/1.2B models were not swept. → E1.3 sweeps the released models under declared rules.
E1.3 [exp] (registered rules; independently re-checked, runs/e1/referee.md):
Below the trained depth all three released models collapse. GSM8K is 0.0% at R = 1 and R = 2 for both 0.6B models, and at R = 2 for ARLoop-1.2B (jobs 322184–322186; 1,319 items each). The text degenerates into repetitions (“The The The …”, recorded demo
runs/demo/recorded.txt).Above it, no gain in any cell measured. GSM8K accuracy in %, with the paired difference to R = 3 and its 95% interval:
model |
rule |
R = 3 |
R = 4 |
R = 5 |
R = 6 |
|---|---|---|---|---|---|
ARLoop-0.6B |
repeat |
38.97 |
28.58 (−10.39 [−12.96, −7.81]) |
2.81 (−36.16 [−38.97, −33.36]) |
1.74 (−37.23 [−40.03, −34.42]) |
ARLoop-0.6B |
cycle |
38.97 |
38.82 (−0.15 [−1.97, +1.67]) |
– |
– |
PreNormLoop-0.6B |
– |
33.81 |
16.15 (−17.66 [−20.39, −14.94]) |
1.67 (−32.15 [−34.72, −29.57]) |
0.61 (−33.21 [−35.86, −30.63]) |
ARLoop-1.2B |
repeat |
63.00 |
59.21 (−3.79 [−6.07, −1.52]) |
– |
– |
WikiText-2, bits per byte, no BOS, descriptive (lower is better). The minimum is at R = 3 for both 0.6B models (ar06-R3, pn06-R3).
ARLoop-0.6B: R = 1–3 2.924, 2.076, 0.725; R = 4 0.809 (repeat) and 0.732 (cycle); R = 5, 6 (repeat) 1.190, 1.575.
PreNormLoop-0.6B, R = 1–6: 2.426, 2.049, 0.738, 0.980, 1.306, 1.717.
ARLoop-1.2B at R = 3: 0.662.
With cycle, ARLoop’s R = 4 is 0.007 bits above its R = 3.
Reading. The released fixed-R models are not “anytime” models (usable at any loop count) in either direction. C6 holds for them too, under inference-only rules for the missing routing parameters (queries and norms).
Exploratory, added after R = 4 was seen; no rule. One loop past the trained depth, ARLoop-0.6B loses less than PreNormLoop-0.6B: from R = 3 to R = 4 it loses 10.39 points (repeat) or 0.15 (cycle), PreNorm 17.66.
At R = 4 ARLoop is ahead by +12.43 points (repeat) and +22.67 (cycle), both p < 10⁻¹⁸, against +5.16 at R = 3;
at R = 5 both collapse: +1.14 points, p = 0.063.
With
cycle(loop 4 reuses loop 1’s routing), R = 4 matches R = 3. Withrepeat(loop 3’s routing again), it loses 10 points.The routing probe at R = 4 (job 322259, 64 prompts; exploratory, not independently re-checked) is consistent with this. The trained read-out puts 93.4% of its softmax weight on loop 3’s last block under
cycle, against 93.5% at R = 3; loop 4’s two blocks get 3.7%: undercyclethe read-out routes around the extra loop.Under
repeat, loop 4’s last block resembles what the read-out was trained on: the two loop-4 blocks take 40.6% and loop 3’s last block 57.6%.PreNorm has no such switch, since every update enters the stream with weight 1.
Descriptive, one probe (
experiments/e1_release/routing_compare.py,runs/e1/routing/compare.json).
9. Claim C7 — cost (§6, Tab. 4) [paper]#
Same memory as PreNorm; training throughput −15% (full history) and −10% (window) at R = 4 on one H100 (0.6B: 28.9k → 25.9k tokens/s). The two percentages are the paper’s averages over the four model sizes of Tab. 4 (§6: “approximately”); recomputed from the table [num]: −15.0% and −10.8%.
10. Findings register#
F1 · wording / implicit design#
Place: §3.2; HF modeling_arloop.py l. 112–116 · Evidence: config + code + HF parameter counts
The loop is weight-tied only in its transformer blocks: routing has one query and one RMSNorm per effective sublayer (+ final), 334,848 parameters in the 0.6B model, exactly the parameter gap to PreNormLoop. The paper’s equation (§3.1, eq. 2) shows only the per-sublayer queries; its appendix (A.1, on the controlled 140M/370M models; App. B on the released models is silent) adds that the normalization parameters are per effective sublayer too, with a separate final aggregation, but never counts them [corrected on 2026-11-16: this entry first said that the paper does not mention the norms]. Consequence: the released ARLoop is undefined for more loops than trained without a rule; PreNormLoop is not.
F2 · context#
Place: §5; configs/mixed_data/0p6b_arloop_r3_180b.yaml · Evidence: config lines ≈195–240; scripts/data/sources/dolmino.py; OLMo 2 report §4.2.1
The stage-3 mixture (from 80% of training) includes Dolmino math/gsm8k (weight 1e-4) and GSM-style synthetic sets. Same for both 0.6B models, so the pair comparison is fair; comparisons with Huginn/Qwen mix architecture with data. Dolmino’s GSM8K data is GSM8K’s training split, not its test split (OLMo 2 report, arXiv:2501.00656, §4.2.1: “we include the training split of GSM8K”).
F3 · wording#
Place: Abstract · Evidence: HF API createdAt/licence, GitHub API, 2026-11-15
“Huginn-3.5B (the only fully-open looped LLM as of our release date)” is too strong: Parcae released looped LMs of 140M–1.3B (SandyResearch/parcae-*, created 2026-04-08; code sandyresearch/parcae, MIT; trained on FineWeb-Edu) and McLeish et al. released a retrofitted recurrent OLMo-2 1B (smcleish/Recurrent-OLMo-2-0425-train-recurrence-32, 2025-11-08, Apache-2.0, open data). Parcae is even a baseline in ARLoop’s Tab. 1. The claim holds only if “LLM” means a looped model pretrained from scratch on a realistic data mixture at ≥ 1B parameters: Parcae’s models are trained on FineWeb-Edu only, and McLeish et al.’s model is retrofitted from a pretrained OLMo-2.
F4 · scope#
Place: §6 vs App. D.2 · Evidence: App. D.2 text
The extrapolation conclusion rests on per-sequence Poisson full-history 140M/370M models (trained with R ≤ 4) whose queries for the unseen depths R = 5–8 are newly initialised and trained on 0.5B tokens with the rest frozen, not on the released models.
F5 · confirmed (works)#
Place: paper links · Evidence: HTTP 307 targets
ARLoop-baseline-0.6B and ARLoop-1.3B redirect to PreNormLoop-0.6B and ARLoop-1.2B.
F6 · wording#
Place: eq. (4) vs code · Evidence: loopedlm/models/arloop/fla_softmax.py l. 198–199; HF modeling_arloop.py l. 189
The first residual block is initialised with the embedding (blocks=[h0], partial=h0), so \(b_1 = h_0 + \sum_{j=1}^{S} z_j\), not \(\sum z_j\) as in eq. (4); the embedding is a source twice until \(b_1\) leaves the window: it is last read by sublayer 54 (the attention sublayer of effective layer 27) and absent from sublayer 55 on [code + exp: smoke routing probe, job 322097; corrected on 2026-11-15 after a simulation of the window schedule]. Same in training and HF code.
F7 · wording#
Place: §4.1, Tab. 1 · Evidence: Tab. 1 values (LaTeX)
“Larger gains at deeper recurrences”: the gain over PreNormLoop at 140M is −0.53 PPL at R=3 but −0.50 at R=5, so not monotone (holds against R=1, and at 370M from R=1 to 3).
F8 · wording / implicit design#
Place: code · Evidence: HF modeling_arloop.py l. 189–195; runs/e1/smoke/routing-ar/routing.json
The first routing call (sublayer 0) has nothing to read but the embedding: two copies of \(h_0\) in the code (F6), so its weights are 0.5/0.5 for any query and its output is \(h_0\) (under eq. (4) it would read \(h_0\) alone, with weight 1, equally independent of the query). Either way the query and norm of sublayer 0 (3,072 parameters) are inert and receive no gradient. Measured: exactly 0.5/0.5 at call 0 on the smoke probe. With all queries zero and no window, the routing weights are uniform, so the routed state is PreNorm’s state divided by the number of sources and, after the norm, the sublayer inputs are exactly PreNorm’s (eqs. 2–4); the code’s double-counted \(h_0\) breaks this identity.
F9 · scope (robustness)#
Place: §5, Tab. 3; evaluation script · Evidence: E1.1 and the BOS control, independently re-checked (runs/e1/referee.md)
The GSM8K gap of the pair depends on one evaluation detail. With BOS prepended (the authors’ default, which we follow): +5.16 points [+2.65, +7.66], p = 6.5 × 10⁻⁵. Without BOS: +2.20 points [−0.45, +4.85], p = 0.12. BOS lowers PreNormLoop-0.6B (−2.43 points [−4.02, −0.76], p = 0.0052) and has no detectable effect on ARLoop-0.6B (+0.53 points [−1.06, +2.12], p = 0.56). The paper evaluates every model the same way, so its table is consistent, but the gap’s size is not robust to this choice; no BOS sensitivity is reported.
F10 · implicit design#
Place: §3.1 eq. (2), App. A.1; HF modeling_arloop.py l. 139; checkpoints · Evidence: safetensors read directly; independently re-checked (runs/f10/referee.md)
Each sublayer’s routing query \(q\) and routing-norm weight \(g\) act only through their product \(e = q \odot g\), and in the released checkpoints \(\lvert q\rvert = \lvert g\rvert\) coordinate by coordinate (ARLoop-0.6B: exactly on 161,791 of 165,888 coordinates, otherwise within 5.1 × 10⁻¹²). The magnitudes are bimodal, and on 99,053 coordinates (59.7%) the product underflows to exactly 0 in float32: the routing scores use, on average, 40% of the hidden dimensions (loop 1: 27%, loop 3: 49%). ARLoop-1.2B is alike (67.6% zero). The paper’s equation has one query per sublayer and its appendix names per-sublayer normalization parameters, but it says neither that the two act only as a product nor that the product is mostly zero.
F11 · scope#
Place: §4.1 vs App. A.1, A.3 (Tab. 7) · Evidence: App. A.1 l. 19, A.3 Tab. 7; main text searched
The main text presents the sliding window as enough for loops (C2) and never mentions value residuals; the appendix shows the window’s edge depends on them. App. A.1: “removing value residuals substantially degrades our sliding-window depth-attention variant”; Tab. 7 (140M, R = 3, without value residuals): window 18.20, PreNorm 18.19, full history 17.52. Both 0.6B models in Tab. 3 use value residuals, so the pair comparison is unaffected.
11. What we re-measure#
E1 (released checkpoints) · E2 (the canary: tiny looped models trained from scratch on a
Lean-checked toy task, with attention-residual arms) · E3 (the 0.6B pair under the latent
checked-proof protocol) · Stage 1 (the same kinds of test after more training).
E2 [exp] (job 322153, independently re-checked: runs/e2/referee.md): no candidate effect in the primary comparisons at canary scale.
Setting: width 64, seeds 11/29/47, same batches and depth draws for every arm; latent’s decoder, a PreNorm loop, and ARLoop with untied or loop-tied queries. No arm has value residuals (registered in
experiments/e2_small/PROTOCOL.md), which the paper’s App. A.1 and A.3 report its sliding window needs.In the 6 primary comparisons (iid, r = 4 and 16), every new-arm point estimate is below 0 (−0.038 to −0.067) and every 95% interval contains 0.
ood_depth: 0 accepted for every arm and r.
Tied queries: r = 16 against r = 4, 0 discordant items.
Secondary comparisons: 4 candidate effects, 3 putting a new arm below latent’s decoder and 1 putting the decoder above the depth-matched control.
latent’s unchanged decoder and both unlooped controls (seeds 11 and 29) reproduce latent’s job 284986 on 1,834/1,834 records.
E3 [exp] (jobs 322158–322257, 4.351 GPU-h; independently re-checked: runs/e3/referee.md): floor-limited.
Setting: the released 0.6B pair, LoRA-tuned with latent’s campaign-4 recipe (512 updates, seed 11) in two arms: native3 (L = 3) and random124 (L drawn from {1, 2, 4}).
Result: 0 of 32 dev targets accepted in all 16 suites (2 bases × 2 arms × forced L = 1–4), so the registered comparisons are uninformative. The oracle (the gold proof actions fed through the same harness) is accepted on 32/32.
Context, not a comparison: latent’s journal reports 5/32 for Qwen3-1.7B-Base under the same recipe.
Exploratory (post hoc, hypothesis-generating):
single-step validity: ARLoop ≥ PreNorm in all 6 non-collapsed cells;
accepted actions per attempt: ARLoop’s attempts longer in 4 cells, sign-test p ≤ 1.2 × 10⁻⁴;
PreNorm’s attempts fail on all 32 targets by reusing a name in 4 cells, ARLoop’s in none.
Stage 1 [exp] (more training, 15 November 2026; CAMPAIGN.md): does looping pay off once the models are trained longer?
1a, proofs: E3 trained eight times longer (jobs 322649–322661, 30.2 GPU-h; independently re-checked: runs/s1a/referee.md): off the floor; in one seed ARLoop’s results rise with loops, a lead that misses the registered test after Holm.
Setting as in E3 (same harness, data and seed), but the cosine schedule runs to 4,096 LoRA updates instead of 512.
After 4,096 updates both native-depth adapters prove dev targets at L = 3: ARLoop 4/32, PreNorm 3/32 (the registered gate: at least 3).
Random-depth arm, single-step validity at L = 4 against L = 1 (64-row roster): ARLoop 61 against 55, all 6 discordant rows for L = 4, Holm p = 0.0625; PreNorm 51 against 49, Holm p = 0.5. Not established.
Descriptively (one seed), the random-depth adapters at L = 1, 2, 3, 4. ARLoop: proofs 0, 2, 3, 3; dev cross-entropy 0.281, 0.242, 0.235, 0.233 nats/token. PreNorm: proofs 0, 0, 0, 0; dev cross-entropy 0.334, 0.330, 0.342, 0.345.
All 30 accepted proofs of the ladder replay to a kernel-checked QED with the admitted checker.
1b, the canary trained 10× and 30× longer (jobs 322560 and 322667; independently re-checked: runs/s1b/referee.md): no depth effect.
E2 unchanged except the number of updates.
In-distribution accuracy rises with training (accepted iid items at r = 4, of 105, over three seeds, at 1,000 → 10,000 → 30,000 updates): latent’s decoder 14 → 18 → 24; PreNorm loop 7 → 13 → 18; ARLoop untied 10 → 16 → 17; ARLoop tied 9 → 17 → 17.
No depth effect: r = 16 against r = 4, 8 within-arm comparisons, none with a candidate effect; ood_depth: 0 accepted at either length.
No new arm (the PreNorm loop or either ARLoop arm) beats latent’s decoder: 0 of 6 primary comparisons at either length.
1c, a trained fourth loop (ARLoop-0.6B, routing only; independently re-checked: runs/s1c/referee.md): no gain.
Loop 4’s routing trained on 0.1B tokens of FineMath-4+ (documents sharing a 13-gram with a GSM8K test question removed), the rest of the model frozen; control: loop 3’s routing trained the same way at R = 3. A second pair, registered before any 1c result, trains the effective routing vector directly: in the loop-4 bank 34.4% of the coordinates had query and norm weight both exactly 0, which separate training cannot move (finding F10).
GSM8K (1,319 items, BOS): L4 against C3 −0.61 points [−2.20, +1.06], p = 0.52; the second pair −0.38 [−2.05, +1.36], p = 0.72.
The read-out is frozen and keeps 92–94% of its weight on loop 3’s last block; loop 4’s sources get 3.3% and 4.6% after training.
WikiText-2 bits per byte at R = 4: 0.7320 untrained, 0.7256 after training; R = 3: 0.7247.
Stage 4 [exp] (confirmatory proofs on the sealed test split of latent’s Campaign 4; seeds 11, 29, 47; 69.6 GPU-h, 12.0 of them one job held until its time limit; independently re-checked: runs/s4/referee.md): more loops help ARLoop on unseen goals, and more than they help PreNorm; at the trained depth the pair shows no detectable difference.
Setting: Stage 1a’s recipe (4,096 LoRA updates; seed 11 reuses its adapters), both bases, arms native3 and random124; 48 test targets (latent’s own selection) and a 224-row single-step roster; the test split opened once, after every adapter was trained.
P1, more loops help ARLoop (random-depth adapters, valid single steps at R = 4 against R = 1, 672 paired units): 64 only at R = 4, 1 only at R = 1 (+9.38 points), Holm p = 7.2 × 10⁻¹⁸, seeds favouring R = 4: 3 of 3: more loops help ARLoop.
P3, the pair at R = 3 (native-depth adapters, test proofs, 144 paired units): 4 only ARLoop, 5 only PreNorm, Holm p = 1: no detectable difference.
P2 (secondary), ARLoop’s depth gain minus PreNorm’s: +4.32 points [+1.19, +7.44]: ARLoop gains more from loops than PreNorm.
S1, PreNorm’s own depth effect: 51 only at R = 4, 17 only at R = 1, McNemar p = 4.5 × 10⁻⁵.
All 34 accepted test proofs replay to a kernel-checked QED with the admitted checker.
Stage 2 [exp] (continued whole-model training at depth: both 0.6B models, 3,051 updates, 0.10B tokens of FineMath-4+, one seed; independently re-checked: runs/s2/referee.md): no gain from training at depth is detected for either base.
Setting: every parameter trained, at R = 3 (the control) and at R = 4 (loop 4’s routing starts as a copy of loop 1’s, E1’s
cyclerule); GSM8K (1,319 items, BOS) paired item by item as in E1.ARLoop-0.6B, trained and run at R = 4 against trained and run at R = 3: +0.91 points [−0.61, +2.43], Holm p = 0.55: not established.
PreNormLoop-0.6B, trained and run at R = 4 against trained and run at R = 3: +0.61 points [−1.29, +2.58], Holm p = 0.59: not established.
Design contrast (secondary), ARLoop’s difference minus PreNorm’s: +0.30 points [−2.20, +2.73]: not established.
Training effect without a change of depth (the R = 3 control against the released model at R = 3): ARLoop-0.6B −4.62 points [−6.82, −2.43]; PreNormLoop-0.6B −3.64 points [−5.69, −1.52].
Random depth, PreNorm only (rule 6, descriptive; amendment 2; R drawn per update from {2, 3, 4, 5}): GSM8K accuracy 6.97%, 24.26%, 25.32%, 24.03% at R = 2, 3, 4, 5; R = 5 against R = 3, −0.23 points [−2.35, +1.90]. ARLoop’s arm did not run.
12. Exercises for the seminar#
Show that with all \(\alpha_{i,j} = 1\) (no softmax) attention residuals reduce to PreNorm (1).
With a softmax over \(m+1\) sources whose norms are bounded by \(B\), show \(\|h_i\| \le B\): attention residuals cannot grow the stream, PreNorm can (by \(\sqrt{i}\) for orthogonal updates).
Count the routing parameters of ARLoop-1.2B from its configuration and compare with the parameter count of the checkpoint.