用极少数据训练的RLHF模型,竟能让大模型在推理任务上表现接近高成本模型。
GRLO: Towards Generalizable Reinforcement Learning in Open-Ended Environments from Zero

- 从零开始用5000条对话数据训练RLHF,提升模型泛化能力
- 在多领域平均性能从24.1提升至63.1,仅需22.7小时GPU算力
- 适合追求高效低成本后训练的开发者,尤其关注通用推理能力
后训练已成为释放大语言模型潜力的关键步骤,强化学习(RL)成为核心范式。近期基于强化学习的后训练分为两类:人类反馈强化学习(RLHF)在目标领域利用人类偏好信号优化模型,验证奖励强化学习(RLVR)则在验证器支持的环境中运行。后者因在特定任务(如推理)上表现更优、效率更高而占据主导。然而,域内强化学习仍需大量GPU算力,限制了广泛应用。本文研究从零开始在开放环境中的可泛化强化学习(即GRLO),探索通过少量交互获得的对话能力是否能隐式迁移至数学推理和代码生成等下游任务。实验基于Qwen3-4B-Base模型,仅使用5000条提示与22.7小时GPU算力,使多领域平均性能从24.1提升至63.1,相比强基线减少约46倍数据与68倍算力。最终模型甚至媲美官方发布的大规模训练模型。后续进行域内RLVR微调仅在更难竞赛类数学题上带来有限提升。我们希望GRLO提供一种简单高效的通用后训练方案。代码与数据将公开于:https://github.com/SJY8460/GRLO。
原文摘要 · Abstract (English)
Post-training has become a crucial step for unlocking the capabilities of large language models, with reinforcement learning (RL) emerging as a critical paradigm. Recent RL-based post-training has increasingly split into two paradigms: reinforcement learning from human feedback (RLHF), which optimizes models using human preference signals in target domains, and reinforcement learning from verifiable rewards (RLVR), which operates in verifier-backed environments. The latter has dominated recent reasoning-oriented post-training because it delivers stronger gains and higher efficiency on domain-specific tasks (e.g., reasoning). However, although in-domain RL training achieves promising performance, it still requires a substantial amount of GPU compute, which remains a major barrier to broad adoption. In this work, we study the generalization ability of RLHF learned from scratch from a small set of interactions in open-ended environments, and investigate whether the conversational abilities it explicitly acquires can implicitly transfer to downstream tasks such as mathematical reasoning and code generation, namely GRLO. Specifically, on Qwen3-4B-Base backbone, GRLO improves the average performance across all domains from 24.1 to 63.1 with only 5K prompts and 22.7 GPU hours, requiring about $46\times$ less data and $68\times$ less compute than a strong in-domain RLVR baseline. The resulting model is even competitive with Qwen's released post-trained models which required a much larger training cost. Notably, a subsequent in-domain RLVR stage brings only selective gains, mainly on harder competition-math benchmarks. We hope GRLO offers a simple and efficient recipe for building broadly capable post-trained models. Our code and data will be available at: \href{https://github.com/SJY8460/GRLO}{https://github.com/SJY8460/GRLO}.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。