A Mechanistic Analysis of Looped Reasoning Language Models
Organizations: University of Oxford · Mila – Quebec AI Institute · Universit´e de Montréal · AITHYRA
Abstract
Reasoning has become a central capability in large language models. Recent research has shown that reasoning performance can be improved by looping an LLM's layers in the latent dimension, resulting in looped reasoning language models. Despite promising results, few works have investigated how their internal dynamics differ from those of standard feedforward models. In this paper, we conduct a mechanistic analysis of the latent states in looped language models, focusing in particular on how the stages of inference observed in feedforward models compare to those observed in looped ones. To this end, we analyze cyclic recurrence and show that for many of the studied models each layer in the cycle converges to a distinct fixed point; consequently, the recurrent block follows a consistent cyclic trajectory in the latent space. We provide evidence that as these fixed points are reached, attention-head behavior stabilizes, leading to constant behavior across recurrences. Empirically, we discover that recurrent blocks learn stages of inference that closely mirror those of feedforward models, repeating these stages in depth with each iteration. We study how recurrent block size, input injection, and normalization influence the emergence and stability of these cyclic fixed points. We believe these findings help translate mechanistic insights into practical guidance for architectural design.
Figures & tables
Appendix figures & tables55 assets
Supplementary material from the paper’s appendix.
Appendix
| Model Name | Structure | Train Loops | Block Norm | Norm After Loop? |
|---|---|---|---|---|
| Ouro 1.4B ( Zhu et al., 2025 ) | 4 | Yes | ||
| Huginn-0125 ( Geiping et al., 2025 ) | 32 | Yes | ||
| Retrofitted ( McLeish et al., 2025 ) | / | 32 | No |
| Model | Num Params | Huggingface ID | Base Model | Prepends BOS | Notes |
| Ouro 1.4B | 1.4B | ByteDance/Ouro-1.4B | - | - | |
| Ouro 2.6B | 2.6B | ByteDance/Ouro-2.6B | ByteDance/Ouro-1.4B | “Upcycled” from Ouro 1.4B by repeating the same layers after the first training phase. | |
| Huginn-0125 | 3.5B | tomg-group-umd/huginn-0125 | - | - | |
| Retrofitted Llama | 1B | smcleish/Recurrent-Llama-3.2-train-recurrence-32 | meta-llama/Llama-3.2-1B | Models trained with fewer recurrences exhibit similar mixing patterns. | |
| Retrofitted OLMo-2 | 1B | smcleish/Recurrent-OLMo-2-0425-train-recurrence-32 | allenai/OLMo-2-0425-1B | As above. | |
| Retrofitted TinyLlama | 0.8B | smcleish/Recurrent-TinyLlama-3T-train-recurrence-32 | TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T | As above. |
| Model | System Prompt | Non-Fixed-Point % | Orbit % | Slider % | Unknown % |
|---|---|---|---|---|---|
| Huginn | Long Persona | 0.14 | 0.13 | 0.00 | 0.01 |
| Huginn | Long Persona (Padded) | 0.05 | 0.02 | 0.02 | 0.01 |
| Huginn | No System Prompt | 0.02 | 0.01 | 0.01 | 0.00 |
| Huginn | Short Math | 0.01 | 0.00 | 0.00 | 0.00 |
| Retrofitted-Llama | Long Persona | 0.00 | 0.00 | 0.00 | 0.00 |
| Retrofitted-Llama | Long Persona (Padded) | 0.00 | 0.00 | 0.00 | 0.00 |
| Model | System Prompt | Non-Fixed-Point % | Orbit % | Slider % | Unknown % |
|---|---|---|---|---|---|
| Huginn | Long Persona | 2.81 | 2.50 | 0.15 | 1.06 |
| Huginn | Long Persona (Padded) | 0.83 | 0.23 | 0.61 | 0.15 |
| Huginn | No System Prompt | 0.76 | 0.53 | 0.15 | 0.08 |
| Huginn | Short Math | 0.45 | 0.38 | 0.08 | 0.00 |
| Retrofitted-Llama | Long Persona | 0.00 | 0.00 | 0.00 | 0.00 |
| Retrofitted-Llama | Long Persona (Padded) | 0.00 | 0.00 | 0.00 | 0.00 |
Recurrent Transformers
Recurrent Transformers reuse layers or state across steps to extend context, reasoning depth, and sequence modeling with less parameter growth.
See all 172 papers