Abstract
Recent advancements in large reasoning models (LRMs) have demonstrated the effectiveness of scaling test-time computation to enhance reasoning capabilities. However, LRMs often suffer from an "overthinking" problem, generating redundant reasoning steps with limited performance gains. In this work, we reveal that placing external Chains-of-Thought (CoTs) generated by smaller models between the thinking tokens (<think> and </think>) can effectively manipulate the model to generate fewer thoughts. We propose ThoughtMani, a pipeline that enables LRMs to bypass unnecessary intermediate steps, significantly reducing computational costs. Experiments show that for QwQ-32B on LiveBench/Code, ThoughtMani maintains performance while reducing output tokens by ~30%. We also identify and mitigate suboptimal modes like "unnecessary rethinking" to further optimize LRM inference.
Introduction
Large Reasoning Models (LRMs) like DeepSeek-R1 and QwQ often "overthink," generating thousands of redundant tokens for relatively simple tasks. While scaling test-time compute leads to breakthroughs in math and coding, it is incredibly inefficient. Models like QwQ consume 5 to 10 times more tokens than standard LLMs, often performing redundant checks or circular reasoning even on simple questions.
This research asks: Can we provide a "shortcut" to these models? Specifically, if we give an LRM a high-level summary of how to solve a problem, will it accept that external thought and skip its own expensive internal monologue, or will it insist on thinking for itself anyway?
Methods
The proposed ThoughtMani framework injects high-level reasoning steps from smaller, cheaper models into the LRM's thinking process. Instead of letting the LRM generate its own thoughts from scratch, the process works as follows:
- External Generation: A smaller model (e.g., Qwen-2.5-3B) generates "key points" and high-level ideas for a problem.
- Thought Injection: These external thoughts are wrapped in the model's specific thinking tags (e.g.,
<|im_start|>Assistant: <think> [External Thought] </think>) and placed directly into the assistant's response prefix. - Inference: The LRM receives this prompt and, seeing a completed thought block, often transitions directly to the "answering" state.
To understand why this works, researchers performed a hidden-state-level analysis. They tracked the "rank" of the </think> token in the model's internal probability distribution. They found that when an external thought is provided, the model’s internal state genuinely shifts, dropping the priority of "thinking" and raising the priority of "answering," proving this is a fundamental shift in the model's decision-making.
Key Insights and Results
Experiments across benchmarks like MATH-500, GSM-8k, and LiveBench/Coding revealed several critical behaviors:
- RL vs. Distillation Behaviors: RL-trained models (like QwQ) are skeptical; if the external thought is flawed, they often "rethink," reopening a new
<think>tag. Distilled models are "lazier" and almost always skip internal reasoning if a thought block is provided, making them efficient but more vulnerable to bad advice. - The "Rethinking" Phenomenon: When an LRM rejects an external thought and starts thinking again, it consumes more tokens but often corrects errors in the external input.
- Efficiency Gains: On the LiveBench/Code dataset, ThoughtMani reduced output token counts for QwQ-32B by 30% while maintaining original performance. On GSM-8k, token counts dropped by roughly 40%, achieving nearly a 50% wall-clock speedup on MATH-500.
- Difficulty-Aware Fallbacks: For the most difficult problems, external thoughts can hurt performance. Implementing a rule to let the model think for itself on the hardest tasks while using ThoughtMani for the rest improved accuracy by up to 8% compared to naive skipping.
Conclusion
ThoughtMani offers a practical way to optimize LRM inference. By using external thoughts as a shortcut, we can significantly reduce the computational burden of "overthinking" without sacrificing the reasoning power of the largest models. Future work will focus on adaptive reasoning systems that automatically decide when to use a "fast" external thought versus "slow" internal reasoning.
Summary updated