Abstract
Chain-of-Thought (CoT) reasoning significantly enhances the problem-solving capabilities of Large Language Models (LLMs) but introduces a substantial "token tax," increasing latency and computational costs. Continuous CoT (CCoT) attempts to mitigate this by representing reasoning steps as dense hidden vectors. However, previous CCoT approaches have struggled with weak alignment, incoherent targets, and performance drops on complex problems. We introduce SynAdapt, a framework that optimizes synthetic CCoT targets for precise alignment and utilizes an adaptive difficulty classifier to route queries. SynAdapt allows models to reason via fast internal representations for easy tasks while maintaining high accuracy on difficult problems through selective discrete reasoning. Our results demonstrate a 9.14x relative gain in efficiency-sensitive scenarios compared to existing CCoT baselines.
Introduction
Discrete Chain-of-Thought (DCoT) reasoning is computationally expensive, making it impractical for real-time applications. While Continuous CoT (CCoT) offers a path toward "thinking" in internal vector spaces, existing methods face three critical hurdles: weak alignment between hidden states and reasoning paths, incoherent targets derived from fragmented text tokens, and a failure to handle high-difficulty problems where compressed reasoning lacks necessary nuance.
Methodology
SynAdapt addresses these challenges through a multi-stage pipeline involving synthetic target generation, iterative refinement, and adaptive inference.
1. Synthetic CCoT Generation
Rather than aligning hidden states with discrete text, SynAdapt optimizes a Synthetic CCoT ($Z_{syn}$). By freezing the LLM's weights and iteratively updating a vector to minimize answer loss, the framework creates a dense, mathematically effective internal representation that serves as a high-quality alignment target.
2. Enhanced Fine-Tuning and Iterative Refinement
The model is trained to generate these synthetic targets through iterative refinement. Instead of standard autoregressive generation, the model loops its hidden states to "polish" an initial draft into the final CCoT, treating reasoning as a global optimization task.
3. Adaptive Reasoning via Difficulty Classification
During inference, a two-layer MLP difficulty classifier analyzes the question and the initial CCoT attempt.
- Easy Questions: The model proceeds directly from the CCoT to the answer, maximizing efficiency.
- Hard Questions: The model "re-thinks" the problem using a condensed version of traditional discrete CoT to ensure high accuracy.
Experimental Setup
SynAdapt was trained on a 10% sample of the DeepMath-103K dataset. Evaluation spanned five diverse mathematical benchmarks: AIME24/25, AMC23, MATH500, GSM8K, and a composite MixD dataset designed to test difficulty-based routing.
Results and Analysis
The performance of SynAdapt was measured using the Relative Gain (Rel-G) metric, balancing accuracy against generation length.
- Efficiency and Accuracy: In efficiency-sensitive modes ($\tau=1.0$), SynAdapt achieved a 9.14x Rel-G score, reducing generation length to ~585 tokens. In accuracy-sensitive modes ($\tau=0.5$), it matched the performance of the base DeepSeek-R1-Distill-Qwen-7B model while reducing token usage by nearly 40% (from ~7,786 to ~4,695 tokens).
- Synthetic vs. Discrete Targets: A key insight is that internal "thoughts" do not need to be human-readable to be effective. Synthetic targets provide a more stable and precise signal for model alignment than discrete text fragments.
- Adaptive Routing: The difficulty classifier's ability to inspect the model's internal "struggle" (via the initial CCoT) proves more effective than judging difficulty from the prompt alone.
Conclusion
SynAdapt demonstrates that LLMs can achieve significant efficiency gains by learning to reason in a continuous vector space without sacrificing the ability to handle complex tasks. Future work will explore the generalizability of synthetic CCoT to non-mathematical domains and investigate multi-level CCoT densities to further reduce reliance on discrete tokens.
Summary updated