模型改变主意之处:用于高效可验证奖励强化学习的后见之明分歧定位
研究论文 · 2026/09/30
针对可验证奖励的强化学习(RLVR),组相对方法从轨迹结果差异中学习。独立采样完整轨迹成本高昂,且未在关键位置显式探索决策空间。已完成轨迹的反馈可揭示策略重新考虑哪些早期选择,从而指示在何处采样替代延续。我们提出后见分歧定位(HDL),利用后见引发的token对数似然变化来选择分支点。HDL生成少量完整根轨迹,并在原始任务上下文下用所选位置的延续填充每个训练组。每个延续复用其根前缀,仅通过新生成的后缀贡献策略更新,从而降低生成成本,同时将额外探索和学习集中在分支后的决策上。在数学、代码和智能体任务上对三个模型的实验表明,rollout效率和任务性能均有提升。与匹配组大小和训练步数的GRPO相比,HDL最多减少2.5倍的生成token,并将rollout墙钟时间加速1.8倍。尽管生成预算减少,HDL在所有三个领域均提升性能,智能体任务上增益高达12.5分。
该研究提出了一种高效且有效的RLVR训练方法,通过后见分歧定位显著降低生成成本并提升性能,对强化学习与可验证奖励领域具有重要实践意义。
Group-relative methods for reinforcement learning with verifiable rewards (RLVR) learn from differences in rollout outcomes. Independently sampling complete trajectories is costly and does not explicitly explore the decision space at critical positions. Feedback on a completed trajectory can reveal which earlier choices the policy reconsiders, suggesting where to sample alternative continuations. We introduce Hindsight-Divergence Localization (HDL), which uses hindsight-induced changes in token log-likelihoods to select branch points. HDL generates a small number of complete root trajectories and fills each training group with continuations from the selected positions under the original task context. Each continuation reuses its root prefix and contributes policy updates only through its newly generated suffix, reducing generation cost while focusing additional exploration and learning on decisions after branching. Experiments with three models across math, code, and agent tasks show gains in both rollout efficiency and task performance. Compared with GRPO at matched group sizes and training steps, HDL yields up to a 2.5times reduction in generated tokens and a 1.8times speedup in rollout wall-clock time. Despite this reduced generation budget, HDL improves performance across all three domains, with gains of up to 12.5 points on agent tasks.