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

CTRLS: Chain-of-Thought Reasoning via Latent State-Transition

Junda Wu, Yuxin Xiong, Xintong Li, Sheldon Yu, Zhengmian Hu, Tong Yu, Rui Wang, Xiang Chen, Jingbo Shang, Julian McAuley · OpenReview

Abstract

Chain-of-thought (CoT) reasoning enables large language models (LLMs) to break down complex problems into interpretable intermediate steps, significantly enhancing model transparency and performance in reasoning tasks. However, conventional CoT methods rely on heuristic sampling without structured modeling of reasoning transitions, constraining their ability to systematically explore and discover diverse and effective reasoning trajectories. In this work, we introduce CTRLS, a framework that formulates CoT reasoning as a Markov decision process (MDP) with latent state transitions, enabling principled and state-aware exploration via distributional reinforcement learning. By modelling reasoning actions as explicit probability distributions in latent space, our approach explicitly models epistemic uncertainty, facilitating robust exploration of the reasoning space. As part of our framework, we introduce an on-policy reinforcement learning strategy incorporating epsilon-greedy exploration and entropy-based regularization to iteratively refine latent state transitions without requiring additional fine-tuning of the underlying LLM. Theoretical analyses provide evidence lower bounds (ELBO), theoretically grounding our transition-aware modeling of latent reasoning dynamics. Further experiments demonstrate improvements in reasoning accuracy, diversity, and exploration efficiency across benchmark reasoning tasks.

Introduction

Standard Chain-of-Thought (CoT) reasoning operates primarily as an autoregressive token prediction task. While effective, this approach often suffers from two major flaws: premature commitment, where a model follows a single reasoning path without considering alternatives, and a lack of structure, as it relies on heuristic sampling rather than modeling the underlying dynamics of reasoning transitions. This often leads to confident but incorrect conclusions when the model encounters complex logical branches.

Comparison of conventional autoregressive CoT vs. transition-aware CoT.

To address these limitations, we propose CTRLS (Chain-of-Thought Reasoning via Latent State Transition). CTRLS transforms reasoning into a structured journey through a latent state space, modeled as a Markov Decision Process (MDP). This allows the model to explore diverse reasoning trajectories and explicitly account for epistemic uncertainty—knowing when it is "unsure" to encourage broader exploration.

Methodology

The CTRLS framework is built upon three core pillars: latent state transitions, distributional reinforcement learning, and a two-phase training strategy.

Latent State MDP

Instead of generating text purely autoregressively, CTRLS infers a "latent state" representing the current problem-solving progress. It learns a transition policy to move between these logical states. By modeling actions as probability distributions (specifically using Dirichlet distributions), the framework facilitates robust exploration and prevents the model from collapsing into repetitive reasoning styles.

Training Pipeline

The training process consists of two distinct phases designed to align latent states with reasoning logic without fine-tuning the base LLM:

  1. Phase 1: Offline CTRLS Pretraining: The model learns to map reasoning steps to latent states using a variational approach optimized via an Evidence Lower Bound (ELBO).
  2. Phase 2: On-Policy Reinforcement Learning: The transition policy is refined using the REINFORCE algorithm with entropy regularization and $\epsilon$-greedy exploration, rewarding correct final answers.
The two-phase CTRLS training pipeline.

To maintain efficiency, the base LLM remains frozen. A lightweight UNet Adapter is used to inject latent state guidance into the model's token representations, allowing the system to benefit from structured transitions while retaining the semantic richness of the original model.

Experiments and Results

We evaluated CTRLS using LLaMA-3.2-3B and Qwen2.5-3B backbones on two primary mathematical benchmarks: GSM8K (grade-school math word problems) and MATH (competition-level mathematics).

Performance Metrics

The primary metrics used were pass@20 (probability of success in 20 attempts) and Success Rate (Succ.).

  • GSM8K: CTRLS consistently outperformed base models. For instance, with LLaMA-3.2, CTRLS achieved a pass@20 of 85.0% compared to the base model's 77.5%.
  • MATH: On this more challenging dataset, the framework showed significant gains in exploration efficiency, discovering correct solutions for complex problems that base models missed entirely.

Qualitative Analysis

Using GPT-4 as an automated judge, the researchers found that CTRLS produced reasoning chains with significantly higher scores for self-reflection, algebraic correctness, and logical coherence. The model demonstrated an emergent ability to self-correct, catching its own errors where standard CoT would have proceeded to a wrong answer.

Discussion and Conclusion

CTRLS demonstrates that viewing reasoning as a stochastic trajectory through a latent space significantly enhances an LLM's ability to navigate complex problem spaces. By balancing exploration and exploitation through distributional RL, the model gains the ability to avoid logical "dead ends."

While highly effective, the framework's performance is sensitive to hyperparameters like the exploration rate ($\epsilon$). Future work will explore scaling these dynamics to larger models (70B+) and incorporating more granular reward functions, such as process-based feedback, to further refine reasoning transitions.

Summary updated

BibTeX
@inproceedings{wu2025ctrls,
  author = {Junda Wu and Yuxin Xiong and Xintong Li and Sheldon Yu and Zhengmian Hu and Tong Yu and Rui Wang and Xiang Chen and Jingbo Shang and Julian McAuley},
  title = {{CTRLS: Chain-of-Thought Reasoning via Latent State-Transition}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=CZom530U9J},
}
Figure