用不确定性筛选强化学习微调中的最佳模型检查点。
Uncertainty-Guided Checkpoint Selection for Reinforcement Finetuning of Large Language Models
- 基于样本不确定性识别难题,按解决难例能力排序检查点。
- 在三个数据集和三类大模型上均优于传统方法。
- 无需额外计算,适合资源有限的模型优化场景。
强化学习微调对对齐大语言模型至关重要,但过程不稳定且检查点间差异大。实践中选择最优检查点困难:训练中评估需大量计算且依赖优质验证集,而直接使用最终检查点无法保证性能。本文提出不确定性引导的检查点选择(UGCS)方法,通过每样本不确定性识别难例,并依据模型处理这些难例的表现对检查点排序。通过在短训练窗口内平均高不确定性样本的奖励,该方法生成稳定且具有区分力的信号,无需额外前向传播或显著计算开销。在三个数据集和三类大模型上的实验表明,UGCS始终能选出泛化能力更强的检查点,优于依赖训练或验证性能的传统策略。结果表明,能在低不确定性下解决最难任务的模型整体最可靠。
原文摘要 · Abstract (English)
Reinforcement learning (RL) finetuning is crucial to aligning large language models (LLMs), but the process is notoriously unstable and exhibits high variance across model checkpoints. In practice, selecting the best checkpoint is challenging: evaluating checkpoints on the validation set during training is computationally expensive and requires a good validation set, while relying on the final checkpoint provides no guarantee of good performance. We introduce an uncertainty-guided approach for checkpoint selection (UGCS) that avoids these pitfalls. Our method identifies hard question-answer pairs using per-sample uncertainty and ranks checkpoints by how well they handle these challenging cases. By averaging the rewards of the top-uncertain samples over a short training window, our method produces a stable and discriminative signal without additional forward passes or significant computation overhead. Experiments across three datasets and three LLMs demonstrate that it consistently identifies checkpoints with stronger generalization, outperforming traditional strategies such as relying on training or validation performance. These results highlight that models solving their hardest tasks with low uncertainty are the most reliable overall.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。