Don't Think Longer, Think Wisely: Optimizing Thinking Dynamics for Large Reasoning Models
Sohyun An, Ruochen Wang, Tianyi Zhou, Cho-Jui Hsieh
TL;DR
Large Reasoning Models trained with outcome-based RL often overthink, yielding long and costly reasoning traces. The authors propose Dynamic Thinking Pattern Optimization (DTO), a framework that segmentally identifies and prunes unhelpful thinking patterns while reinforcing beneficial ones to produce concise, effective reasoning trajectories. They further employ a pairwise preference approach (SimPO) to encourage the model to favor efficient trajectories, achieving substantial efficiency gains (up to 47% attention FLOPs reduction) and accuracy improvements on several benchmarks, with token usage dropping notably (roughly 5,000 to 3,000 tokens). The method generalizes beyond mathematics to diverse domains (e.g., MMLU-Pro) and demonstrates practical potential for cheaper, reliable reasoning in Large Reasoning Models.
Abstract
While recent success of large reasoning models (LRMs) significantly advanced LLMs' reasoning capability by optimizing the final answer accuracy using reinforcement learning, they may also drastically increase the output length due to overthinking, characterized by unnecessarily complex reasoning paths that waste computation and potentially degrade the performance. We hypothesize that such inefficiencies stem from LRMs' limited capability to dynamically select the proper modular reasoning strategies, termed thinking patterns at the right position. To investigate this hypothesis, we propose a dynamic optimization framework that segments model-generated reasoning paths into distinct thinking patterns, systematically identifying and promoting beneficial patterns that improve the answer while removing detrimental ones. Empirical analysis confirms that our optimized thinking paths yield more concise yet sufficiently informative trajectories, enhancing reasoning efficiency by reducing attention FLOPs by up to 47% while maintaining accuracy for originally correct responses. Moreover, a non-trivial portion of originally incorrect responses are transformed into correct ones, achieving a 15.6% accuracy improvement with reduced length. Motivated by the improvement brought by the optimized thinking paths, we apply a preference optimization technique supported by a pairwise dataset contrasting suboptimal and optimal reasoning paths. Experimental evaluations across multiple mathematical reasoning benchmarks reveal that our method notably reduces computational overhead while simultaneously improving reasoning accuracy, achieving up to a 12% accuracy improvement and reducing token usage from approximately 5,000 to 3,000 tokens.
