Learning When to Think: Shaping Adaptive Reasoning in R1-Style Models via Multi-Stage RL

Songjun Tu, Jiahao Lin, Qichao Zhang, Xiangyu Tian, Linjing Li, Xiangyuan Lan, Dongbin Zhao

Abstract

Large Reasoning Models (LRMs) like DeepSeek-R1 have demonstrated remarkable capabilities by generating explicit Chain-of-Thought (CoT) traces. However, these models often "overthink" simple tasks, leading to excessive computational costs and latency. This paper presents AutoThink, a multi-stage reinforcement learning (RL) framework designed to instill adaptive reasoning. By utilizing a stochastic "ellipsis trigger" and a three-stage RL process, AutoThink enables models to autonomously switch between "fast" direct answering and "slow" deep reasoning based on task difficulty. Our results show a 52% reduction in token usage and a 6.4% improvement in accuracy, demonstrating that efficient reasoning can also be more effective.

1. Introduction

The advent of R1-style models has shifted the paradigm of AI reasoning toward explicit, step-by-step thinking blocks (<think>... </think>). While essential for complex mathematical and logical problems, this approach suffers from a significant efficiency bottleneck: overthinking. Models frequently generate thousands of reasoning tokens for trivial queries where a direct answer is sufficient. The primary challenge lies in developing a mechanism that allows models to adaptively modulate their reasoning depth without sacrificing performance.

2. The AutoThink Framework

The authors identify a latent "dual-mode" behavior in distilled R1 models: inserting an ellipsis (...) into the <think> tag can stochastically trigger either a full reasoning trace or an immediate jump to the final answer. AutoThink harnesses this behavior through a three-stage Reinforcement Learning process using Group Relative Policy Optimization (GRPO).

Overview of the AutoThink framework and its three-stage RL process.

2.1 Stage 1: Stabilize Dual Modes

To prevent the model from collapsing into a single mode (always thinking or never thinking), batch-level reward balancing is employed. This ensures the model explores both reasoning and direct-answer paths during the initial training phase.

2.2 Stage 2: Reinforce Correct Behavior

Once both modes are stabilized, the balancing constraints are relaxed. The model is rewarded purely based on accuracy, allowing the policy to naturally favor the mode that leads to correct answers for a given prompt.

2.3 Stage 3: Prune Redundant Reasoning

The final stage introduces length-aware rewards. The model is penalized for excessive reasoning when the answer is correct, encouraging conciseness. Conversely, it is rewarded for longer traces when the initial answer is incorrect, fostering deeper self-reflection and debugging.

3. Experimental Evaluation

AutoThink was evaluated using a dataset of 40,000 mathematical problems. Performance was measured across standard math benchmarks (MATH, AIME24, AMC23) and generalization tasks (GPQA, MMLU, Live-Code-Bench). The study primarily focused on the DeepSeek-R1-Distill-Qwen-1.5B model, with additional tests on 7B and DeepScaleR variants.

4. Results and Discussion

The implementation of AutoThink yielded significant improvements in both efficiency and performance.

  • Efficiency and Accuracy: The framework reduced average token usage by 52% while simultaneously boosting relative accuracy by 6.4%. This suggests that removing redundant "filler" reasoning helps the model focus on core logic.
  • Difficulty Awareness: A key outcome of the multi-stage RL is the emergence of a well-calibrated reasoning policy. The model learns to skip reasoning for approximately 90% of easy problems while engaging in deep thinking for 60% of the most difficult tasks.
Comparison of no-thinking rates by difficulty level before and after multi-stage RL training.
  • Prompting vs. Learning: Experiments confirmed that simple prompting (e.g., "think only if hard") is insufficient. Without the reinforcement provided by AutoThink, models fail to align their reasoning behavior with actual task complexity.

5. Conclusion

AutoThink demonstrates that R1-style models can be trained to be both adaptive and efficient. By moving beyond static prompting to a multi-stage RL approach, models can learn to "think when it matters." Future work will address current limitations, such as "reward hacking" (where models place reasoning tokens in the answer block) and the lack of explicit user-defined token budgets.

Summary updated

BibTeX
@inproceedings{tu2025learning,
  author = {Songjun Tu and Jiahao Lin and Qichao Zhang and Xiangyu Tian and Linjing Li and Xiangyuan Lan and Dongbin Zhao},
  title = {{Learning When to Think: Shaping Adaptive Reasoning in R1-Style Models via Multi-Stage RL}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Hs3FrjwyVZ},
}
Figure