NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning from Recurrence: Internalizing Depth-Induced Preferences in Looped Language Models

Hui Chen, Joshua Elsdon, Can GoksenarXiv 2026

TL;DR

Imagine if taking a second to "think twice" didn't just give you a better answer right now, but permanently upgraded the neural circuitry you use to think in the future. Looped language models "think" longer by running data through the same middle layers multiple times before spitting out a word. This paper shows that by taking the model's multi-pass answers and training its shared core on them in a single pass—without any ground-truth labels—the model becomes smarter both when thinking fast and when thinking deep.

What Problem Does This Paper Address?

Standard Transformers have a fixed computational budget per token: data flows from layer 1 to layer $N$, and out pops a prediction. Looped language models decouple parameter count from computation depth by sandwiching a shared, recurrent block of layers between an input "prelude" and an output "coda." Looping through this middle core multiple times lets a compact model punch well above its weight class on reasoning tasks.

However, two big questions lingered: First, what are those extra loops actually doing to the model's predictions? Second, once a model develops better reasoning by looping deeply, can the shared core internalize that deeper behavior so its baseline operator permanently improves?

Methods

Following standard recipes, the authors retrofit a pretrained 1B-parameter model (OLMo-2-1B) into a looped architecture: 7 input blocks, 4 shared recurrent core blocks, and 5 output blocks, using input injection (feeding the initial encoded representation into every recurrent pass). They adapt it via mid-training across varying loop counts toward target mean depths of 4, 8, and 32.

What’s new is preference write-back, a self-distillation technique that decouples the depth used to expose behavior from the depth used to learn it:

  1. Generate: Freeze the model and generate greedy text continuations on math prompts using deep recurrence (e.g., 4 passes). Crucially, no reference answers or correctness filters are used—mistakes and all are kept.
  2. Write-back: Train only the shared 4-block recurrent core to predict those self-generated continuations, but force it to do so in a single pass ($r_L = 1$).
  3. Reuse: At test time, run the newly updated core for multiple passes again.
Figure 2: Preference write-back. (a) The frozen model generates one greedy continuation per prompt at teacher depth rT, without reference answers or filtering. (b) These trajectories train only the shared recurrent core through a single pass (rL=1). The updated core is reused at every pass.

Datasets

  • Mid-training: Dolmino mixture (50B tokens).
  • Write-back Supervision Pools: Unlabeled prompts from OpenMath (10k–50k subsets) and GSM8K training questions. No new benchmarks were introduced.
  • Evaluation: Six math reasoning benchmarks (GSM8K, GSM1K, SVAMP, GSM-Symbolic, ASDiv, AQuA-RAT) and 17 general capability tasks from the OLMES suite (covering knowledge, reading, science QA, and commonsense).

Key Insights and Ideas

  • Looping mostly reshuffles the top suspects: Extra passes don't invent wild new ideas out of thin air. In the 4-pass model, the top-ranked token stays identical across passes 95.6% of the time. When the winning token does change, 99.4% of the time the new winner was already sitting in the first pass's top five! Recurrence acts as a tie-breaker among plausible candidates.
Figure 1: Recurrence revises predictive preference. At a fixed prefix, successive recurrent passes redistribute probability among leading candidates, occasionally changing which continuation is preferred.
  • Less is more during write-back training: Counterintuitively, training the core on 4-pass targets using 1 pass beats training it using 4 passes (62.70% vs. 56.86% on GSM8K). Why? Unrolling backpropagation through 4 passes weakens and redirects the gradient—by the time it reaches the first pass, its norm shrinks to 7.3% and its cosine similarity to the direct 1-pass gradient drops to nearly zero (0.009).
  • A 1-pass lesson upgrades Pass 2, 3, and 4: You might worry that training at depth 1 turns the block into a greedy "one-shot" operator that ruins multi-step iteration. To test this, the authors ran a clever hybrid experiment: using the original core on Pass 1, and swapping in the updated core exclusively on Passes 2–4. That setup recovered 6.29 of the 6.52-point GSM8K gain! The single-pass update genuinely improved the operator's ability to refine later recurrent states.
Gradient attenuation across passes (left) and pass-swapping ablation showing later passes drive the accuracy gain (right).
  • Architecture dictates learnability: The magic of 1-pass training relies on input injection. In a matched model built without input injection, 4-pass training outperformed 1-pass training. Keeping the original input anchored at every step makes states across different passes compatible enough for a shallow update to generalize across depth.

Key Results

  • Crushing the non-looped baseline: Across all six math benchmarks, looped models with preference write-back beat a compute- and data-matched non-looped control by mean relative accuracy gains of 34.9% to 46.2%.
  • Compound gains: On GSM8K, the mean-depth-4 model starts at 40.86% (1 pass) and 56.18% (4 passes). After write-back, it jumps to 48.52% (1 pass) and 62.70% (4 passes)—it gets better at 1 pass and still gains +14.18 points from looping.
  • Extreme depth transfer: Even when a mean-depth-32 model is virtually broken at 1 pass (4.09% on GSM8K), training through that single pass lifts its 32-pass accuracy from 57.01% to 62.09%.
  • No catastrophic forgetting: Despite distilling purely on math continuations, average scores across the 17 non-mathematical OLMES benchmarks shifted by less than 0.2 percentage points.

Limitations and Future Work

While the main text does not feature a standalone limitations section, controlled ablations across public models highlight clear boundary conditions: one-pass write-back hurts multi-pass performance on recurrent architectures without fixed input injection (such as Ouro, which dropped ~3% at 4 passes despite big 1-pass gains) or models with gated recurrent updates (LoopUS). For future work, the authors point toward exploring how emergent recurrent behaviors can continuously guide a model's ongoing training—turning test-time recurrence into an engine for self-improvement.

Summary updated

BibTeX
@misc{chen2026learning,
  author = {Hui Chen and Joshua Elsdon and Can Goksen},
  title = {{Learning from Recurrence: Internalizing Depth-Induced Preferences in Looped Language Models}},
  year = {2026},
  eprint = {2611.33468},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33468},
}
Figure