arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.19404cs.AIcs.LG
收藏

RPO:基于部分推理优化的强化微调

RPO:Reinforcement Fine-Tuning with Partial Reasoning Optimization

Hongzhu Yi, Xinming Wang, Zhenghao zhang, Tianyu Zong, Yuanxiang Wang, Jun Xie, Tao Yu, Haopeng Jin, Kaixin Xu, Feng Chen, Jiahuan Chen, Yujia Yang, Zhenyu Guan… 展开作者

Hongzhu Yi, Xinming Wang, Zhenghao zhang, Tianyu Zong, Yuanxiang Wang, Jun Xie, Tao Yu, Haopeng Jin, Kaixin Xu, Feng Chen, Jiahuan Chen, Yujia Yang, Zhenyu Guan, Bingkang Shi, Jungang Xu

AI总结:

RPO通过部分推理优化显著降低训练时间,提升大型语言模型的训练效率。

摘要:

在大型语言模型领域,强化微调算法需要从输入查询生成完整的推理轨迹,这在训练的rollout阶段会导致显著的计算开销。为了解决这个问题,我们分析了推理路径不同部分对最终结果正确性的影响,并基于这些见解,提出了一种插件式强化微调算法RPO。与传统强化微调算法生成完整推理路径不同,RPO通过经验缓存生成推理路径的后缀来训练模型。在训练的rollout阶段,RPO将该阶段的token生成减少约95%,大大降低了理论时间开销。与完整路径强化微调算法相比,RPO将1.5B模型的训练时间减少了90%,7B模型减少了72%。同时,它能够与GRPO和DAPO等典型算法集成,使它们在保持与原算法相当性能的同时实现训练加速。我们的代码已开源于https://github.com/yhz5613813/RPO。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑