Loop Behind: Rethinking Where Extra Loops Pay Off in Looped Language Models
Looped language models (LoopLMs) improve performance by repeatedly applying shared layers, with gains commonly attributed to giving the current token extra computation to refine its next-token prediction. Yet each loop also writes key-value states (Loop KV) read by later tokens, so native decoding couples both effects. To disentangle them, we independently vary how many loops the current token runs before readout and the depth of the Loop KV it reads. On Dory-4B across 12 benchmarks, one loop reading Loop KV from loop 2 recovers 6.8 of the 7.2 points gained by native two-loop decoding, whereas two loops reading from loop 1 recover only 0.8. Thus, a token’s extra loops pay off primarily by providing deeper Loop KV for later tokens rather than refining its own next-token prediction. We propose Loop-Behind (LB) Decoding, which reads out each token after its first loop and runs its remaining loops in parallel with later tokens. Without retraining, LB closely matches multi-loop accuracy with a one-loop KV cache and near-one-loop speed. Our finding and LB also apply to Huginn-0125 (matching 16-loop accuracy at 1.75× speedup). Our code is available at https://github.com/XijieGo/LoopBehind.
Authors
- Xijie Gong
- Tonghan Wang
Publication Details
- Journal
- Preprints.org
- Published
- 2026-12-02
- DOI
- https://doi.org/10.20944/preprints202612.0250.v1
- Primary Topic
- Natural Language Processing Techniques
- Type
- preprint