在LLM后训练中,同策略参数更新方向是泛化的基础
研究论文 · 2026/10/05
在策略后训练范式展现出强大的泛化性能,促使研究者关注其参数更新行为。然而,这些研究仅将观察到的行为视为在策略训练的副产品,忽视了它们作为优化原则来提升其他范式(如有监督微调SFT)泛化能力的潜力。为此,我们探究是否存在一种特定的在策略更新行为能够实现这种改进。首先,分析表明SFT沿一致方向更新参数,而在策略范式在训练过程中不断调整方向。这一差异启发我们关注每个参数的累积更新方向作为一种有前景的行为。然后,我们通过提出在策略方向约束的有监督微调(OPSFT)来评估其提升泛化的有效性,该方法将SFT更新约束到在策略范式所确定的方向上。OPSFT的强劲性能表明,在策略范式的泛化优势可以通过参数更新方向转移到SFT。一旦确定了这样的方向,即使SFT将其更新约束到该方向也能泛化。这一发现通过结合在策略范式的强泛化与SFT的优势(包括高训练效率和利用高质量轨迹的能力)提供了两个实际好处。在效率方面,我们使用少量在策略训练步骤确定支持强泛化的更新方向,随后应用OPSFT实现高训练效率。在利用高质量轨迹方面,OPSFT可以利用这些轨迹沿其更新方向继续改进后训练模型,而不破坏从在策略训练中学到的能力。
该研究揭示了在策略训练泛化优势的机制,并提出了一种简单有效的方法(OPSFT)来提升SFT的泛化能力,同时保持其效率优势,对LLM后训练有重要实践意义。
The strong generalization performance of on-policy post-training paradigms has motivated studies of their parameter update behaviors. However, these studies treat the observed behaviors only as byproducts in on-policy training, overlooking their potential to serve as optimization principles for improving the generalization of other paradigms such as supervised fine-tuning (SFT). To address this limitation, we investigate whether there exists a specific on-policy update behavior that can achieve such improvements. First, our analyses reveal that SFT updates parameters along consistent directions, while the on-policy paradigm continuously adjusts the direction during training. This difference inspires us to focus on the cumulative update direction of each parameter as a promising behavior. Then, we evaluate its effectiveness for improving generalization by proposing On-Policy direction-constrained Supervised Fine-Tuning (OPSFT), which constrains SFT updates to the direction identified by on-policy paradigms. The strong performance of OPSFT indicates that the generalization advantage of on-policy paradigms can be transferred to SFT through the parameter update direction. Once such a direction is identified, even SFT can generalize with its updates constrained to this direction. This finding offers two practical benefits by combining the strong generalization of on-policy paradigms with the advantages of SFT, including the high training efficiency and ability to leverage high-quality trajectories. For efficiency, we identify update directions that support strong generalization using a few on-policy training steps, and subsequently apply OPSFT to achieve high training efficiency. For leveraging high-quality trajectories, OPSFT can utilize these trajectories to continue improving a post-trained model along its update direction without disrupting the ability learned from on-policy training.