Truncate or Not? A Scaling Study of Looped Transformers with Truncated Backpropagation
Summary
Asks whether truncating backpropagation through the loops of a looped transformer is worth it, answered as a compute-allocation problem rather than a recipe comparison. Setup: a loop setting (T,B) runs T forward loops of a shared recurrent block and backpropagates only through the last B — the state s_{T−B} is detached, so the first T−B loops run gradient-free and store no activations (a backward loop costs 2× a forward loop). Only suffix truncation is studied; no random-window variant. Architecture is the Huginn-style prelude–recurrent–coda of Iso-Depth (Schwethelm et al. 2026), whose recipe the study adopts wholesale — input injection of s₀ at every loop, per-loop RMSNorm, and the cross-entropy loss applied ONLY to the final state s_T (final-only supervision throughout; per-loop/deep supervision is never varied). 592 training runs on FineWeb-Edu (Llama-2 tokenizer, 2,048-token sequences): a 347-configuration scaling suite over five sizes (58M–919M non-embedding parameters; recurrent block ≈51% of N), fifteen (T,B) settings with T ∈ {1,2,4,8,16} and B/T from 1/4 to 1, and 1.1–1,291 tokens per parameter; MuonH for block/injection matrices, AdamW elsewhere; metric is held-out validation loss (nats/token). The unified law writes N_eff = N_once + g(T,B)·N_rec with looping coefficient g(T,B) = exp[c(1 − T^{−p}B^{−q})], fitted c = 1.112, p = 0.237, q = 1.022 (R² = 0.9992; leave-one-(T,B)-out RMSE 8.7×10⁻³ nats). Consequences: the loop gain saturates at a ceiling of e^c ≈ 3.04× on the recurrent block; g(2,2) ≈ 1.91, i.e. two fully trained loops are worth nearly two untied copies; and because q ≫ p, effective size is set mainly by B — at fixed B, extra forward loops add almost nothing (under the law, a (4,1) model has the effective size of a non-looped model only 1.19× its parameter count, vs 1.76× for (4,4)). The truncation discount for dropping the same fraction of loops shrinks with T (~18% of the loop gain at T=4, B=2; ~3% at T=16, B=8). WHEN T IS PRESCRIBED, truncation pays — this recovers Iso-Depth's fixed-depth result and explains it: the freed backward compute buys a larger model and more tokens, and the law's optimal B* is just 2 for every T ≥ 4 (at T=8: 33–35% less compute at equal loss in separately fitted frontiers, reinvested as a 1.51× larger model and 1.20× more tokens; at T=16: 1.70× and 1.31×). WHEN BOTH COUNTS ARE FREE, full BPTT is optimal: because q > 2p, the law's continuous optimum at fixed loop-compute S = T+2B is exactly T = B = S/3 at every compute level, and matched-compute runs confirm it — at 17.2B tokens, (4,4) beats (8,2) at identical size, tokens, and compute at all five sizes, by 0.028 nats at 60M shrinking to 0.009 nats at 1B; separately fitted frontiers give (4,4) an 8–14% compute advantage at equal loss. Hence the prescription: run fewer loops and train them all. Near-tie honesty from the paper: half-truncated settings like (8,4) and (16,8) sit just below the full-BPTT frontier (≤2.2% more compute per effective parameter), and (4,3) edges fully trained neighbors by ≤0.002 nats in a narrow band. Allocation rules under full BPTT: at fixed model size, T* ∝ C^0.24 and D* ∝ C^0.76 (a 10× compute increase ⇒ ~1.7× the loops, ~5.8× the tokens — most new compute goes to data); with size also free, no looping at all is compute-optimal (untied copies beat g(T,T) < T), and the best looped setting is (2,2): experimentally within 0.008 nats of the compute-optimal non-looped model at equal compute across three budgets with 27–32% fewer non-embedding parameters (344M vs 471M at 2.1×10¹⁹ FLOPs, loss 2.36 vs 2.37), and with 8% more compute it beats the non-looped model outright with 27% fewer parameters. Why the usual defense of truncation fails here (paper's Appendix B.2): the fixed-point/Neumann-series argument makes dropped gradient terms shrink geometrically only if the loops nearly converge, but production looped LMs run few loops, states stay far from a fixed point, and the bias compounds across every update. Authors' limitations: dense models only (looped MoE untested); validation loss only — downstream/reasoning transfer not established; T capped at 16, so the gain ceiling is extrapolated; prelude/coda-to-recurrent parameter ratio held fixed.
- Venue
- arXiv cs.LG preprint, submitted 19 Oct 2026, v2 20 Oct 2026 (no venue stated)
- Source
- arxiv
- Access
- free
- Language
- en
- Added
- Oct 21, 2026
- Verified
- Oct 21, 2026
- Found via
- #Hudson
Research notes
- Discovery: Hudson shared @siyuc3141's launch thread 2026-10-21 ("only if the loop count is fixed. Otherwise, run fewer loops and train them all!"). Framing precision: the paper's "fixed" is a PRESCRIBED forward-loop count T under a fixed training-compute budget — it does not study train/test loop-count mismatch or adaptive inference depth (evaluation always runs all T loops). The design rule is therefore about training allocation: forward loops you don't backpropagate through buy almost no effective size, so either fix T by deployment necessity and truncate hard (B=2 suffices for T ≥ 4), or cut T until every loop is trained. Cluster: this is the direct scaling-law successor to live ID 780 (Iso-Depth — same architecture and recipe, generalized from its two-recipe comparison) and to Parcae's tied-B analysis; the paper's own Appendix A survey files the cluster's existing recipes on the truncation spectrum — Huginn ≤8 backward steps, Iso-Depth/Parcae half, TRM and successors (incl. GRAM, queue #45, Baek et al. 2026) all-but-last gradient-free, i.e. the extreme the law penalizes most at small T (paper's characterization). Connections to #76 and #70 are our mapping, not the paper's: its verdict is proved only under final-only loss, so it is silent on the deep-supervision regimes where #76 shows retention/reuse across loops are separately learnable, and its law gives a prior for #70 InfiLoop / #45 GRAM-style dynamics — trained depth, not executed depth, is what the loss pays for. For Hudson's recurrent-depth experiments: never detach early loops unless the inference depth is truly pinned; and note the study trains with MuonH, in his optimizer family.
- License: paper CC BY 4.0 (verified from abs-page license icon); code MIT (verified)
Similar entries
- Paper Scaling Laws for Looped Mixture of Experts
- Paper LiFT: Loop Flow Transformers
- Paper Looped Diffusion Transformer
- Paper How to Loop Your Transformer: Loop Scaling, Specialization, and Parallel Inference
- Paper How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Models
- Paper Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts