Branch the Last Loop, Don't Add One: Final-Loop Mixtures for Looped LMs Win at Equal Compute

Loop Deeper or Branch Wider? Final-Loop Mixtures for Looped Language Models

Jonathan Williams, Wenhao Chai, Esin Türeci, Karthik R. Narasimhan

cs.CL, cs.LG

2026-12-03

Run a looped LM's last loop twice in parallel and gate-mix the predictions: same training cost as one extra loop, 11 of 12 perplexity wins, 14-29% faster decoding.

What problem this solves

Looped language models run one transformer block L times per token, Huginn and Ouro being the current representatives. Their pitch is depth without parameters: more compute means one more loop. The pitch is fading. Going from two loops to three cuts held-out perplexity by 4.89% at 150M parameters but only 1.05% at 500M. The deeper the block, the less a repeated pass buys. A Princeton team reframes the question: given the budget for one more loop, is it better spent in series or sideways? Their answer is parallel branching, with faster generation as a side effect.

Method

The final-loop mixture is a small change:

The mechanism only makes sense in the model-loop setting: every loop ends in a readout, so the last loop is already a trained map from a state to a valid next-token distribution. Fed a shifted copy of the state, it still gives a sensible prediction, just a different one. Layer-loop models like Loopie, which repeat each layer separately, have no such trained map; the authors leave them to future work.

With K=2, the mixture's training FLOPs per token match a plain (L+1)-loop model (1.002–1.009x), so branching and adding a loop are two ways of spending the same budget. The mixture loss is a smooth best-of-K objective: each branch gets most of its gradient on tokens it already predicts well, and the branches split into a generalist and a specialist that is 93–125% worse alone yet the better branch on about 36% of tokens.

Results

All models (width 1536, blocks of 3/6/15 layers, i.e. 150M–500M) train on the same 10B FineWeb-Edu tokens. The headline comparison pits an L-loop mixture against a plain (L+1)-loop model:

ComparisonSettingResult
ID ppl (held-out FineWeb-Edu), 2-loop mixture vs 3-loop plain150M / 250M / 500M−0.73% / +0.46% / +1.48%
OOD ppl lead (11 corpora, mean over loop counts)150M / 250M / 500M1.60% / 2.49% / 2.61%
Time per generated token (batch 1, same KV cache)all sizes14–29% less
LAMBADA (equal training FLOPs)150M / 250M / 500M+3.21 / +1.92 / +2.00 pts

The mixture wins 11 of 12 comparisons; the single loss is ID at 150M, and one OOD win is a near-tie at 0.10%. The lead grows with depth, which matches a measurement inside the plain models: at 500M the readout after the last loop beats the one before it by only 0.28%, against 1.97% at 150M. In a deep model the last loop simply has little left to add.

Controls at 150M and 250M: the mixture sweeps all 8 comparisons against a grown reference (the same checkpoint extended to L+1 loops with the same final-loss weight); at equal training FLOPs, where the plain model gets 12–14B tokens instead, it wins all 9 OOD cells and ties ID at 500M. Ablations: the full design wins 47 of 48; frozen random offsets lose to the plain model outright at three and four loops; a readout-only mixture keeps about a third of the ID gain, so most of the benefit comes from actually rerunning the last loop.

The gains sit on hard tokens: mean loss drops on the hardest 60% and rises slightly on the easiest 40%, and the mixture is sharper where it gains, which rules out hedging. Knowledge and reasoning QA barely moves (−0.22 to 0.00 points). LAMBADA target-word perplexity drops 25.1–42.4% at equal FLOPs, where extra training to the same budget manages at most 4.4%.

Why it matters

For anyone building looped architectures, this is direct evidence on where extra compute should go: once the block is deep, serial loops pay less, and branching the last loop buys better perplexity (especially OOD) plus 14–29% faster single-stream decoding with an unchanged KV cache. It is the looped-model counterpart of ParScale-style parallel scaling. The boundary is equally clear: at 500M the ID gain is gone and QA does not move. This buys more accurate word prediction, not knowledge or reasoning.

Limitations

Self-reported: one seed (42), no learning-rate tuning, a 511M-parameter ceiling, 10B tokens, ablations only at 150M and 250M, speed measured on one GPU type, and equal-FLOP baselines built by continuing plain runs at their final learning rate. Two trends point opposite ways with scale (the same-loop gain shrinks, the lead over an extra loop grows), and the paper says outright it cannot tell which continues. Two more from this read: inference FLOPs are actually 4–23% higher (two readouts), and at batch 128 the 150M mixture is 15–20% slower, so the throughput story reverses. All evidence also sits at the 10B-token scale, two orders of magnitude below real pretraining, and the OOD lead is a perplexity measure, not a downstream-task one.

Terms

Source

What people are saying

Related papers

All paper explainers