Don’t Think Longer, Think Wisely: Optimizing Thinking Dynamics for Large Reasoning Models

Sohyun An, Ruochen Wang, Tianyi Zhou, Cho-Jui Hsieh

Abstract

The emergence of Large Reasoning Models (LRMs) has shifted the focus of AI development toward test-time scaling, where models are encouraged to "think" longer to solve complex problems. However, this often leads to "overthinking"—the generation of excessively long, circular, or redundant reasoning paths that consume significant computational resources and can even degrade final answer accuracy. We present Dynamic Thinking pattern Optimization (DTO), a framework designed to identify and prune these inefficiencies. By segmenting reasoning trajectories and applying preference optimization, DTO reduces computational overhead by up to 47% and improves accuracy by up to 12% across various mathematical and general reasoning benchmarks.

Introduction

Recent advancements in LRMs, such as the "o1-style" models, have demonstrated that allowing models more time to reason significantly boosts performance on difficult tasks. Yet, this scaling comes at a cost. Current models, often trained via reinforcement learning to maximize final accuracy, frequently produce bloated reasoning paths. These paths are not just computationally expensive; they often contain "noise" that can lead the model astray. The core challenge is that LRMs lack a dynamic mechanism to select the most effective thinking patterns at the right time.

Methodology: Dynamic Thinking pattern Optimization (DTO)

To address overthinking, we propose DTO, a two-stage framework that refines reasoning trajectories into "wise" thinking paths.

1. Constructing Optimal Trajectories

The first stage involves identifying and removing redundant segments from existing reasoning paths:

  • Segmentation: Reasoning paths are broken down into "thinking patterns" based on linguistic markers like "Wait" or "Alternatively."
  • Exit Point Identification: Using Monte Carlo estimation, we determine the earliest point where a model could have correctly answered the problem.
  • Pruning: An auxiliary model (e.g., Llama-3.3-70B) evaluates each segment. Redundant or harmful segments are removed, and the resulting "lean" path is validated to ensure it still leads to the correct answer.
Figure 1: The DTO pruning process identifies and removes redundant thinking patterns (e.g., Ptn 3, Ptn 11) while keeping essential ones to reach the final answer efficiently.

2. Preference Optimization

The optimized paths are used to create a pairwise dataset contrasting "bloated" reasoning with "wise" reasoning. We then apply SimPO (Simple Preference Optimization) to fine-tune models like DeepSeek-R1-Distill-Qwen-1.5B and DeepScaleR-1.5B, teaching them to naturally adopt these efficient behaviors.

Experimental Results

We evaluated DTO across rigorous benchmarks, including MATH, GSM8K, AMC, AIME, and MMLU-Pro. The results demonstrate a "win-win" scenario where reducing computation actually improves performance.

Efficiency and Accuracy Gains

DTO achieved significant improvements in both speed and precision:

  • FLOPs Reduction: Attention FLOPs were reduced by up to 47% for DeepSeek-R1 and 40% for DeepScaleR.
  • Accuracy Improvement: Average accuracy on challenging math benchmarks (AMC/AIME) improved by nearly 7%, with some cases seeing a 12% boost.
  • Token Efficiency: Average token usage per problem dropped significantly (e.g., from 5,000 to 3,000 tokens).
Figure 6: Performance and efficiency metrics for (a) DeepSeek-R1 and (b) DeepScaleR, alongside (c) the distribution of maximum pattern importance scores.

Analysis and Discussion

A key insight from our analysis is the "Aha!" moment: models often reach the correct logic halfway through an incorrect response but eventually talk themselves out of it. DTO "rescues" these instances by enforcing earlier, more accurate exits. Furthermore, we observed a significant reduction in the use of "Wait" tokens, suggesting that optimized models follow a more direct and confident reasoning path.

While DTO is highly effective for reasoning-centric tasks, its applicability to creative or open-ended domains remains an area for future exploration. Additionally, while inference is much cheaper, the initial data preparation phase involving auxiliary models is computationally intensive.

Conclusion

DTO proves that for AI reasoning, quality is more important than quantity. By optimizing thinking dynamics, we can create models that are not only faster and cheaper to run but also more accurate and robust. This work paves the way for more efficient test-time scaling in the next generation of Large Reasoning Models.

Summary updated

BibTeX
@inproceedings{an2025dont,
  author = {Sohyun An and Ruochen Wang and Tianyi Zhou and Cho-Jui Hsieh},
  title = {{Don’t Think Longer, Think Wisely: Optimizing Thinking Dynamics for Large Reasoning Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=nxnBaaRLnz},
}
Figure