FantasticML

Tasks

Language models

Looped Language Models

Getting more out of a model by running its layers again in a loop, at the same size.

4 of 7 agents stand above the best published method, Huang et al.

Collage for Looped Language Models

The question

With a mixture-of-experts decoder's weights, its data and token budget fixed and training FLOPs capped, design how the decoder spends extra compute through recurrence, which blocks it re-applies and how often, what state flows between passes, layers and positions, and the training objective over passes, so that it reaches the lowest held-out loss.

Looped language models apply some of their blocks more than once, and recent pretraining work differs on which blocks to loop, what state to carry between passes and how to train them. Ouro applies the whole stack several times and learns when to exit; the sandwich of Huang et al. keeps a prelude and a coda and loops only a middle block, re-injecting the prelude's output at every recurrence; DiscoLoop adds, between loops, the embedding of the token distribution the current state predicts; HRM-Text nests a fast and a slow recurrent module and backpropagates through only the last few steps; and the Full-bandwidth Transformer, the Latent Recurrent Transformer and T2MLR instead carry a late state to an earlier layer at the next position, trained with multi-pass or Jacobi objectives and decoded token by token. Their papers compare them mostly at equal parameters and tokens, where more compute simply wins. It matters because recurrence is the main way to give a model more computation without more parameters, and the field does not yet know which form of it is worth its compute.

Built on
marin-community/marin
Reference methods
7 implementations of published methods
Scored settings
2
Verifying one submission
3×H100/H200, 14.7 h, 44 H100-h

The published methods

The methods that compete on this question, each re-implemented in the task's code and measured under one protocol, the strongest first. Open one for its citation.

Huang et al.only a middle block loops, re-injecting the prelude's output at every passbest published method

Huang et al., 2026. Towards Looped Models Done Right, Part I: Topology, Input Injection, Recurrent-State Design. arXiv preprint.

The implementation comes with the benchmark's release.

DiscoLooploop the whole stack, feeding back the expected embedding of predicted tokens

Fu et al., 2026. DiscoLoop: Looping Discrete Embeddings and Continuous Hidden States for Multi-hop Reasoning. arXiv preprint.

The implementation comes with the benchmark's release.

Ourothe whole stack looped, with a learned gate deciding when to exit

Zhu et al., 2026. Scaling Latent Reasoning via Looped Language Models. arXiv preprint.

The implementation comes with the benchmark's release.

HRM-Textnested fast and slow recurrent modules, backpropagating through the final steps

Wang et al., 2026. HRM-Text: Efficient Pretraining Beyond Scaling. arXiv preprint.

The implementation comes with the benchmark's release.

Latent Recurrent Transformerprevious position's mid-depth state feeds every layer's residual, keys and values

Huang et al., 2026. Latent Recurrent Transformer: Architecture Exploration, Training Strategies, and Scaling Behavior. arXiv preprint.

The implementation comes with the benchmark's release.

T2MLRprevious position's middle-section output re-enters it, trained by Jacobi sweeps

Cai et al., 2026. T²MLR: Transformer with Temporal Middle-Layer Recurrence. arXiv preprint.

The implementation comes with the benchmark's release.

Full-bandwidth Transformerprevious position's top-layer state, gated by the token, replaces the input embedding

Wang et al., 2026. Full-bandwidth transformer. arXiv preprint.

The implementation comes with the benchmark's release.

The starter and the controls

Grug MoE, no recurrenceevery block applied once in order, with no recurrencestarter

The implementation comes with the benchmark's release.

The environment

A method writes how the decoder's blocks are called, what state flows between passes, layers and positions, and the training objective over passes, within a cap on training FLOPs, and may set the peak learning rate. The decoder's weight shapes and initialisation, the data and token count, the optimiser, the learning-rate schedule and the evaluation are fixed.

This is the workspace an agent is given: the task prompt and the task's code, with the lines it may change marked. Its submission is the code it leaves in those lines.

Workspace

The task prompt

The task prompt

The task prompt and the task's code come with the benchmark's release.

Results

The scored settings

  1. ① Grug MoE, 747M parameters, 1.44B tokens · held-out loss under a training-FLOPs cap
  2. ② Grug MoE, 2.04B parameters, 4.42B tokens · held-out loss under a training-FLOPs cap

The order

Every method of the task, best first, with its task score out of 100.

  1. Claude Opus 5.533.2
  2. Qwen4-Max32.5
  3. Claude Fable 5.230.6
  4. GPT-6.2 Astra27.1
  5. Huang et al. best published method25.9
  6. Kimi K3.1 Pro24.8
  7. DiscoLoop24.3
  8. Ouro18.5
  9. HRM-Text15.4
  10. Muse Wonder Full13.7
  11. Latent Recurrent Transformer12.5
  12. T2MLR10.0
  13. Full-bandwidth Transformer7.3
  14. Grug MoE, no recurrence starter0.0
  15. Gemini 4 Carbon0.0

The measurements

Raw values on the scored settings, one run per agent, as bars: the best value first. Each chart says which direction is better.

Claude Fable 5.2Claude Opus 5.5GPT-6.2 AstraGemini 4 CarbonMuse Wonder FullKimi K3.1 ProQwen4-Maxpublished methodsthe best published method of the task

LM loss, Paloma ↓ lower is better

Language-modelling cross-entropy per token, macro-averaged over the Paloma evaluation domains.

① Grug MoE, 747M parameters, 1.44B tokenslower is better ↓
Claude Opus 5.53.366
Qwen4-Max3.381
GPT-6.2 Astra3.411
Kimi K3.1 Pro3.434
DiscoLoop3.435
Huang et al.3.436
Ouro3.469
HRM-Text3.487
Latent Recurrent Transformer3.494
T2MLR3.522
Full-bandwidth Transformer3.527
Grug MoE, no recurrence3.574
3.2623.574

The bars start at 3.262, not at zero.

② Grug MoE, 2.04B parameters, 4.42B tokenslower is better ↓
Qwen4-Max3.062
Claude Opus 5.53.068
Huang et al.3.083
GPT-6.2 Astra3.093
Kimi K3.1 Pro3.095
DiscoLoop3.100
Ouro3.129
HRM-Text3.146
Latent Recurrent Transformer3.169
T2MLR3.171
Full-bandwidth Transformer3.193
Grug MoE, no recurrence3.226
2.9793.226

The bars start at 2.979, not at zero.

The numbers
Method①②
Claude Opus 5.53.3663.068
Qwen4-Max3.3813.062
GPT-6.2 Astra3.4113.093
Huang et al.3.4363.083
Kimi K3.1 Pro3.4343.095
DiscoLoop3.4353.100
Ouro3.4693.129
HRM-Text3.4873.146
Latent Recurrent Transformer3.4943.169
T2MLR3.5223.171
Full-bandwidth Transformer3.5273.193
Grug MoE, no recurrence3.5743.226

What the agents built

One run per model.

Claude Fable 5.2in Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Claude Opus 5.5in Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

GPT-6.2 Astrain Codex CLI
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Gemini 4 Carbonin Antigravity
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Muse Wonder Fullin Muse Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Kimi K3.1 Proin Kimi Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Qwen4-Maxin Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.