GO TO A SECTION

↑ ↓ to navigate · Enter to openExplore all sections →
FDEInterviews logo
NeurIPS 2025

Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach

A 3.5B model that thinks by looping its middle block instead of writing more tokens. At 32 loops it does the forward compute of a 52.6B model, and benchmark scores rise as loops are added.

Breakdown by FDE Interviews · 12 min read · Updated

About the original · 2025
AUTHORS
Geiping, McLeish, Jain, Kirchenbauer et al.
FROM
ELLIS Institute Tübingen and MPI-IS, University of Maryland, Lawrence Livermore National Laboratory
PUBLISHED
Feb 2025 · NeurIPS 2025
CITED BY
549Semantic Scholar · Nov 2026
IN THIS BREAKDOWN · 10 SECTIONS

You can read 18% of this breakdown.

01

The paper in one minute

Today's reasoning models buy accuracy with tokens: they write a long chain of thought before answering. This paper buys accuracy with depth instead. Its model, released as Huginn, has a transformer block in the middle that it can run as many times as you like before producing each token. More iterations mean more computation per token, with no extra parameters and no extra tokens.

The architecture has three parts. A two-layer prelude turns tokens into an embedding e. A four-layer core block starts from a random state and updates it r times; at every iteration the core sees the current state concatenated with e, which keeps the loop anchored to the input. A two-layer coda turns the final state into next-token probabilities. During training the number of iterations is drawn at random for each step from a heavy-tailed distribution with a mean of 33, and gradients flow only through the last eight iterations to bound memory. The authors trained one 3.5B-parameter model for 800B tokens on up to 4,096 AMD GPUs of the Frontier supercomputer, after two failed attempts.

At test time, accuracy rose with iterations and saturated at different points per task: HellaSwag near 8 iterations, while GSM8K and HumanEval kept using more. At 32 iterations the model scored 38.2% on ARC-Challenge, 34.8/42.1 on GSM8K with chain of thought, and 23.2% on HumanEval, competitive with open models trained on public data except the newest OLMo-2. The same looping structure also gives per-token early exits, KV-cache sharing and speculative decoding without any additional training.

THE IDEA, VISUALLY
PRELUDE, LOOPED CORE, CODA (SECTION 3.1) tokens prelude P 2 layers -> e s0 ~ random core R 4 layers, concat(s, e) x r coda C 2 layers + tied head next token The input e is injected at every iteration, so the state converges from any random start (path independence). Training draws r from a log-normal Poisson distribution (mean 33) and backpropagates through the last 8 iterations only. 3.5B parameters, 800B tokens, up to 4,096 AMD MI250X GPUs on Frontier. Two earlier runs failed: hidden states collapsed, or the core was ignored. ARC-CHALLENGE VS ITERATIONS (TABLES 1, 4) r = 1 24.06 r = 4 27.99 r = 8 35.15 r = 16 37.71 r = 32 38.23 OLMo-7B (2.5T tokens) 40.27 materialized parameters at r = 1, 4, 8, 16, 32: 3.6B, 8.3B, 14.6B, 27.3B, 52.6B (our count, matching Figure 1) SAME DATA, 180B TOKENS (TABLE 4) fixed-depth twin ARC-C 26.96 GSM8K CoT 1.8/2.2 recurrent, r = 1 ARC-C 23.72 GSM8K CoT 0.0/0.2 recurrent, r = 32 ARC-C 29.18 GSM8K CoT 9.0/10.2 the twin matches parameters, not compute: at r = 32 the recurrent model spends about 15x the FLOPs per token arXiv 2502.05171, ELLIS/MPI Tubingen, Maryland, LLNL
The model has a two-layer prelude, a four-layer core and a two-layer coda. The core starts from random noise and is applied r times, with the embedded input concatenated in at each iteration, so more iterations mean more computation per token without more parameters or more tokens. ARC-Challenge rose from 24.1% at one iteration to 38.2% at 32, against 40.3% for OLMo-7B trained on three times the data. At 32 iterations each token costs about as much as a 52.6B-parameter forward pass.
Research notes: the problem, approach and results
52.6B

materialized parameters at 32 iterations of the 3.5B model (Figure 1)

24.1 → 38.2

ARC-Challenge accuracy from 1 to 32 iterations at test time (Tables 1 and 4)

800B

pretraining tokens, on up to 4,096 AMD MI250X GPUs of the Frontier supercomputer (Section 4)

THE PROBLEM

Reasoning models spend test-time compute by writing long chains of thought. That needs long-reasoning training data, long context windows, and squeezes every intermediate thought through one chosen token at a time.

THE IDEA

Build a transformer whose middle block is looped: a prelude embeds the input, a shared core block is applied a variable number of times starting from a random state with the input injected every iteration, and a coda decodes. Train with a random number of loops per step so the model works at any depth, then choose the depth at test time.

THE RESULT

A 3.5B model trained on 800B tokens improved steadily with more iterations: GSM8K CoT reached 34.8/42.1 at 32 iterations, above most open models of its data class, and ARC-C 38.2. It also supports per-token early exits, KV-cache sharing and self-speculative decoding without extra training, though it trails OLMo-2-7B.

02

Why it matters to an FDE

Huginn is a research model, not one to deploy, but it changes how to think about where inference compute goes.

Compute per token can be a dial. With chain of thought, harder requests cost more output tokens. Here, harder requests cost more iterations per token, and the model can decide per token when to stop. If architectures like this reach production, cost and latency per request will vary with difficulty even at a fixed output length, which changes capacity planning and pricing.

Small memory footprint, large compute. At 32 iterations the model reads 3.5B parameters but does the arithmetic of a 52.6B model. Deployments limited by GPU memory and less by compute could fit such a model where a larger dense one would not.

Parameter-matched is not compute-matched. The paper's fixed-depth twin has the same parameters but runs the core once; at 32 iterations the recurrent model spends about 15 times its FLOPs per token. When a vendor says a small model matches a large one, ask what each spends per token.

THE FULL BREAKDOWN

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 290 more papers.

Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.

6 months · One payment · No auto-renewal

Get Premium · ₹2,000 / $25
  • ◇1 architecture diagram
  • </>1 runnable code experiment
  • ▦2 results tables
  • ?5 interview questions with answers
  1. 03Key takeaways

    The architecture, the training recipe, what transfers at test time, and two misreadings

    Free account
  2. 04How it works

    Equations, the layer layout, the sampling distribution, initialization, and the inference features

    Premium
  3. 05The numbers that matter

    Benchmarks by iteration, math and code, the fixed-depth twin and adaptive compute

    Premium
  4. 06Try it yourself

    Rebuild the parameter counts, compare compute per token, and test input injection on a toy

    Premium
  5. 07Where it breaks

    One undertrained run, no compute-matched baseline, latency, fragile training and slips

    Premium
  6. 08Using it on a deployment

    Evaluating depth-recurrent claims, planning for variable compute, and serving implications

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →