arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.16084cs.CLcs.LG
收藏

TTRL:测试时强化学习

TTRL: Test-Time Reinforcement Learning

Tsinghua University(清华大学);Shanghai AI Lab(上海人工智能实验室)
Yuxin Zuo, Kaiyan Zhang, Li Sheng, Shang Qu, Ganqu Cui, Xuekai Zhu, Haozhan Li, Yuchen Zhang, Xinwei Long, Ermo Hua, Biqing Qi, Youbang Sun, Zhiyuan Ma, Lifan Y… 展开作者

Yuxin Zuo, Kaiyan Zhang, Li Sheng, Shang Qu, Ganqu Cui, Xuekai Zhu, Haozhan Li, Yuchen Zhang, Xinwei Long, Ermo Hua, Biqing Qi, Youbang Sun, Zhiyuan Ma, Lifan Yuan, Ning Ding, Bowen Zhou

AI总结:

本文提出测试时强化学习(TTRL),利用无标签测试数据和多数投票等测试时扩展先验构建奖励信号,驱动大语言模型自我进化,在多种任务上显著提升推理性能。

摘要:

本文研究在大语言模型(LLMs)的推理任务中,对没有显式标签的数据进行强化学习(RL)。该问题的核心挑战是在推理过程中进行奖励估计,同时无法获得真实标签信息。虽然这一设定看似难以实现,但我们发现测试时扩展(Test-Time Scaling, TTS)中的常见做法,如多数投票,能够产生出人意料的有效奖励,适合驱动强化学习训练。在这项工作中,我们提出了测试时强化学习(Test-Time Reinforcement Learning, TTRL),这是一种利用无标签数据通过强化学习训练大语言模型的新方法。TTRL通过利用预训练模型中的先验知识,实现大语言模型的自我进化。我们的实验表明,TTRL在多种任务和模型上持续提升性能。值得注意的是,仅使用无标签测试数据,TTRL将Qwen-2.5-Math-7B在AIME 2024上的pass@1性能提升了约211%。此外,尽管TTRL仅由maj@n指标监督,TTRL已展现出持续超越初始模型maj@n上限的性能,并接近使用带有真实标签的测试数据直接训练的模型的性能。我们的实验结果验证了TTRL在各种任务上的普遍有效性,并凸显了TTRL在更广泛任务和领域中的潜力。GitHub:https://github.com/PRIME-RL/TTRL

英文摘要:

This paper investigates Reinforcement Learning (RL) on data without explicit labels for reasoning tasks in Large Language Models (LLMs). The core challenge of the problem is reward estimation during inference while not having access to ground-truth information. While this setting appears elusive, we find that common practices in Test-Time Scaling (TTS), such as majority voting, yield surprisingly effective rewards suitable for driving RL training. In this work, we introduce Test-Time Reinforcement Learning (TTRL), a novel method for training LLMs using RL on unlabeled data. TTRL enables self-evolution of LLMs by utilizing the priors in the pre-trained models. Our experiments demonstrate that TTRL consistently improves performance across a variety of tasks and models. Notably, TTRL boosts the pass@1 performance of Qwen-2.5-Math-7B by approximately 211% on the AIME 2024 with only unlabeled test data. Furthermore, although TTRL is only supervised by the maj@n metric, TTRL has demonstrated performance to consistently surpass the upper limit of the initial model maj@n, and approach the performance of models trained directly on test data with ground-truth labels. Our experimental findings validate the general effectiveness of TTRL across various tasks and highlight TTRL's potential for broader tasks and domains. GitHub: https://github.com/PRIME-RL/TTRL

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

↑