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

SFT记忆,RL泛化:基础模型后训练的对比研究

SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training

HKU(香港大学);UC Berkeley(加州大学伯克利分校);NYU(纽约大学);University of Alberta(阿尔伯塔大学)

Tianzhe Chu, Yuexiang Zhai, Jihan Yang, Shengbang Tong, Saining Xie, Dale Schuurmans, Quoc V. Le, Sergey Levine, Yi Ma

AI总结:

本文通过引入GeneralPoints和V-IRL环境,对比监督微调(SFT)与强化学习(RL)在后训练中的泛化能力,发现RL(尤其基于结果奖励)能泛化到未见变体,而SFT倾向于记忆;同时SFT稳定输出格式对RL训练至关重要。

摘要:

监督微调(SFT)和强化学习(RL)是基础模型广泛使用的后训练技术。然而,它们在增强模型泛化能力方面的作用仍不明确。本文研究了SFT与RL在泛化和记忆方面的差异,重点关注基于文本的规则变体和视觉变体。我们引入了GeneralPoints,一个算术推理卡牌游戏,并采用V-IRL,一个真实世界的导航环境,来评估使用SFT和RL训练的模型在文本和视觉领域中对未见变体的泛化能力。我们表明,RL,尤其是使用基于结果的奖励进行训练时,能够跨基于规则的文本和视觉变体进行泛化。相比之下,SFT倾向于记忆训练数据,难以泛化到分布外场景。进一步分析揭示,RL提升了模型底层的视觉识别能力,这有助于其在视觉领域增强泛化。尽管RL具有更优的泛化能力,我们表明SFT对于有效的RL训练仍然至关重要;SFT稳定了模型的输出格式,使得后续的RL能够实现其性能提升。这些发现证明了RL在复杂的多模态任务中获取可泛化知识的能力。

英文摘要:

Supervised fine-tuning (SFT) and reinforcement learning (RL) are widely used post-training techniques for foundation models. However, their roles in enhancing model generalization capabilities remain unclear. This paper studies the difference between SFT and RL on generalization and memorization, focusing on text-based rule variants and visual variants. We introduce GeneralPoints, an arithmetic reasoning card game, and adopt V-IRL, a real-world navigation environment, to assess how models trained with SFT and RL generalize to unseen variants in both textual and visual domains. We show that RL, especially when trained with an outcome-based reward, generalizes across both rule-based textual and visual variants. SFT, in contrast, tends to memorize training data and struggles to generalize out-of-distribution scenarios. Further analysis reveals that RL improves the model's underlying visual recognition capabilities, contributing to its enhanced generalization in the visual domain. Despite RL's superior generalization, we show that SFT remains essential for effective RL training; SFT stabilizes the model's output format, enabling subsequent RL to achieve its performance gains. These findings demonstrates the capability of RL for acquiring generalizable knowledge in complex, multi-modal tasks.

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

↑