HarnessRL:为开放式强化学习协同进化策略与即时训练工具
HarnessRL: Co-Evolving Policies with a Just-in-Time Training Harness for Open-Ended RL
AI总结:
HarnessRL是与策略协同进化的即时训练工具,通过三接口解决开放式RL的奖励失效问题,在Rubric-Mix-10k上优于基线,减少训练步骤。
摘要:
基于规则的强化学习(RL)以自然语言标准作为奖励来训练开放式生成策略,但随着训练推进,这些奖励可能失效。我们识别出两种失效模式:在非判别式奖励下,由于探索不足或任务难度与策略能力不匹配,分数会崩溃为统一的低值或高值;在虚假奖励下,更高的分数并不对应更好的响应。这两种情况都反映了训练配置中,任务采样、探索和评估在策略进化时保持固定。我们引入HarnessRL,这是一种训练时的工具,通过任务采样、rollout引导和规则标准三个接口与策略协同进化。HarnessRL维护一个训练时的记忆,工具进化器从中检索任务内历史和跨任务证据。利用这些证据,进化器将每个奖励失效归因于其更新可解决该问题的接口,随后运行提议者与即时评论者循环:评论者仅在测量候选更新对当前冻结策略的影响后才接受它,将被拒绝的候选返回以修订。我们还整理了Rubric-Mix-10k,这是一个涵盖医疗、科学、写作、角色扮演和指令遵循任务的五领域开放式RL训练与评估套件。在Rubric-Mix-10k上,HarnessRL在4B和9B模型规模下均比最强基线高出2.8至3.1分,并将达到最佳检查点的训练步骤几乎减半。代码和数据可在this https URL获取。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。