最佳实践批评者优化
观点分析 · 2026/08/26
基于组的强化学习方法(如GRPO)通过为每个提示采样多个响应来避免训练评论家,但标准评论家训练方法往往不稳定。我们研究了这种不稳定性,并开发了最佳实践评论家优化(BPCO),一种结合DPPO、奖励范围约束的值预测、蒙特卡洛值目标、未归一化的策略优势以及长度自适应广义优势估计的配方。由于评论家仅在训练期间使用,BPCO还可以将其条件化于奖励定义信息(如参考答案或评分标准),这些信息对策略隐藏。受控实验隔离了每个设计选择的影响。在从1.5B参数到30B-A3B混合专家的数学推理任务中,BPCO一致地改进了强评论家基线,并在每个提示采样一个响应的情况下匹配或超过基于组的基线。同样的配方也改善了基于规则的奖励学习。这些结果表明,精心设计的评论家为组相对优势估计提供了可靠的替代方案。代码可在https://github.com/QPHutu/golden_critic获取。
该论文提出了一种改进的评论家训练方法,解决了强化学习中的稳定性问题,并在多个模型规模上验证了其有效性,为语言模型对齐提供了新的可靠替代方案。
Group-based reinforcement learning methods such as GRPO for large language models avoid training a critic by sampling multiple responses for each prompt. A reliable critic could instead estimate token-level advantages from one response, but standard critic-based training recipes are often unstable. We study this instability and develop **Best Practice Critic Optimization (BPCO)**, a recipe that combines DPPO, value predictions bounded to the reward range, Monte Carlo value targets, unnormalized policy advantages, and length-adaptive generalized advantage estimation. Because the critic is used only during training, BPCO can also condition it on reward-defining information, such as a reference answer or grading rubric, that is hidden from the policy. Controlled experiments isolate the effect of each design choice. Across mathematical reasoning tasks with models ranging from 1.5B parameters to 30B-A3B mixtures of experts, BPCO improves a strong critic-based baseline consistently, and matches or exceeds a group-based baseline while sampling one response per prompt. The same recipe also improves learning with rubric-based rewards. These results show that a carefully designed critic provides a reliable alternative to group-relative advantage estimation. Code is available at https://github.com/QPHutu/golden_critic.