Large Language Models (LLMs) are famously good at "Chain-of-Thought" (CoT) reasoning—breaking down complex problems into step-by-step text. However, this explicit verbalization is a double-edged sword: it is computationally expensive and slow. Recent "Implicit CoT" methods attempt to move this reasoning into the model's hidden latent space, but they often struggle to match the accuracy of their talkative counterparts.
A new paper, SIM-CoT: Supervised Implicit Chain-of-Thought, identifies why these "silent thinkers" fail and proposes an elegant solution to make them both stable and high-performing.
TL;DR
SIM-CoT introduces step-level supervision to implicit reasoning by using an auxiliary decoder during training to align hidden "thought" tokens with specific reasoning steps. This prevents the "latent collapse" seen in previous methods, allowing models to achieve the accuracy of explicit reasoning with the speed and efficiency of implicit methods.
The Latent Instability Problem
While explicit CoT (writing out every step) works well, it is "token-hungry." Generating hundreds of intermediate tokens increases inference latency and cost. Implicit CoT aims to solve this by representing reasoning as a sequence of continuous vectors (latent tokens) rather than discrete text.
However, the authors identify a critical Latent Instability Issue: as you increase the computational budget (the number of latent "thinking" tokens) to solve harder problems, training often collapses.
The model’s internal representations become "homogeneous"—the vectors look too much like each other and lose their semantic diversity. For example, they forget how to distinguish between mathematical operators like a plus sign and a minus sign, collapsing into representing only numbers. Without clear step-level guidance, the model's "inner monologue" turns into gibberish, leading to a massive drop in accuracy.
The SIM-CoT Solution
To address this, the authors propose SIM-CoT (Supervised IMplicit-CoT), a plug-and-play training module designed to ground these hidden thoughts and enrich the latent reasoning space.
- Step-Level Supervision: Unlike previous methods that only supervise the final answer or the entire trajectory, SIM-CoT forces each individual latent token to align with a specific textual reasoning step.
- Auxiliary Decoder: During training, a small decoder is attached to the model. Its job is to "translate" each latent token back into human-readable text. This ensures the latent states capture distinct, meaningful information.
- Inference Efficiency: Crucially, this auxiliary decoder is discarded at inference time. The model "thinks" in its latent space without needing to generate text, maintaining the speed of implicit methods with no added overhead.
- Interpretability: Because the decoder exists during training, it can be used for "per-step visualization." Researchers can project each latent token onto an explicit reasoning vocabulary, allowing them to peek into the model's brain and diagnose exactly what it was "thinking" at each step.
Experimental Setup
The researchers focused on mathematical reasoning, utilizing:
- GSM8k-Aug: An augmented version of the Grade School Math 8K dataset, expanded to 385k examples using GPT-4 to provide structured reasoning paths.
- Out-of-Domain (OOD) Benchmarks: To test robustness, they evaluated on SVAMP, GSM-Hard (larger numbers), and MultiArith.
Key Results
SIM-CoT shows impressive gains across different model architectures, proving that implicit reasoning can be both stable and accurate:
- Accuracy Boosts: On GPT-2, it improved the Coconut baseline by +8.2% and the CODI baseline by +3.0% on LLaMA-3.1 8B.
- Efficiency: On GPT-2, SIM-CoT actually surpassed the explicit CoT baseline by 2.1% while being 2.3x more token-efficient.
- Closing the Gap: On larger models like LLaMA-3.1 8B, it effectively closed the performance gap between implicit and explicit reasoning, which has been a major hurdle for the field.
- Scaling Success: While previous methods collapsed when scaled to 5 or more latent tokens, SIM-CoT remains stable even when scaled to 8 or 16 tokens, allowing the model to handle more complex, multi-step problems.
Limitations and Future Work
While highly effective, SIM-CoT does come with trade-offs. Training requires an auxiliary decoder, which roughly doubles the parameter count and memory usage during the learning phase (though inference remains lightweight). Additionally, the current implementation uses a fixed number of latent tokens. Future work may explore "dynamic" implicit CoT, where the model decides how many latent steps it needs based on the difficulty of the question, further optimizing the alignment between ground-truth reasoning steps and latent tokens.
Summary updated