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

Zhensheng Jin, Xinze Li, Yifan Ji, Chunyi Peng, Zhenghao Liu +5 more
6/12/2025
cs.CL

Official code: NEUIR/ReCUT (10 stars, MIT, last commit 2025-08-30).

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, ReCUT 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. All codes and data will be released via https://github.com/NEUIR/ReCUT.

View on arXivView PDF

Code Implementations(1)

NEUIR/ReCUTOfficial100%
MIT
100Shell, PythonJun 12, 20251 years agoMIT

Similar Papers

Cite this paper

@article{jin2025recut,
  title  = {ReCUT: Balancing Reasoning Length and Accuracy in LLMs via Stepwise Trails and Preference Optimization},
  author = {Zhensheng 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 Ge Yu},
  year   = {2025},
  eprint = {2506.10822},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.10822v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.10822.svg)](https://codeofpaper.com/paper/2506.10822)

Discussion