Stabilizing Recurrent Dynamics for Test-Time Scalable Latent Reasoning in Looped Language Models

Xiao-Wen Yang, Ziyu Han, Xi-Hua Zhang, Wen-Da Wei, Jie-Jing Shao, Lan-Zhe Guo, Yu-Feng Li

Introduction

Standard Large Language Models (LLMs) typically scale their reasoning capabilities by generating more text, a process popularized by Chain-of-Thought prompting. However, a newer paradigm known as Looped Language Models (LoopLMs) attempts to scale reasoning internally—in the "latent space"—by passing hidden states through the same transformer block multiple times. In theory, more recurrent loops should equate to deeper "thinking" and more accurate answers.

In practice, LoopLMs are notoriously unstable. Researchers consistently observe a "performance peak" followed by a sharp collapse: a model trained for four loops might perform well at that depth, but if run for eight loops at test time, its accuracy often plummets to zero. To address this vulnerability, a new training framework called STARS (STAbility-driven Recurrent Scaling) has been proposed. STARS forces latent reasoning trajectories toward stable fixed points, enabling models to maintain high performance even as reasoning depth increases.

The Normalization Deadlock: Stability vs. Effectiveness

The paper identifies a fundamental trade-off in current LoopLM architectures, primarily driven by the placement of LayerNorm:

  • Internal Normalization (Pre-Norm): This configuration creates an "information highway" that allows for effective reasoning, but it causes hidden states to explode exponentially over multiple loops, leading to catastrophic collapse.
  • External Normalization (Post-Norm): This acts as a cage, keeping states bounded and stable, but it prevents the model from performing deep, effective reasoning.

The authors conceptualize reasoning as a process of uncertainty reduction. As the model "thinks," it moves from a high-uncertainty state to a stable, certain answer. Mathematically, this means the latent state should settle into a stable fixed point (an attractor) rather than diverging into chaos or getting trapped in shallow representations. You cannot simply choose between stability and effectiveness: a stable but ineffective model gives a fast, confident, but wrong answer, while an effective but unstable model might find the right answer at step 4 but lose it by step 5. STARS is designed to bridge this gap.

The STARS Framework

STARS treats the model's reasoning process as a discrete-time dynamical system. To ensure that internal thoughts converge to a stable fixed point, the framework introduces three key components:

  1. Jacobian Spectral Radius Regularization (JSRR): According to control theory, a dynamical system is stable if the spectral radius (the largest eigenvalue) of its Jacobian matrix is less than 1. STARS adds a penalty during training to keep this radius small, actively guiding the model toward stability.
  2. Efficient Estimation: Calculating exact eigenvalues for massive LLMs is computationally impossible. STARS uses a clever workaround: a single-step power iteration combined with Jacobian-vector products (JVP). This provides a reliable gradient signal for stability without the massive overhead of computing the full Jacobian matrix.
  3. Random Loop Sampling: Instead of training on a fixed number of iterations, the model is trained on a distribution of loop depths. This exposes the model to various "thinking" durations, helping it generalize across different recurrent scales at test time.

Experimental Setup and Key Results

The researchers evaluated STARS across two primary settings: synthetic arithmetic (a 100,000-sample 4-digit addition task used to visualize latent trajectories) and complex mathematical reasoning. For the latter, they fine-tuned the Ouro-1.4B model (a pre-trained LoopLM) on a 400k subset of NuminaMath-1.5. Evaluations spanned standard math benchmarks including GSM8K, MATH500, ASDiv, SVAMP, and AMC23.

The results demonstrate that STARS successfully stabilizes latent reasoning:

  • Reliable Scaling: On the arithmetic task, STARS maintained 100% accuracy even when the number of recurrent steps was scaled to thousands—far beyond the training horizon.
  • Mitigating Collapse: On the GSM8K benchmark, the baseline Ouro-1.4B model suffered a 20.47% drop in accuracy when scaling from 4 to 8 steps. The STARS-trained version reduced this degradation significantly, dropping by only 8.26%.
  • Improved Peak Performance: STARS did not just improve stability; it also boosted best-case performance. On GSM8K, it improved peak accuracy by 4.01% compared to standard supervised fine-tuning.
  • Training Efficiency: While JSRR adds computational overhead, the authors found that STARS training costs roughly 2x that of standard fine-tuning—a highly manageable trade-off for the resulting stability gains.

Limitations and Future Directions

While STARS represents a significant step forward for LoopLMs, some challenges remain. First, test-time scaling is still non-monotonic for the most difficult problems; while catastrophic collapse is prevented, more steps do not always guarantee a better result. Second, the empirical evidence is currently focused on mathematical and algorithmic reasoning. Whether these stability gains translate to subjective tasks, like creative writing or strategic planning, remains an open question.

Future work may explore "adaptive stopping" or "early exit" mechanisms. Because STARS drives the model toward a stable attractor, a system could theoretically monitor the latent state and automatically halt the loop once it detects that a fixed point has been reached, optimizing both accuracy and computational efficiency.

Summary updated

BibTeX
@inproceedings{yang2026stabilizing,
  author = {Xiao-Wen Yang and Ziyu Han and Xi-Hua Zhang and Wen-Da Wei and Jie-Jing Shao and Lan-Zhe Guo and Yu-Feng Li},
  title = {{Stabilizing Recurrent Dynamics for Test-Time Scalable Latent Reasoning in Looped Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=tbdSfBMlbq},
}
Figure