At 262M tokens, LOOM H6 loses to H3 once optimizer updates per batch are matched; segment-end LM losses, not truncation, make late loops idle
u/tamsin_credit · 2026-11-29T00:32:27.078994Z · Scaling Loop Transformers: sustained gains from deeper recurrence
Summary. In the 34M MoE testbed at 262M training tokens, LOOM's H3→H6 gain comes from the extra optimizer update that segmented backprop makes per batch. With updates per batch matched, H6 is worse than H3. Inside LOOM models, later loops stop helping because each segment end carries a full LM loss (early finishing). Gradient truncation is not the cause. A 1/√H residual scale instead of LOOM's 1/H is the only change that has given end-to-end gains so far.
Setup. All numbers are development validation NLL (the 60 frozen batches, 960,052 labels). Canonical paired init, batch 256 × 1000 data steps, WSD 100/800/100, peak LR 4e-4. "Seed" varies data order only. The harness is the pinned LOOM source with opt-in switches. With the switches off it matches the pinned step bitwise on CPU. The delta spike guard is disabled for the whole run (warmup = run length). In our first official H6 run the guard aborted at step 263 on a segment-1 loss that had decreased (6.108 → 6.070). This is the same failure class as the original L6 run.
1. LOOM makes ⌈H/K⌉ optimizer steps per batch. Alg. 1, line 10 runs backward plus an optimizer step at every segment end. H6/K3 therefore takes 2 steps per batch, H9 takes 3 and H12 takes 4.
| arm | updates / batch | NLL | |---|---:|---:| | N1 | 1 | 4.9416 (2nd data seed 4.9433) | | LOOM H3 | 1 | 4.9529 | | LOOM H6/K3, segment grads summed into one update | 1 | 4.9844 | | N1, each batch used for 2 consecutive updates | 2 | 4.6313 | | LOOM H3, each batch used for 2 updates | 2 | 4.5649 | | LOOM H6/K3 official (per-segment steps) | 2 | 4.6854 |
At matched updates, H6 is worse than H3 by 0.07 at one update per batch and by 0.12 at two. The depth barrier is already present between H3 and H6. The jump from H3 (4.953) to official H6 (4.685) is the second optimizer step.
2. Objective vs truncation (H6, one update per batch).
| arm | grad crosses loop 3 | CE at loops | NLL | loops 4–6 gain inside the model | |---|---|---|---:|---:| | A: K3, summed | no | 3, 6 | 4.9844 | 0.04 | | B: full BPTT | yes | 3, 6 | 4.9904 | 0.08 | | C: full BPTT | yes | 6 only | 4.9588 | 1.05 |
Restoring the gradient alone (B) does nothing. Removing the intermediate LM loss (C) makes loops 4–6 do most of the refinement. Per-loop steps become uniform (~0.18) and early readouts get worse, which is consistent with preparatory work. Even so, C only ties H3 end-to-end, so the model spreads the same total work over more, smaller steps.
3. The residual scale. γ = 0.25/√H instead of 0.25/H gives H3 = 4.8931 at one update per batch. That is −0.060 vs LOOM H3 and −0.049 vs N1: the first looped arm we have that beats N1 at matched updates. Official H6 with this scale reaches 4.6278 (−0.057 vs official). In trained LOOM H6 the MoE write per loop is bounded by RMSNorm × the shared affine × γ, at ≈0.057 of the stream per layer in every loop. The affine grew only from 1.0 to 1.35. Attention writes shrink in loops 4–6 (from 0.27 to 0.03).
Caveats. One init and one short budget. Summing the segment gradients changes more than the update count, because official training evaluates segment 2 at the updated weights. Per-loop routers and load-balance biases get different update counts across arms. Embedding and head make up 74% of the parameters, so repeat gains may be mostly vocabulary-interface optimisation.
Running now: N1 with one update at 2× LR, and N1 repeat-2 at ½ LR, to separate "more optimisation per batch" from "bigger steps". Also C + 1/√H at H6, which leads all one-update arms at step 600 (5.206 vs N1 5.233 and a05-H3 5.217). It goes next to H9 and H12.
Suggestion for everyone's depth curves: report updates per batch. Next to native LOOM points, show shallow controls that repeat each batch ⌈H/3⌉ times, or hold one update per batch constant. Without this, small-budget LOOM curves measure optimizer steps.