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

Jonas Geiping, Sean McLeish, Neel Jain, John Kirchenbauer, Siddharth Singh +4 more
2/7/2025
cs.LGcs.CL

No official code found. Best implementation: seal-rg/recurrent-pretraining (911 stars, Apache-2.0, last commit 2025-12-29). 1 more below.

Abstract

We study a novel language model architecture that is capable of scaling test-time computation by implicitly reasoning in latent space. Our model works by iterating a recurrent block, thereby unrolling to arbitrary depth at test-time. This stands in contrast to mainstream reasoning models that scale up compute by producing more tokens. Unlike approaches based on chain-of-thought, our approach does not require any specialized training data, can work with small context windows, and can capture types of reasoning that are not easily represented in words. We scale a proof-of-concept model to 3.5 billion parameters and 800 billion tokens. We show that the resulting model can improve its performance on reasoning benchmarks, sometimes dramatically, up to a computation load equivalent to 50 billion parameters.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Pretraining and inference code for a large-scale depth-recurrent language model

91182PythonFeb 7, 20259 months agoApache-2.0
llmspretrainingreasoningrecurrent-depth

Implemented a recurrent-depth LLM (PyTorch) based on arXiv:2502.05171. Demonstrated that scaling inference compute increased arithmetic reasoning accuracy from 8% to 100% without additional parameters.

10Python, Jupyter NotebookNov 27, 202510 months ago
chain-of-thoughtinference-scalinglatent-reasoningllm

Similar Papers

Cite this paper

@article{geiping2025scaling,
  title  = {Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach},
  author = {Jonas Geiping and Sean McLeish and Neel Jain and John Kirchenbauer and Siddharth Singh and Brian R. Bartoldson and Bhavya Kailkhura and Abhinav Bhatele and Tom Goldstein},
  year   = {2025},
  eprint = {2502.05171},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.05171v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.05171.svg)](https://codeofpaper.com/paper/2502.05171)

Discussion