RPO:Reinforcement Fine-Tuning with Partial Reasoning Optimization
Hongzhu Yi, Xinming Wang, Zhenghao zhang, Tianyu Zong, Yuanxiang Wang, Jun Xie, Tao Yu, Haopeng Jin, Zhepeng Wang, Kaixin Xu, Feng Chen, Jiahuan Chen, Yujia Yang, Zhenyu Guan, Bingkang Shi, Jungang Xu
TL;DR
This work tackles the heavy computational cost of reinforcement fine-tuning for large language models by introducing RPO, a partial reasoning optimization that uses an experience cache of suffixes to guide rollout. By truncating reasoning paths and reusing prefixes from past high-reward trajectories, RPO reduces token generation during rollout and stabilizes gradients, achieving up to ~90% training time reductions while maintaining performance comparable to full-path methods. The approach is plug-and-play, compatible with GRPO and DAPO, and is complemented by length-aware reward shaping to preserve gradient signal diversity. Experiments on 1.5B and 7B models across six reasoning benchmarks demonstrate significant speedups with robust performance, though some reduction in exploration diversity is acknowledged as a trade-off.
Abstract
Within the domain of large language models, reinforcement fine-tuning algorithms necessitate the generation of a complete reasoning trajectory beginning from the input query, which incurs significant computational overhead during the rollout phase of training. To address this issue, we analyze the impact of different segments of the reasoning path on the correctness of the final result and, based on these insights, propose Reinforcement Fine-Tuning with Partial Reasoning Optimization (RPO), a plug-and-play reinforcement fine-tuning algorithm. Unlike traditional reinforcement fine-tuning algorithms that generate full reasoning paths, RPO trains the model by generating suffixes of the reasoning path using experience cache. During the rollout phase of training, RPO reduces token generation in this phase by approximately 95%, greatly lowering the theoretical time overhead. Compared with full-path reinforcement fine-tuning algorithms, RPO reduces the training time of the 1.5B model by 90% and the 7B model by 72%. At the same time, it can be integrated with typical algorithms such as GRPO and DAPO, enabling them to achieve training acceleration while maintaining performance comparable to the original algorithms. Our code is open-sourced at https://github.com/yhz5613813/RPO.
