HarnessRL:面向开放式强化学习的策略与即时训练框架协同演化

·

研究论文 · 2026/10/21

基于评分标准的强化学习(RL)使用自然语言标准作为奖励来训练开放式生成策略,但这些奖励在训练过程中可能失效。我们识别了两种失败模式:在非区分性奖励下,分数因探索不足或任务难度与策略能力不匹配而坍缩为均匀低值或高值;在虚假奖励下,更高分数并不对应更好回复。两者都反映了训练配置(任务采样、探索和评估)在策略演化时保持固定。我们提出HarnessRL,一种训练时框架,通过任务采样、 rollout引导和评分标准三个接口与策略共同演化。HarnessRL维护训练时记忆,框架演化器从中检索任务内历史和跨任务证据,将奖励失败归因于可解决该问题的接口,然后运行提议者和即时批评者循环,批评者仅在测量候选更新对当前冻结策略的影响后接受更新。我们还构建了Rubric-Mix-10k,一个涵盖医学、科学、写作、角色扮演和指令遵循五个领域的开放式RL训练评估套件。在Rubric-Mix-10k上,HarnessRL在4B和9B模型规模上比最强基线高出2.8至3.1分,并将达到最佳检查点的训练步数几乎减半。

该论文解决了开放式强化学习中奖励设计的关键问题,提出了一种动态适应策略演化的训练框架,显著提升了性能并减少了训练成本,对RLHF和开放式生成领域有重要参考价值。

Rubric-based reinforcement learning (RL) trains policies for open-ended generation with natural-language criteria as rewards, but these rewards can become ineffective as training progresses. We identify two failure modes. Under non-discriminative rewards, scores collapse to uniformly low or high values due to insufficient exploration or a mismatch between task difficulty and policy capability. Under spurious rewards, higher scores do not correspond to better responses. Both reflect a training configuration whose task sampling, exploration, and evaluation stay fixed as the policy evolves. We introduce HarnessRL, a training-time harness that co-evolves with the policy through three interfaces for task sampling, rollout guidance, and rubric criteria. HarnessRL maintains a training-time memory from which a harness evolver retrieves within-task history and cross-task evidence. Using this evidence, the evolver attributes each reward failure to the interface whose update can address it. It then runs a proposer and just-in-time critic loop in which the critic accepts a candidate update only after measuring its effect on the current frozen policy, returning rejected candidates for revision. We also curate Rubric-Mix-10k, a five-domain training and evaluation suite for open-ended RL across medical, science, writing, role-play, and instruction-following tasks. On Rubric-Mix-10k, HarnessRL outperforms the strongest baselines by 2.8 to 3.1 points across both 4B and 9B model scales and nearly halves the training steps to its best checkpoint. Code and data are available at https://github.com/Tongyi-ConvAI/Qwen-Character/tree/main/HarnessRL.

阅读原文

参与讨论