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

预训练期间的强化学习探索:重新审视LLM训练中的策略优化

RL Excursions during Pre-Training: Re-examining Policy Optimization for LLM training

Harvard University(哈佛大学)

Rachit Bansal, Clara Mohri, Tian Qin, David Alvarez-Melis, Sham Kakade

AI总结:

本文质疑LLM标准训练流程中仅在预训练和监督微调后使用强化学习的做法,通过从头训练LLM并在中间检查点直接应用RL、SFT及SFT后RL,发现RL早期有效且能匹配完整流程,同时提出并行平均合并RL和SFT目标的方法在保持通用能力的同时优于其他方法。

摘要:

标准的LLM训练流程仅在预训练和监督微调(SFT)之后应用强化学习(RL)。我们通过从头训练LLM,并直接在中间预训练检查点上应用RL、SFT以及SFT后接RL,来质疑这一现状。我们发现RL在早期非常有效,并且通常也能在早期匹配完整的SFT→RL流程。通过在更难问题上的实验,我们发现针对性的预训练数据组成是RL有效性的强大杠杆,甚至比模型规模更重要。除了推理准确性之外,直接将RL应用于基础检查点会扩展模型的分布;而最近工作中报告的锐化效应仅在RL跟随SFT时出现。RL基本不改变模型的通用能力,而SFT后通用能力会下降。最后,我们通过并行平均合并RL和SFT目标,该方法在所有其他训练方法中表现最佳,跨指标均优于其他方法,同时保持通用能力。这些结果表明,LLM训练可能受益于RL的更广泛使用。

英文摘要:

The standard LLM training pipeline applies reinforcement learning (RL) only after pre-training and supervised fine-tuning (SFT). We question this status quo by training a LLM from scratch and applying RL, SFT, and SFT followed by RL directly to intermediate pre-training checkpoints. We find that RL is effective very early, and often matches the full SFT$\to$RL pipeline early as well. Through experiments on harder problems, we find that targeted pre-training data composition is a strong lever for RL effectiveness, even more so than model scale. Beyond reasoning accuracy, applying RL directly to base checkpoints expands the model's distribution; the sharpening effect reported in recent work arises only when RL follows SFT. The general capabilities of the model remain essentially unchanged by RL, while they degrade following SFT. Finally, we merge RL and SFT objectives by parallel averaging, which outperforms across all other training methods discussed, across metrics, while preserving general capabilities. Together, these results suggest that LLM training might benefit from an expanded use of RL.

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

↑