From Long to Short: LLMs Excel at Trimming Own Reasoning Chains

Wei Han, Geng Zhan, Sicheng Yu, Chenyu Wang, Bryan Hooi

Abstract

Large Reasoning Models (LRMs) represent a significant advancement in AI, utilizing test-time scaling to generate extended reasoning paths that achieve state-of-the-art performance in complex tasks. However, these models often suffer from "overthinking"—generating unnecessarily long and convoluted reasoning traces for simple problems. We introduce EDIT (Efficient Dynamic Inference Trimming), a test-time scaling method that guides LRMs to identify the shortest correct reasoning paths. By employing constraint-guided generation and a dual-goal search algorithm, EDIT balances conciseness and correctness. Our experiments across various models and benchmarks demonstrate that EDIT significantly improves reasoning efficiency, reducing token usage by over 50% in some cases while maintaining or even improving accuracy.

Introduction: The Overthinking Bottleneck

The recent "System 2" revolution in AI, characterized by models that "think" before responding, has led to massive leaps in mathematical and logical performance. However, models like OpenAI’s o1 and DeepSeek-R1 are prone to overthinking. Because they are trained to prioritize thoroughness, they often apply complex, multi-step reasoning to trivial questions. This is not merely an aesthetic issue; computational overhead grows quadratically with output length, and excessively long reasoning traces hinder interpretability. The challenge lies in finding the "Pareto optimal" point: the shortest reasoning chain that does not sacrifice correctness.

Methodology: Efficient Dynamic Inference Trimming (EDIT)

EDIT is a test-time scaling approach that does not require retraining or fine-tuning. It centers on a Dual-Goal Search algorithm designed to navigate the trade-off between brevity and accuracy.

The EDIT workflow: Constraint-guided prompting and binary search to find the optimal reasoning length.

The Dual-Goal Search Algorithm

  1. Constraint-Guided Prompting: The model is prompted with explicit length constraints (e.g., "Solve this in at most X steps").
  2. Binary Search with Patience: The algorithm performs a binary search over the number of allowed reasoning steps, starting with a loose constraint and gradually tightening it.
  3. Consistency Checking: EDIT monitors answer confidence via majority voting. If the model produces the same answer under a tighter constraint, the search continues. If the answer changes or the model fails, a "patience" hyperparameter ($\beta$) determines whether to re-sample or back off to a looser constraint.
  4. Statistical Indicators: To handle sampling noise, EDIT uses a composite length statistic ($lstat$) considering the minimum, lower quartile, and median lengths of successful paths.

Experimental Setup

We evaluated EDIT across three prominent mathematical reasoning benchmarks:

  • GSM8K: Grade school math word problems.
  • MATH500: A subset of the MATH dataset covering various difficulty levels.
  • AIMO: High-difficulty problems from the American Invitational Mathematics Examination (AIME) 2022–2024.

Testing was conducted on seven models, including the Qwen3 series, QwQ-32B, Phi-4-Reasoning, and DeepSeek-R1 distilled models.

Key Insights and Results

The "Critical Point" of Reasoning

Our analysis revealed a "critical point" in reasoning length. As length constraints are tightened, there is a threshold where incorrect answers begin to dominate. EDIT is specifically designed to locate this tipping point automatically.

Comparison of length distributions and correctness under different step constraints.

Performance Gains

EDIT consistently outperformed standard Chain-of-Thought (CoT) and baselines like Best-of-N (BoN):

  • Token Savings: On GSM8K with Qwen3-32B, EDIT reduced reasoning length by 54.1% while slightly increasing accuracy (+0.2%).
  • Efficiency (AEU): EDIT achieved the highest Accuracy per Effective Length (AEU) across almost all models. For LLaMA-3.1-8B on MATH500, it achieved a 17.6% length reduction compared to the best baseline.
  • Robustness: Even standard LLMs (non-LRMs) like LLaMA-3.1-8B showed latent "shortcut" reasoning abilities when guided by EDIT's constraints.

Conclusion

EDIT demonstrates that LRMs are highly sensitive to length guidance and can be efficiently steered toward conciseness at test time. By identifying the shortest correct reasoning paths, EDIT produces compact, informative outputs that improve both computational efficiency and user experience. Future work will explore the integration of these statistical trimming methods with system-level optimizations to further enhance the next generation of reasoning models.

Summary updated

Abstract

O1/R1 style large reasoning models (LRMs) signal a substantial leap forward over conventional instruction-following LLMs. By applying test-time scaling to generate extended reasoning paths, they establish many SOTAs across a wide range of complex reasoning tasks. However, recent studies show that LRMs are prone to suffer from overthinking -- the tendency to overcomplicate simple problems, leading to excessive strategy switching and long, convoluted reasoning traces that hinder their interpretability. To mitigate this issue, we conduct a systematic investigation into the reasoning efficiency of a broad set of LRMs and uncover a common dilemma: the difficulty in balancing multiple generation objectives such as correctness and brevity. Based on this discovery, we propose a test-time scaling method, EDIT (Efficient Dynamic Inference Trimming), which efficiently guides LRMs to identify the shortest correct reasoning paths at test time. EDIT employs constraint-guided generation while jointly tracking length and answer distributions under varying constraints, allowing it to select responses that strike an optimal balance between conciseness and correctness. Extensive experiments across diverse models and datasets show that EDIT substantially enhance the reasoning efficiency, producing compact yet informative outputs that improve readability and user experience.
BibTeX
@inproceedings{han2025from,
  author = {Wei Han and Geng Zhan and Sicheng Yu and Chenyu Wang and Bryan Hooi},
  title = {{From Long to Short: LLMs Excel at Trimming Own Reasoning Chains}},
  booktitle = {ER @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=kvrW9Cz5gF},
}
Figure