arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.15464cs.LGcs.AIcs.CL
收藏

GRLO:从零开始在开放环境中的通用强化学习

Where and What to Reward? Understanding Generalization Between Verifiable and Open-Ended Domains in Reinforcement Learning

University of California, Riverside(加州大学河滨分校)

Shangjian Yin, Yu Fu, Yue Dong, Zhouxing Shi

AI总结:

GRLO研究从少量交互数据中训练的RLHF在开放环境中的泛化能力,探索其对话能力是否能迁移至数学推理和代码生成等下游任务,展示出高效且低成本的训练方法。

摘要:

事后训练已成为解锁大型语言模型能力的关键步骤,强化学习(RL)逐渐成为关键范式。近期基于RL的后训练方法日益分化为两种范式:基于人类反馈的强化学习(RLHF),其通过目标领域的偏好信号优化模型,以及基于可验证奖励的强化学习(RLVR),其在由验证器支持的环境中运行。后者在近期以推理为导向的后训练中占据主导地位,因为它在领域特定任务(如推理)上提供了更强的增益和更高的效率。然而,尽管领域内RL训练取得了令人满意的性能,但仍需要大量的GPU计算资源,这仍然是广泛应用的主要障碍。本文研究了从开放环境中的少量交互数据中从零开始训练的RLHF的泛化能力,并探讨其显式获得的对话能力是否能隐式地迁移到数学推理和代码生成等下游任务,即GRLO。具体而言,在Qwen3-4B-Base基础上,GRLO仅使用5K提示和22.7 GPU小时,将所有领域的平均性能从24.1提升到63.1,所需数据和计算资源分别比强大的领域内RLVR基线少约46倍和68倍。所得到的模型甚至与Qwen发布的后训练模型相媲美,后者需要更大的训练成本。值得注意的是,后续的领域内RLVR阶段仅带来选择性的增益,主要体现在更难的竞赛数学基准上。我们希望GRLO能为构建广泛具备能力的后训练模型提供一个简单且高效的配方。我们的代码和数据将在:https://github.com/SJY8460/GRLO上提供。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) is widely used to improve the reasoning capability of language models, since model-generated answers can be easily verified by a rule-based verifier. In contrast, reinforcement learning from human feedback (RLHF) is mainly used to optimize open-ended conversation with a learned reward model, because such responses are not easy to verify. RLVR and RLHF are usually trained separately with their own domain data and training protocols. How gains transfer between these domains is unclear, partly because comparisons change both where a model is trained (the prompts) and what is rewarded (by a verifier or a reward model). We separate the two in a controlled study of RL on multiple base models that fixes the optimizer and the number of training prompts, and varies only the source domain of the prompts (math, multi-domain, chat, or mixtures) and the reward. We find that RLHF on open-ended prompts substantially improves conversational ability and also brings large gains in reasoning and coding, whereas RLVR improves reasoning but its gains in open-ended conversation plateau far below those of RLHF, suggesting that RL on open-ended prompts with a reward model can serve as an effective approach for generalizing across domains.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑