arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.14912cs.LGcs.AI
收藏

重新思考“RL泛化,SFT记忆”:SFT数据的作用

Rethinking "RL Generalizes, SFT Memorizes": The Role of SFT Data

National University of Singapore(新加坡国立大学);Yale University(耶鲁大学);Cisco Foundation AI(思科基金会人工智能部门)

Yunlong Hou, Fengzhuo Zhang, Yuan Cheng, Jiachun Pan, Xingyao Li, Zhuoran Yang

AI总结:

本文以Qwen2.5和Qwen3系列模型为对象,研究SFT数据的数据源、规模及尾部方法对SFT泛化能力的影响,发现精心设计的SFT数据可实现优于RL的泛化性,并从理论上验证了相关结论。

摘要:

采用可验证奖励的强化学习(RL)训练的大语言模型展现出强大的推理能力和广泛的泛化性,而采用监督微调(SFT)训练的模型通常被认为更易出现记忆现象且迁移能力有限。本文基于广泛使用的Qwen2.5和Qwen3系列模型,从SFT训练数据的角度重新审视这一区别。首先,研究数据源的作用,结果显示其至关重要:精心混合的SFT数据集的性能显著优于仅由更大模型生成的数据。其次,研究数据规模的作用,结果显示,使SFT与RL之间的正确rollout数量相匹配可大幅提升SFT的泛化能力,而使总rollout预算相匹配则能让SFT的泛化能力达到与RL相当的水平;结合这两个因素,SFT的泛化能力甚至能优于RL。第三,通过使用大语言模型(LLM)标注来表征训练rollout中的求解方法,结果显示更大的数据集覆盖了更多尾部方法,且这些尾部方法提供了可泛化的推理信号。最后,通过分析浅层Transformer在RL和SFT下的训练动态,从理论上支持了这些实证发现。

英文摘要:

Large language models trained with Reinforcement Learning (RL) with verifiable rewards exhibit strong reasoning ability and broad generalization, whereas models trained with Supervised Fine-Tuning (SFT) are often viewed as more prone to memorization and limited transfer. This paper rethinks this distinction through the lens of SFT training data on widely used Qwen2.5 and Qwen3 series models. First, we study the role of data source and show that it is critical: a carefully mixed SFT dataset substantially outperforms data generated solely by a larger model. Second, we study the role of data scale and show that matching the number of correct rollouts between SFT and RL greatly improves SFT generalization, while matching the total rollout budget enables SFT to generalize as well as RL. Combining these two factors further enables SFT to generalize even better than RL. Third, by using LLM annotations to characterize the solution methods in training rollouts, we show that larger datasets cover more tail methods and that these tail methods provide generalizable reasoning signals. Finally, we support these empirical findings theoretically by analyzing the training dynamics of shallow transformers under both RL and SFT.

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

↑