Latent Reasoning with Supervised Thinking States
Ido Amos, Avi Caciularu, Mor Geva, Amir Globerson, Jonathan Herzig, Lior Shani, Idan Szpektor
TL;DR
This work introduces Thinking States, a recurrent reasoning framework that generates natural-language thoughts while processing input chunks, compresses them into fixed-size states, and injects these states into subsequent token representations without expanding the context window. The Thinking Block T and Compression Block C enable a chunk-recurrent architecture with teacher-forced supervision, allowing fully parallel training and avoiding backpropagation through time. Empirically, Thinking States improves latent reasoning baselines, matches or nears CoT on multi-hop QA, and delivers significant speedups on state-tracking and GSM8K-style tasks, while maintaining strong length generalization. The approach also provides interpretability through the recovered thinking traces and identifies failure modes such as state ambiguity, suggesting prompts or decoding refinements as possible remedies and future directions including RL-based fine-tuning.
Abstract
Reasoning with a chain-of-thought (CoT) enables Large Language Models (LLMs) to solve complex tasks but incurs significant inference costs due to the generation of long rationales. We propose Thinking States, a method that performs reasoning {\em while} the input is processing. Specifically, Thinking States generates sequences of thinking tokens every few input tokens, transforms the thoughts back into embedding space, and adds them to the following input tokens. This has two key advantages. First, it captures the recurrent nature of CoT, but where the thought tokens are generated as input is processing. Second, since the thoughts are represented as tokens, they can be learned from natural language supervision, and using teacher-forcing, which is parallelizable. Empirically, Thinking States outperforms other latent reasoning methods on multiple reasoning tasks, narrowing the gap to CoT on math problems, and matching its performance on 2-Hop QA with improved latency. On state-tracking tasks, we show Thinking States leads to stronger reasoning behavior than CoT, successfully extrapolating to longer sequences than seen during training.
