为RL重新注入价值:通过统一LLM推理器与验证器实现更好的测试时间扩展
Putting the Value Back in RL: Better Test-Time Scaling by Unifying LLM Reasoners With Verifiers
AI总结:
本文提出RL$^V$方法,通过联合训练LLM作为推理器和生成验证器,提升测试时间计算效率和任务准确性,实现20%以上的MATH准确率提升和8-32倍的计算效率提升。
摘要:
普遍的强化学习(RL)方法在微调LLM推理器时,如GRPO或Leave-one-out PPO,倾向于放弃学习的价值函数,转而使用经验估计的回报。这阻碍了依赖价值函数进行验证的测试时间计算扩展。然而,如果并行测试时间计算已经是部署计划的一部分,训练应设计以支持它。在本文中,我们提出RL$^V$,通过联合训练LLM作为推理器和生成验证器,利用RL生成的数据,使LLM同时具备推理和验证能力,而无需显著增加开销。实证表明,RL$^V$通过并行采样将MATH准确率提升超过20%,相比基础RL方法实现8-32倍的测试时间计算效率提升。RL$^V$在易到难和跨领域任务中也表现出强大的泛化能力。此外,当联合扩展并行和顺序测试时间计算时,使用长推理R1模型,RL$^V$的性能达到1.2-1.6倍的提升。更广泛地说,RL$^V$实现了测试时间扩展的协同训练原则:利用RL训练已生成的数据,同时优化任务性能和推理时有用的能力。
英文摘要:
Prevalent reinforcement learning~(RL) methods for fine-tuning LLM reasoners, such as GRPO or Leave-one-out PPO, abandon the learned value function in favor of empirically estimated returns. This hinders test-time compute scaling that relies on using the value-function for verification. Yet if parallel test-time compute is already part of the deployment plan, training should be designed to support it. In this work, we propose RL$^V$ that augments any ``value-free'' RL method by jointly training the LLM as both a reasoner and a generative verifier using RL-generated data, adding verification capabilities without significant overhead. Empirically, RL$^V$ boosts MATH accuracy by over 20\% with parallel sampling and enables $8-32\times$ efficient test-time compute scaling compared to the base RL method. RL$^V$ also exhibits strong generalization capabilities for both easy-to-hard and out-of-domain tasks. Furthermore, RL$^V$ achieves $1.2-1.6\times$ higher performance when jointly scaling parallel and sequential test-time compute with a long reasoning R1 model. More broadly, RL$^V$ instantiates the principle of co-training for test-time scaling: jointly optimizing for task performance and a capability useful at inference, using data that RL training already produces.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。