Abstract: Large language models (LLMs) demonstrate strong reasoning abilities with chain-of-thought prompting, but explicit reasoning introduces substantial computational overhead. Recent work on latent reasoning reduces this cost by reasoning in latent space without explicit supervision, but performance drops significantly. Our preliminary experiments suggest that this degradation stems from the unstructured latent space, which makes fitting latent tokens difficult. To address this, we restrict the latent space to the column space of the LLM vocabulary, treating latent reasoning as a superposition over vocabulary probabilities. Once latent reasoning concludes, it collapses into an eigenstate of explicit reasoning to yield the final answer. Based on this idea, we propose Latent-SFT, a two-stage learning framework. In the first stage, we design two specialized attention masks to guide the Latent Token Encoder in generating latent tokens, allowing the LLM to produce the correct answer conditioned on them. In the second stage, the Latent Token Encoder is discarded, and the LLM is directly trained to generate these latent tokens autonomously for latent reasoning, optimized with KL and CE losses. Latent-SFT sets a new state of the art on GSM8k, matching explicit SFT performance while cutting reasoning chains by up to 4 times and outperforming prior latent methods. On Math500 and AIME24, lexical probability-based latent reasoning also clearly surpasses hidden-state-based approaches. Our metrics of effective compression rate and effective global parallelism further show that latent reasoning is both the compression of a single path and the superposition of multiple paths.
Introduction
Chain-of-Thought (CoT) prompting has revolutionized LLM reasoning by allowing models to decompose complex problems into intermediate steps. However, this explicit reasoning comes with a high "token tax"—generating long strings of text is computationally expensive and introduces significant latency. "Latent reasoning" aims to mitigate this by performing these thought processes within the model's internal hidden states.
Previous attempts at latent reasoning, such as COCONUT, often suffered from performance degradation due to three core issues: distributional shift (hidden states drifting away from the pre-trained vocabulary space), ambiguous logic (difficulty ensuring the model is actually reasoning), and optimization instability. We propose Latent-SFT, a framework that treats latent reasoning as a superposition of vocabulary embeddings, ensuring thoughts remain within the semantic manifold the model understands.
The Latent-SFT Framework
Latent-SFT addresses the limitations of prior methods through a three-tiered approach:
- Token Level (Latent-Vocab): Instead of raw, unconstrained vectors, we define a latent token as a linear combination (superposition) of vocabulary embeddings. This keeps the latent space structured and intelligible to the model's output layers.
- Chain Level (Induction-Supervision Masking): We utilize two novel masking techniques. The Latent Token Induction Mask (LTIM) forces a latent token to summarize preceding reasoning steps, while the Latent Token Supervision Mask (LTSuM) ensures the token contains sufficient information to reconstruct subsequent steps and the final answer.
- Learning Level (Latent-Optim): To prevent path memorization, we employ stochastic Gumbel-Softmax during training. This injects noise that encourages the model to find robust, generalizable solutions.
The training follows a two-stage process. First, a Latent Token Encoder is trained with specialized masks to generate tokens that the LLM can use to produce correct answers. Second, the encoder is discarded, and the LLM is trained to generate these latent tokens autonomously, optimized via a combined KL and Cross-Entropy loss.
Theoretical Foundations: Reasoning as Superposition
A key insight of this work is that latent reasoning is not merely compressed text; it behaves like a quantum wavefunction. A single latent token can represent a "superposition" of several different logical paths simultaneously. As the model approaches the final answer, this high-entropy state collapses into a single, discrete linguistic state (the final answer).
This behavior is supported by the low-rank nature of language. By analyzing the singular values of LLM embedding matrices, we found that the semantic space is much lower-dimensional than the raw vector size suggests. Constraining thoughts to the "Latent-Vocab" space prevents the model from drifting into meaningless regions of the high-dimensional vector space.
Experimental Evaluation
We evaluated Latent-SFT across several mathematical benchmarks, including GSM8k, Math500, and the competition-level AIME24.
- Accuracy and Efficiency: On the 1B-parameter LLaMA model, Latent-SFT achieved a 52.4% Pass@1 on GSM8k, outperforming standard CoT (49.4%) while using significantly fewer tokens.
- Massive Compression: The method achieved a 2.7x to 5.5x reduction in reasoning length across benchmarks. On AIME24, the 7B model using Latent-SFT outperformed the explicit CoT baseline (19.2% vs 17.7%) while being nearly 3x faster.
- Parallelism: Using a metric called $N_{eff}$ (effective global parallelism), we demonstrated that the model effectively tracks 3–4 reasoning paths simultaneously within its latent states, proving the superposition hypothesis.
Conclusion and Future Work
Latent-SFT demonstrates that LLMs can perform complex reasoning more efficiently by operating in a structured latent space. While current results are promising, future work will explore semantic-based segmentation (grouping by logical steps rather than fixed ratios) and the behavior of latent superposition in larger "frontier" models (70B+). Although the latent tokens appear as gibberish to humans, they are semantically rich for the model, representing a significant step toward high-speed, high-accuracy machine reasoning.
Summary updated