TL;DR
This paper introduces Just-Enough Thinking (JET), a reinforcement learning framework that trains Large Reasoning Models (LRMs) to proactively terminate their reasoning process once they have sufficient information. By using trajectory truncation and quality-controlled length rewards, JET reduces output length by up to 46% while actually improving accuracy by avoiding the errors often introduced by excessive, redundant reasoning.
What Problem Does This Paper Address?
Modern Large Reasoning Models (LRMs), such as OpenAI’s o1 or DeepSeek-R1, achieve high performance by using "System-2" thinking—elaborate, multi-step reasoning chains. However, these models often suffer from "overthinking": they generate thousands of redundant tokens, incurring massive computational costs and latency.
Existing attempts to fix this usually involve penalizing long answers during Reinforcement Learning (RL). However, these methods face two hurdles:
- Verbosity Bias: Models naturally generate long paths, making it hard for RL to even "find" short, correct paths to reward.
- Distribution Mismatch: If researchers manually shorten long reasoning chains to create training data, the resulting samples often look "unnatural" to the model, destabilizing the learning process.
Methods
The authors propose Just-Enough Thinking (JET), which is built on two primary pillars:
1. Two-Stage Rollout with Progressive Early-Stopping (PES)
Instead of just letting the model generate a full answer, JET uses a two-stage process:
- Stage 1 (Full Reasoning): The model generates a complete reasoning path.
- Stage 2 (Trajectory Truncation): The model is forced to stop at various intermediate points (e.g., at 25%, 50%, or 75% of the original length). At these points, a "stop-thinking" cue (e.g., "Wait, I have enough information to get the final answer...") is inserted, and the model is asked to jump straight to the conclusion. This ensures the short paths remain "distributionally consistent" with the model's natural style.
2. Quality-Controlled Length Reward
JET uses a reward function that prioritizes Correctness First, then Conciseness.
- Normalization: Rewards are normalized per question. Shorter correct answers receive higher rewards than longer correct answers for the same problem.
- DAPO Objective: The model is optimized using Direct Alignment with Preference Optimization (DAPO), incorporating both the full and truncated trajectories into the training signal.
Key Insights and Ideas
- The "Aha" Moment: Pilot experiments revealed that LRMs often accumulate all necessary information very early. Truncating a reasoning chain by 50% still preserved the correct answer in roughly 75% of cases.
- Overthinking is Harmful: Surprisingly, shortening the reasoning chain sometimes increased accuracy. This suggests that "overthinking" isn't just expensive; it’s a source of error propagation where the model talks itself into a mistake.
- Proactive vs. Reactive: JET doesn't just "cut" the model off; it teaches the model to recognize when it has thought enough. This results in a "proactive stop-thinking" behavior that adapts to the difficulty of the task.
- Training Efficiency: By using truncated trajectories during the RL rollout phase, JET achieves up to a 5x speedup in policy optimization compared to standard methods that require full-length generations.
Datasets and Evaluation
- Training: A mixed-difficulty dataset of 14,564 examples derived from MATH and DAPO-MATH.
- Evaluation (In-Domain): High-difficulty math benchmarks including AIME 2024, MATH500, GSM8K, AMC, and the Olympiad benchmark.
- Evaluation (Generalization): To test if the "stop-thinking" behavior generalizes beyond math, they used GPQA-Diamond (science), CommonsenseQA, and MMLU (multidisciplinary).
Key Results
The results across various benchmarks were significant, particularly for smaller "distilled" models:
- Efficiency Gains: On the Olympiad benchmark, JET reduced output length by 46.3% while simultaneously increasing accuracy by 4.6% (using DeepSeek-R1-Distill-Qwen-1.5B).
- Generalization: On the GPQA-Diamond benchmark (expert-level science questions), JET delivered a +11.1% accuracy gain for the 1.5B model and +5.0% for the 7B model.
- Stability: Unlike other length-reduction methods (like LCR1), which often trade accuracy for brevity, JET consistently maintained or improved accuracy while cutting token counts.
- KL Divergence: JET maintained a lower KL divergence throughout training compared to standard RL (DAPO), indicating that the truncation strategy keeps the model closer to its stable, "natural" distribution.
Limitations and Future Work
- Forced Suffixes: Currently, JET relies on an explicit "stop-thinking" cue during training. Future work could explore how to make the model trigger this internal "halt" signal entirely on its own without a specific prompt.
- Complexity Ceiling: While JET works wonders for "overthinking," some extremely complex problems do require long reasoning. Finding the perfect boundary where "just enough" becomes "too little" remains a challenge for the most difficult tasks.
- Scaling: While tested up to 8B parameters, the authors suggest further research is needed to see how these dynamics shift in "frontier" models (70B+ parameters) where reasoning chains can be even more verbose.
Summary updated