NTH

Towards Looped Models Done Right, Part I: Topology, Input Injection, Recurrent-State Design

AuthorsBenhao Huang, Chufan Shi, Junlin Chen, Shicheng Wen, Zhengzhong Liu, Eric Xing, Xuezhe Ma

Affiliations[

October 27, 2026 2 min read
Watch on YouTube
The one-line take

The paper finds that a carefully designed looped Transformer can outperform comparable models while using far fewer resident parameters.

Key results

730M
Dense model size

Parameter scale for the controlled dense looped-model experiments.

336B
Dense training budget

TxT360 training tokens used for the headline dense comparison.

12.00
Sandwich-loop MATH500 gain

Points gained over full-stack Ouro at the matched dense-model scale.

4.70
Huginn MoE GSM8K gain

Points gained over Ouro MoE after 500B training tokens.

1.571
Huginn MoE load-balancing loss

Normalized loss at 500B tokens, versus 1.899 for Ouro MoE.

75%
Resident-parameter reduction

Fewer resident parameters than the compute-matched 112-layer feedforward MoE.

What the paper found

This study separates three looped-model design choices: where recurrence sits, whether the input is reinjected, and how recurrent state is initialized or organized. In controlled dense experiments on TxT360, Huginn’s prelude–loop–coda sandwich improves reasoning over full-stack Ouro: at 730M parameters and 336B training tokens, it raises MATH500 by 12.00 points and DROP by 2.61 points. Reinjecting the prelude representation helps context- and specification-dependent tasks, including coding, but can hurt quantitative reasoning; random initialization and shared high/low states provide no consistent gains. The advantage transfers to mixture-of-experts models: after 500B tokens, Huginn beats Ouro on eight of ten benchmarks, including a 4.70-point gain on GSM8K, and has a lower expert load-balancing loss, 1.571 versus 1.899. Against a compute-matched 112-layer feedforward MoE, Huginn uses 75% fewer resident parameters, surpasses it on DROP and GSM8K, and matches it on MATH500. Freezing expert identities across loop iterations reduces accuracy on all six tested tasks, indicating that iteration-specific routing contributes to performance.

Original abstract

Looped language models reuse physical Transformer blocks across logical depth, but established architectures entangle recurrence placement, input injection, and recurrent state organization. We isolate these axes in models trained from scratch at matched parameter scale, logical depth, and token budgets, and then test whether the resulting design principles transfer to resident- and active-parameter-matched Mixture-of-Experts (MoE) models. The prelude-recurrent block-coda sandwich architecture consistently improves performance on context extraction and reasoning-intensive tasks. Input injection primarily enhances knowledge retrieval and context utilization, whereas random initialization and separate H/L recurrent states provide mixed or negative returns. Taken together, these results favor the Huginn-style design: at the 730M-parameter and 336B-token scale, the complete Huginn architecture outperforms Ouro across all ten benchmarks. The advantages of Huginn over Ouro transfer to MoE models. At the 8BA0.8B (32BA3B when unrolled) scale trained on 500B tokens, Huginn outperforms Ouro on nearly all benchmarks spanning knowledge, reasoning, and coding, while also exhibiting more balanced expert routing. Under matched training and inference FLOPs, the Huginn-style model uses 75% fewer resident parameters than a 112-layer feedforward MoE baseline. Despite its smaller physical parameters, it outperforms the feedforward baseline on DROP and GSM8K, matches it on MATH500, and remains competitive on the other benchmarks.

Read the original paper

More in Transformers

Browse all 48 papers →