One Model to Loop Them All: Elastic Latent Recurrence for Language Models
Abstract
A latent recurrent language model applies a shared block of layers repeatedly, so one checkpoint can trade inference compute for accuracy by changing the loop count. At one loop, however, such models typically fall well short of a non-recurrent model of the same size, a one-loop tax that makes a separate non-recurrent model the better choice whenever latency matters. We present Elastic Latent Recurrence (ELR), a recipe for training looped language models without this tax. At one loop, an ELR model costs the same to serve as a non-recurrent model of the same size and, trained on the same data, reaches similar accuracy. Each additional loop then buys more accuracy for more inference compute. Three choices make this work: a gated state update with a learned step size, loop counts mixed within each optimizer update, and conditioning each pass on its loop index and budget. The first two preserve one-loop accuracy, and the third lowers loss at every additional loop. Mixed depths can be introduced late in pretraining to limit the added training cost, and with zero-initialized conditioning added at the switch, this late schedule reaches lower loss than mixed-depth training from scratch. In MoE models, reusing first-loop expert routes on later loops cuts mixed-depth update time by 11.7% with no measurable change in accuracy. At inference, keeping only the last loop's attention KV cache holds attention KV memory at its one-loop level while retaining most of the gain from additional loops. On 4B dense and 30B-A3B MoE hybrid models, ELR at one loop is 0.52 points below and 1.04 points above its matched baseline on a ten-task average, and four loops add 7.25 and 4.75 points. Carried through post-training, the recipe yields Koi-4B, a single checkpoint that scores an estimated 18 on the Artificial Analysis Intelligence Index at one loop, matching Qwen3.5-4B, and 29 at four loops.
Community
Introducing our latest work on Elastic Latent Recurrent models.
Can one language model serve different inference budgets? Latent recurrent models offer a natural approach: reuse the same layers across multiple loops, spending more compute to improve accuracy. However, these models often underperform a comparable non-recurrent model when run at their lowest compute setting.
We introduce Elastic Latent Recurrence (ELR), a training recipe that preserves accuracy close to a matched non-recurrent baseline at one loop while enabling additional loops to improve performance, all within a single checkpoint.
Looped language models also introduce training and inference overheads. To reduce these costs, we introduce delayed mixed-depth training, which adds multiple loops only in the final stage of pretraining, and cross-loop route replay for MoE models, which reuses first-loop expert assignments on subsequent loops. At inference, retaining only the final loop’s attention KV cache keeps attention KV memory at its one-loop level while preserving most of the gains from additional loops.
We carry the recipe through pretraining and post-training to produce Koi-4B. In our evaluations, this single model scores an estimated 18 on the AA-Index v4.1 at one loop, matching competitive 4B models, and 29 at four loops, surpassing larger MoE models with up to 30B total parameters.
Interesting idea.
+1 for title with "LOTR" reference 😊
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- RecurTrace: Adaptive Latent Reasoning with Loop-Time Memory (2026)
- Hybrid Latent Attention for Looped Language Models (2026)
- The Surprising Effectiveness of Shared Memory in Looped Transformers (2026)
- Improving Test-Time Scaling with Adaptive Looped Transformers (2026)
- Loop Dropout: Regularizing Shared Updates in Looped Language Models (2026)
- Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts (2026)
- How to Loop MoE: Flatten the Experts, Untie the Attention (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2610.12582 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper