Abstract
Supervised Fine-Tuning (SFT) has been a go-to and effective method for enhancing long chain-of-thought (CoT) reasoning in relatively small LLMs by fine-tuning them with long CoT responses from larger LLMs. To continually improve reasoning abilities, we can either collect new high-quality long CoT reasoning SFT data or repeatedly train on existing SFT datasets. However, acquiring new long CoT SFT data is costly and limited, while repeated training often results in a performance plateau or decline. To further boost the performance with the SFT data, we propose Thinking Preference Optimization (ThinkPO), a simple yet effective post-SFT method that enhances long CoT reasoning without requiring new long CoT responses. Instead, ThinkPO utilizes readily available or easily obtainable short CoT reasoning responses as rejected answers and long CoT responses as chosen answers for the same question. It then applies direct preference optimization to encourage the model to favor longer reasoning outputs. Experiments show that ThinkPO further improves the reasoning performance of SFT-ed models, e.g. it increases math reasoning accuracy of SFT-ed models by 8.6% and output length by 25.9%. Notably, ThinkPO is capable of continually boosting the performance of the publicly distilled SFT model, e.g., increasing the official DeepSeek-R1-Distill-Qwen-7B's performance on MATH500 from 87.4% to 91.2%.
Introduction
The quest to imbue smaller Large Language Models (LLMs) with the reasoning capabilities of their larger counterparts often relies on Supervised Fine-Tuning (SFT). By training on long Chain-of-Thought (CoT) responses distilled from frontier models like DeepSeek-R1 or OpenAI o1, smaller models learn to decompose complex problems. However, this approach faces two significant bottlenecks: the high cost of acquiring new high-quality long CoT data and the "SFT plateau," where repeated training on the same data yields diminishing returns.
Thinking Preference Optimization (ThinkPO) addresses these challenges by shifting the focus from learning what to reason to learning how long to reason. Grounded in the principle of test-time scaling—where increased computation during inference leads to better performance—ThinkPO encourages models to engage in more extensive deliberation.
Methodology
ThinkPO introduces a two-stage pipeline. First, a base model undergoes standard reasoning SFT using long CoT responses. Second, the model is refined using Direct Preference Optimization (DPO). Unlike traditional DPO which requires new preference pairs, ThinkPO constructs pairs from existing resources:
- Chosen Samples: The high-quality long CoT responses used in the SFT stage.
- Rejected Samples: Shorter, direct reasoning responses generated by a standard, smaller reasoning model (e.g., Qwen-2.5-Math-7B).
By training the model to prefer the "thinking-heavy" responses, ThinkPO incentivizes the exploration of multiple reasoning steps and the use of self-correction cues like "wait" or "hmm."
Experimental Setup
The effectiveness of ThinkPO was evaluated across several rigorous benchmarks, including MATH500, GSM8K, AIME 2024, GPQA-Diamond, and Olympiad Bench Math. Training utilized the Bespoke-Strato-dataset, containing 17,000 long-reasoning samples distilled from DeepSeek-R1. The study tested various model scales, including 3B, 7B, and 14B parameters.
Results and Analysis
ThinkPO consistently outperformed SFT baselines across all tested benchmarks. On average, it delivered an 8.6% increase in math reasoning accuracy and a 25.9% increase in output length. On the highly challenging AIME benchmark, the 7B model achieved a 33.5% relative improvement in accuracy over the SFT baseline, with completion lengths jumping from approximately 1K to 24K tokens.
A key observation is the emergence of "reasoning-supportive" words. ThinkPO-trained models frequently use terms like "wait," "hmm," and "let me check," which serve as hesitation cues. These cues correlate with the model's ability to identify errors and refine its logic mid-stream, effectively scaling its internal "thinking" time.
One of the most striking findings is ThinkPO's ability to enhance models that are already highly optimized. For instance, it boosted the performance of the official DeepSeek-R1-Distill-Qwen-7B on MATH500 from 87.4% to 91.2%, demonstrating that even state-of-the-art distilled models can benefit from explicit preference for longer reasoning paths.
Conclusion and Limitations
ThinkPO offers a cost-effective path to superior reasoning without the need for additional high-quality data. However, it introduces trade-offs. The increased reasoning length significantly slows down inference and increases computational costs. Furthermore, the method requires careful hyperparameter tuning, particularly for the DPO $\beta$ coefficient. Future research will explore the generalizability of this "thinking" preference to non-mathematical domains where excessive deliberation might not always be beneficial.
Summary updated