Latent Reasoning with Supervised Thinking States

Ido Amos, Avi Caciularu, Mor Geva, Amir Globerson, Jonathan Herzig, Lior Shani, Idan SzpektorarXiv 2026

TL;DR

Chain-of-Thought (CoT) reasoning significantly boosts Large Language Model (LLM) accuracy but incurs a heavy "token tax" at inference time. This paper introduces Thinking States, a novel architecture that generates natural-language thoughts while processing the input query, compressing them into fixed-size latent vectors that guide future tokens. This approach achieves CoT-level performance on complex tasks with substantial speedups, while completely bypassing the expensive training costs typically associated with latent reasoning models.

What Problem Does This Paper Address?

While generating step-by-step rationales (Chain-of-Thought) helps LLMs solve complex math and logic problems, it dramatically increases latency and computational costs because the model must autoregressively generate dozens of intermediate tokens before reaching the final answer.

To fix this, researchers have tried "latent reasoning"—forcing models to think internally using continuous vector embeddings instead of text. However, existing latent methods suffer from a major dilemma:

  1. They require Backpropagation Through Time (BPTT) to train the hidden states because there is no ground-truth text to supervise them, making training slow and unscalable.
  2. Or, they compress the reasoning directly into the query's standard representations, which limits the model's sequential thinking capacity to its fixed layer depth.

The authors tackle this gap by designing a method that retains the sequential, step-by-step conditioning of CoT but hides the thoughts inside a recurrent latent state, keeping the visible context window clean and static.

Methods

Figure 1. Reasoning with a Thinking State compared to Chain-of-Thought: An LLM is trained to generate task-relevant thinking sequences while processing tokens. Each generated thought sequence is transformed into a fixed-size state, denoted by S, added to the following token representations.

The Thinking States architecture breaks the input query into non-overlapping token chunks and processes them iteratively using a backbone LLM augmented with two lightweight modules:

  1. Thinking Block ($T$): A single-layer Transformer decoder that extracts hidden representations from a deep layer of the LLM and autoregressively generates a short reasoning sequence ($Z$) in natural language.
  2. Compression Block ($C$): A Transformer encoder that takes this variable-length text thought ($Z$) and compresses it into a fixed-size vector representation called a Thinking State ($S$).

This state ($S$) is then injected (added) directly into the input embeddings of the next token chunk at a shallow layer. This creates a recurrent loop where future chunks are conditioned on past internal thoughts without expanding the context length.

Parallel Training via Teacher-Forcing

Because the thoughts ($Z$) are generated in natural language, the authors can align standard CoT datasets to specific chunks in the input text. During training, they use teacher-forcing to inject the ground-truth compressed states into the model. This allows the entire sequence to be processed in a single, fully parallelized forward pass, completely avoiding the need for BPTT.

Fast Speculative Prefill

At inference time, sequential processing across chunks could slow down query prefill. To mitigate this, the authors introduce an exact speculative algorithm: the model first processes all chunks in parallel, assuming no reasoning is needed (states are trivial). It then identifies the first chunk that actually generates a thought, updates the cache, and re-runs the remaining chunks. Since most text chunks don't require active thinking, this drastically reduces prefill latency.

Datasets

The model was evaluated across synthetic and real-world reasoning benchmarks:

  • State Tracking (Synthetic): Parity (tracking a binary state through flip operations) and Variable Assignment (Vars) (tracking multiple interacting integer variables). These were specifically used to test out-of-distribution length generalization.
  • General Reasoning: GSM8K (a dataset of ~400K simple math word problems) and a 2-Hop Question Answering (QA) dataset, evaluated under both Full Knowledge (FK) and Parametric Knowledge (PK) settings.

Key Insights and Ideas

  • Bypassing BPTT: The "aha moment" of this paper is that using natural language as an intermediate step inside the architectural loop allows for parallel training. As shown in the paper's training cost analysis, while BPTT training costs scale up linearly and prohibitively, Thinking States maintain a flat, near-constant training time regardless of reasoning depth.
  • Static Context, Better Extrapolation: Because the thinking states are injected as fixed-size vectors rather than appended text tokens, the context length remains constant. This architectural constraint actually helps the model generalize better to longer sequences than seen during training, outperforming standard CoT on length extrapolation tasks.
  • Inherent Interpretability: Unlike fully continuous latent models whose hidden states are black boxes, a Thinking State can be directly inspected at any step simply by passing its source representations through the Thinking Block to output human-readable text.

Key Results

General Reasoning Performance

On the GSM8K math benchmark, Thinking States achieved 42.22% accuracy, significantly outperforming other latent reasoning baselines like Coconut (32.65%) and iCoT (34.00%), while delivering a 2.66× wall-clock speedup over standard CoT.

On 2-Hop QA, Thinking States virtually matched CoT accuracy while providing a 1.19× to 1.23× speedup:

  • Full Knowledge: Thinking States 54.91% vs. CoT 54.79%
  • Parametric Knowledge: Thinking States 43.05% vs. CoT 43.07%

Length Generalization

On the synthetic Parity task (trained on up to 40 state updates), standard CoT accuracy degraded to 64.38% when tested on longer sequences (up to 100 updates). Thinking States maintained a perfect 100% accuracy, demonstrating robust recurrent state tracking.

Limitations and Future Work

  • State Ambiguity: The primary failure mode identified is "state ambiguity." Because the backbone model is causal (left-to-right), Thinking States struggle when the core question or quantity of interest is only revealed at the very end of a long prompt. The model sometimes tracks the wrong variables early on because it cannot anticipate the final question. Prepending the question to the prompt mitigated this issue, boosting GSM8K accuracy to 48.65%.
  • Future Directions: The authors suggest extending Thinking States from the query prefill stage into the token decoding phase to allow for dynamic "per-token" compute during generation. They also propose using this architecture as a stable "warm-start" initialization for Reinforcement Learning (RL) training.

Summary updated

BibTeX
@misc{amos2026latent,
  author = {Ido Amos and Avi Caciularu and Mor Geva and Amir Globerson and Jonathan Herzig and Lior Shani and Idan Szpektor},
  title = {{Latent Reasoning with Supervised Thinking States}},
  year = {2026},
  eprint = {2602.08332},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.08332},
}
Figure