Optimizing Length Compression in Large Reasoning Models

Zhengxiang Cheng, Dongping Chen, Mingyang Fu, Tianyi ZhouarXiv 2025 · DOI

Abstract

Large Reasoning Models (LRMs) such as OpenAI’s o1 and DeepSeek-R1 have demonstrated remarkable problem-solving capabilities through Chain-of-Thought (CoT) processing. However, these models often suffer from "overthinking," where a significant portion of the reasoning chain consists of redundant verification and self-correction after a correct answer is found. We introduce LC-R1, a post-training framework that employs a dual-reward Reinforcement Learning system to eliminate this "invalid thinking." Our approach achieves a ~50% reduction in reasoning length with a minimal ~2% impact on accuracy, effectively optimizing the efficiency-efficacy trade-off.

Introduction

Modern LRMs utilize extensive reasoning chains to navigate complex logical tasks. While effective, empirical analysis reveals that current state-of-the-art models spend 35-45% of their thinking process on "invalid thinking"—steps that occur after the model has already derived the correct solution. This redundancy leads to unnecessary computational overhead and latency. The challenge lies in compressing these reasoning chains without compromising the critical logical steps required for problem-solving.

Methodology: The LC-R1 Framework

The LC-R1 framework addresses overthinking through a targeted Reinforcement Learning approach using Group Relative Policy Optimization (GRPO). The system is built upon two primary components:

  1. LC-Extractor: A fine-tuned Qwen-2.5-3B model serves as a specialized parser to identify the "Valid Thinking" (VT) segment. This segment is defined as the portion of the thought process from the initial prompt until the correct answer first appears.
  2. Dual-Reward System: To guide the model toward conciseness, we implement two distinct rewards:
  3. Length Reward: A global penalty incentivizing the shortest correct path.
  4. Compress Reward: A targeted incentive for the model to output the </think> token immediately following the discovery of the correct answer. This reward includes a heavy penalty for premature termination (ensuring "Sufficiency").
The LC-R1 training pipeline, illustrating the extraction of valid thinking segments and the dual-reward GRPO update loop.

Experimental Setup

The model was trained on a mixed-difficulty dataset of 2,500 samples from AIME and MATH datasets. Evaluation spanned seven benchmarks, including GSM8K, MATH500, GPQA Diamond, and LiveCodeBench, to test mathematical, scientific, and coding reasoning.

Key Results and Discussion

LC-R1 demonstrates a superior ability to prune redundant reasoning compared to existing baselines like O1-Pruner or ThinkPrune.

  • Compression Efficiency: The framework achieved an average length reduction of 46.32% for the 7B model and 51.86% for the 1.5B model.
  • Accuracy Preservation: This significant compression resulted in only a marginal accuracy drop of approximately 1.8% to 2.1%.
  • Valid Thinking (VT) Rate: The VT rate—the ratio of essential tokens to total tokens—was improved to over 97%, compared to baseline rates as low as 57%.
Accuracy vs. Compression (%) for DeepSeek-R1-Distill-Qwen 7B and 1.5B models, showing LC-R1 on the Pareto frontier.

Furthermore, RL-based compression proved more robust than Supervised Fine-Tuning (SFT). While SFT often overfits to brevity and fails on complex, out-of-distribution problems, LC-R1 maintains the model's inherent reasoning capabilities while eliminating "fluff." This suggests that the pruned segments were truly redundant and not essential for the model's exploration or creative problem-solving.

Conclusion and Future Work

LC-R1 successfully mitigates the "overthinking" problem in LRMs by training models to stop once a solution is reached. Future research will focus on scaling these findings to larger models (e.g., 70B+) and exploring methods to integrate length optimization directly into the initial RL phases of model training. Additionally, refining extraction logic for open-ended or subjective tasks remains a key area for development.

Summary updated

BibTeX
@misc{cheng2025optimizing,
  author = {Zhengxiang Cheng and Dongping Chen and Mingyang Fu and Tianyi Zhou},
  title = {{Optimizing Length Compression in Large Reasoning Models}},
  year = {2025},
  eprint = {2506.14755},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.14755},
}
Figure