ReCUT: Balancing Reasoning Length and Accuracy in LLMs via Stepwise Trails and Preference Optimization

Zheyan Jin, Xinze Li, Yifan Ji, Chunyi Peng, Zhenghao Liu, Qi Shi, Yukun Yan, Shuo Wang, Furong Peng, Yu Ge

Abstract

Recent advances in Chain-of-Thought (CoT) prompting have substantially improved the reasoning capabilities of Large Language Models (LLMs). However, these methods often suffer from overthinking, leading to unnecessarily lengthy or redundant reasoning traces. Existing approaches attempt to mitigate this issue through curating multiple reasoning chains for training LLMs, but their effectiveness is often constrained by the quality of the generated data and prone to overfitting. To address the challenge, we propose Reasoning Compression ThroUgh Stepwise Trials (ReCUT), a novel method aimed at balancing the accuracy and length of reasoning trajectory. Specifically, Re-CUT employs a stepwise exploration mechanism and a long-short switched sampling strategy, enabling LLMs to incrementally generate diverse reasoning paths. These paths are evaluated and used to construct preference pairs to train two specialized models (Gemini LLMs)—one optimized for reasoning accuracy, the other for shorter reasoning. A final integrated model is obtained by interpolating the parameters of these two models. Experimental results across multiple math reasoning datasets and backbone models demonstrate that ReCUT significantly reduces reasoning lengths by approximately 30-50%, while maintaining or improving reasoning accuracy compared to various baselines.

Introduction

While Chain-of-Thought (CoT) prompting has significantly boosted the reasoning capabilities of Large Language Models (LLMs), it has a notable side effect: overthinking. Models often generate unnecessarily long, redundant, or circular reasoning paths, which increases inference latency and computational costs without necessarily improving the final answer. Existing solutions usually involve Supervised Fine-Tuning (SFT) on concise data or Reinforcement Learning (RL) with length penalties, but these often suffer from overfitting or a lack of diversity in reasoning paths. ReCUT addresses these issues by focusing on stepwise exploration rather than full-trajectory sampling.

Methodology

ReCUT introduces a three-stage pipeline to balance the "length vs. accuracy" trade-off:

The ReCUT pipeline consists of (1) Long-Short Sampling for data collection, (2) Gemini LLM Optimization via DPO, and (3) Parameter Interpolation to merge specialized models.
  1. Stepwise Reasoning Exploration: Instead of sampling a full reasoning chain at once, ReCUT uses a Long-Short Switched Sampling strategy. At each reasoning step, the model is prompted to generate both a "long" (detailed) and a "short" (concise) continuation. These are evaluated using a reward function that balances correctness and token count.
  2. Gemini LLM Optimization: Using the collected data, two specialized versions of the same base model are trained via Direct Preference Optimization (DPO): $\mathcal{M}_{acc}$ (optimized for accuracy) and $\mathcal{M}_{len}$ (optimized for the shortest correct path).
  3. Parameter Interpolation: The weights of $\mathcal{M}_{acc}$ and $\mathcal{M}_{len}$ are merged using the DARE-Ties strategy. This creates a single model that inherits the strengths of both, allowing researchers to tune the balance between accuracy and efficiency using an interpolation weight ($\alpha$).

Experimental Results

The researchers tested ReCUT on Qwen2.5-7B and Llama-3.1-8B backbones across competitive math benchmarks like GSM8K, MATH500, and AIME.

Average reasoning length comparison between ReCUT and Vanilla models, highlighting the significant reduction in length for both correct and incorrect paths.

Key findings include:

  • Efficiency: ReCUT achieved a 30–50% reduction in token count across most benchmarks. For example, on Qwen2.5-7B, the average token count dropped from 2,233 (Vanilla) to 1,298 (ReCUT).
  • Accuracy: Despite the shorter paths, accuracy remained stable or improved. On the AMC23 benchmark, ReCUT (Qwen) achieved 50.0% P@1 compared to the Vanilla model's 47.5%.
  • Narrowing the Overthinking Gap: Vanilla models often produce significantly longer incorrect reasoning paths than correct ones. ReCUT effectively narrows this gap, forcing the model to be "efficiently correct" or "quickly wrong," thereby saving massive amounts of compute.

Conclusion

ReCUT demonstrates that model merging and stepwise preference optimization are powerful tools for navigating the Pareto frontier of LLM performance. By curbing overthinking, ReCUT provides a more efficient path toward high-accuracy reasoning. Future work will explore applying this framework to non-mathematical domains like coding and creative writing where redundancy is also a common bottleneck.

Summary updated

BibTeX
@misc{jin2025recut,
  author = {Zheyan Jin and Xinze Li and Yifan Ji and Chunyi Peng and Zhenghao Liu and Qi Shi and Yukun Yan and Shuo Wang and Furong Peng and Yu Ge},
  title = {{ReCUT: Balancing Reasoning Length and Accuracy in LLMs via Stepwise Trails and Preference Optimization}},
  year = {2025},
  eprint = {2506.10822},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.10822},
}
Figure