O1-Pruner: Length-Harmonizing Fine-Tuning for O1-Like Reasoning Pruning
Haotian Luo, Haibo He, Yibo Wang, Shiwei Liu, Wei Li, Xiaochun Cao et al. · 2026 · 344 citationsRead the paper
Recently, long-thought reasoning LLMs, such as OpenAI’s O1, adopt extended reasoning processes similar to how humans ponder over complex problems. This reasoning paradigm significantly enhances the model’s problem-solving abilities and achieves promising results. However, long-thought reasoning process leads to a substantial increase in inference time. A pressing challenge is reducing the inference overhead of long-thought LLMs while ensuring accuracy. In this paper, we identify that long-thought reasoning models struggle to effectively allocate token budgets based on problem difficulty and reasoning redundancies. To address this, we propose Length-Harmonizing Fine-Tuning (O1-Pruner), aiming at minimizing reasoning overhead while maintaining accuracy. This effective fine-tuning method first estimates the LLM’s baseline performance through pre-sampling and then uses RL-style fine-tuning to encourage the model to generate shorter reasoning processes under accuracy constraints. This allows the model to achieve efficient reasoning with lower redundancy while maintaining accuracy. Experiments on various mathematical reasoning benchmarks show that O1-Pruner not only significantly reduces inference overhead but also achieves higher accuracy, providing a novel and promising solution to this challenge.
What the full text shows
Working prototype- O1-Pruner reduced average solution length while increasing average accuracy for Marco-o1-7B. — 40.5% reduction in length; 76.8% average accuracy (Across MATH, GSM8K, and GaoKao datasets)
- O1-Pruner reduced average solution length while increasing average accuracy for QwQ-32B-Preview. — 34.7% reduction in length; 89.3% average accuracy (Across MATH, GSM8K, and GaoKao datasets)
- O1-Pruner significantly reduced inference time compared to the baseline. — From ~2 min to ~1 min (Marco-o1-7B); from ~6 min to ~4 min (QwQ-32B-Preview) (Tested on MATH test set using A800 GPUs)
- O1-Pruner achieved the highest Accuracy-Efficiency Score (AES) compared to SFT, DPO, and Fast-solving Prompt. — 0.55 AES (Marco-o1-7B) and 0.38 AES (QwQ-32B-Preview) (Average across three mathematical reasoning datasets)
- Setup
- Models: Marco-o1-7B (full fine-tune) and QwQ-32B-Preview (freeze fine-tune). Training data: 5,000 problems from MATH Trainset. Testing data: MATH, GSM8K, and GaoKao datasets. Hardware: A800 GPUs.
- How
- The authors propose Length-Harmonizing Fine-Tuning, which uses pre-sampling to estimate baseline performance and RL-style fine-tuning to optimize a reward function balancing solution length reduction and accuracy maintenance. For larger models, they employed Freeze Fine-Tuning of the last 48 layers as a parameter-efficient alternative to full fine-tuning.
- Limitations
- Computational resources were insufficient for full-parameter training of the 32B model, requiring the use of Freeze Fine-Tuning.
Summarized by Gemma 4 from the open-access full text · 26 Nov 2026. Read it