arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.01679cs.LGcs.AIcs.CL
收藏

融合监督学习与强化学习微调的前缀采样

Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling

ILCC, University of Edinburgh(爱丁堡大学ILCC);Fudan University(复旦大学);Qwen Team, Alibaba Group(阿里集团Qwen团队);ILLC, University of Amsterdam(阿姆斯特丹大学ILLC)

Zeyu Huang, Tianhao Cheng, Zihan Qiu, Zili Wang, Yinghui Xu, Edoardo M. Ponti, Ivan Titov

AI总结:

本文提出Prefix-RFT方法,结合示范数据与探索学习,通过数学问题验证其有效性,超越了单独SFT和RFT以及混合策略方法。

摘要:

现有大语言模型训练技术主要分为监督微调(SFT)和强化微调(RFT)。SFT在模仿示范数据方面表现优异,但可能导致泛化问题;RFT能提升性能但易学习意外行为,且对初始策略敏感。本文提出统一视角,引入Prefix-RFT混合方法,结合示范与探索学习。通过数学问题验证,Prefix-RFT简单有效,超越单独SFT、RFT及混合策略方法。分析显示SFT与RFT互补,Prefix-RFT有效协调二者。进一步消融研究证实其在示范数据质量与数量变化下的鲁棒性。

英文摘要:

Existing LLMs-post-training techniques are broadly categorized into supervised fine-tuning (SFT) and reinforcement fine-tuning (RFT). Each paradigm presents a distinct trade-off: (1) SFT excels at mimicking demonstration data, but can lead to problematic generalization as a form of behavior cloning. (2) Conversely, RFT can significantly enhance a model's performance but is prone to learning unexpected behaviors, and its performance is sensitive to the initial policy. In this paper, we propose a unified view of these methods and introduce Prefix-RFT, a hybrid approach that synergizes learning from both demonstration and exploration. Using mathematical reasoning problems as a test bed, we empirically demonstrate that Prefix-RFT is simple yet effective. Not only does it surpass the performance of standalone SFT and RFT, but it also outperforms parallel mixed-policy RFT methods. Our analysis highlights the complementary nature of SFT and RFT, validating that Prefix-RFT effectively harmonizes them. Further ablation studies confirm the method's robustness to variations in the quality and quantity of demonstration data.

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

↑