Latent Reasoning in LLMs as a Vocabulary-Space Superposition

Jingcheng Deng, Liang Pang, Zihao Wei, Shicheng Xu, Zenghao Duan, Kun Xu, Yang Song, Huawei Shen, Xueqi Cheng · Submission to ICLR 2026 · Rejected

TL;DR

Latent reasoning compresses verbose chain-of-thought generation by thinking in continuous representations rather than natural language tokens, but prior methods degrade performance by feeding unconstrained hidden states back into the model. Latent-SFT solves this by constraining latent tokens to the column space of vocabulary embeddings (forming a "soft embedding" superposition). This matches or exceeds explicit Chain-of-Thought accuracy on GSM8k while shortening reasoning sequences by up to 4×, and proves that latent reasoning simultaneously compresses single paths and superimposes multiple alternative solutions.

What Problem Does This Paper Address?

Explicit Chain-of-Thought (CoT) prompting enables large language models (LLMs) to tackle complex reasoning, but generating long sequences of text tokens is slow and computationally expensive. Recent work (such as COCONUT) proposed "latent reasoning"—feeding the model's final-layer hidden state directly into the next step as a continuous thought vector. However, this often causes severe performance drops.

The authors identify two fundamental reasons for this degradation:

  1. Distributional Discrepancy: LLMs expect token embeddings at their input layers. Final-layer hidden states have radically different distributions, norms, and variances, inducing severe out-of-distribution shifts when fed into early layers like RMSNorm.
  2. Low Effective Rank: The semantic embedding space of an LLM is inherently low-dimensional. Treating latent tokens as unconstrained vectors in high-dimensional hidden space causes the model to lose semantic coherence.

Methods

To keep latent vectors within the model's native semantic manifold, the authors introduce Latent-SFT, formulating latent tokens as Soft Embeddings—linear combinations of word embedding vectors weighted by model vocabulary probabilities: $$z = \sum_{v=1}^V \alpha_v e_v = E\alpha$$ This confines latent reasoning to the vocabulary simplex (a "vocabulary superposition"), collapsing to a sharp, discrete token distribution once the explicit answer begins.

The training framework operates in two stages:

  1. Generating Latent Tokens via Induction–Supervision Masking:
  2. Latent Token Induction Mask (LTIM): Special tokens are placed after sub-segments of explicit reasoning chains. LTIM ensures each special token only attends to preceding explicit text, forcing it to compress previous reasoning steps.
  3. Latent Token Supervision Mask (LTSuM): Ensures that the resulting soft embedding can decode subsequent explicit reasoning steps and the correct answer.
  4. An alternating Expectation-Maximization (EM)-style schedule is used to stabilize joint optimization between the encoder and decoder.
  5. Autonomous Latent Generation:
  6. The encoder is discarded. The LLM is trained directly to autoregressively generate these latent token distributions using Kullback–Leibler (KL) divergence loss on latent positions, followed by standard cross-entropy (CE) loss on the explicit final answer.

Datasets

  • Low-Difficulty Reasoning: Evaluated on GSM8k-Aug (used for training), and tested for out-of-distribution generalization on GSM-Hard, SVAMP, and MultiArith.
  • High-Difficulty Reasoning: Evaluated on MATH-500 and AIME24. Training used a 57,544-sample subset of Open-R1 restricted to reasoning chains under 4,000 tokens.
  • Multi-Chain GSM8k-Aug (Newly Introduced): Built using GPT-5 to generate multiple logically valid, alternative reasoning chains for 1,310 GSM8k problems (filtered for format and pairwise edit-distance diversity) to test whether latent tokens represent superpositions of distinct paths.

Key Insights and Ideas

  • Vocabulary Column Space as a Regularizer: Forcing continuous thoughts to stay within the convex hull of word embeddings bridges the gap between discrete tokens and continuous representations, resolving the distribution shift that crippled prior hidden-state approaches.
  • Dual Nature of Latent Reasoning:
  • Single-path compression: Using the Top-K Effective Compression Ratio (ECR@K), the authors show latent tokens retain content from multiple explicit tokens ($ECR > 1$).
  • Multi-path superposition: Using Effective Global Parallelism ($N_{\text{eff}}$), the authors demonstrate that latent states do not just compress one path; probability mass is distributed across an average of 3 to 4 alternative paths ($N_{\text{eff}} \approx 3.6$–$4.6$, well above the single-path threshold of 1.7) with strong competition between top alternatives.
  • Explicit CoT is Not the Upper Bound: By representing multiple parallel solution paths in superposition, latent models can actually surpass explicit single-path reasoning models in accuracy while using fewer tokens.

Key Results

  • GSM8k-Aug (LLaMA-3.2-1B-Instruct):
  • Latent-SFT ($r=2$): Reached 50.4% Pass@1 with 12.4 tokens, outperforming explicit CoT-SFT (49.4%, 25.6 tokens) while cutting sequence length roughly in half.
  • Latent-SFT ($r=4$): Achieved 44.6% Pass@1 with only 6.64 tokens, crushing prior latent methods like COCONUT (23.1%), CODI (13.3%), and CoLaR-5 (26.8%).
  • Across all four low-difficulty benchmarks, Latent-SFT averaged 53.2% Pass@1, outperforming CoLaR-2 (48.8%) and explicit CoT (53.6%).
  • Challenging Benchmarks (DeepSeek-Distill-Qwen-7B):
  • On MATH-500, Soft Embedding achieved 79.8% Pass@1 (vs. 67.8% for raw hidden states).
  • On AIME24, Soft Embedding reached 19.2% Pass@1 (vs. 7.78% for raw hidden states).

Limitations and Future Work

  • Long-Chain Error Accumulation: On challenging benchmarks requiring very long inference chains (e.g., AIME24 averages ~12k tokens), performance drops relative to full explicit CoT (54.4%). Latent errors accumulate over long horizons.
  • Training Constraints: Compute restrictions limited training data to reasoning paths shorter than 4,000 tokens, directly hindering generalization to extremely long reasoning problems.
  • Future Directions: Scaling up training context lengths, optimizing dynamic compression rates, and refining reinforcement learning alongside soft-embedding latent spaces.

Summary updated

BibTeX
@misc{deng2025latent,
  author = {Jingcheng Deng and Liang Pang and Zihao Wei and Shicheng Xu and Zenghao Duan and Kun Xu and Yang Song and Huawei Shen and Xueqi Cheng},
  title = {{Latent Reasoning in LLMs as a Vocabulary-Space Superposition}},
  year = {2025},
  eprint = {2510.15522},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.15522},
}

Loading related content...

Figure