TTRL: Test-Time Reinforcement Learning

Yuxin Zuo, Kaiyan Zhang, Li Sheng, Shang Qu, Ganqu Cui +11 more
4/22/2025
cs.CLcs.LG

Official code: PRIME-RL/TTRL (1,110 stars, MIT, last commit 2026-04-15). 1 more implementation below.

Abstract

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

View on arXivView PDF

Code Implementations(2)

PRIME-RL/TTRLOfficial100%
MIT

[NeurIPS 2025] TTRL: Test-Time Reinforcement Learning

1,11082Shell, PythonApr 23, 20256 months agoMIT
llmreasoningrl
MIT

A Survey of Reinforcement Learning for Large Reasoning Models

2,485132TeXMar 20, 202511 months agoMIT
awesome-listdeepseek-r1llmlrmopen-source+2 more

Similar Papers

Cite this paper

@article{zuo2025ttrl,
  title  = {TTRL: Test-Time Reinforcement Learning},
  author = {Yuxin Zuo and Kaiyan Zhang and Li Sheng and Shang Qu and Ganqu Cui and Xuekai Zhu and Haozhan Li and Yuchen Zhang and Xinwei Long and Ermo Hua and Biqing Qi and Youbang Sun and Zhiyuan Ma and Lifan Yuan and Ning Ding and Bowen Zhou},
  year   = {2025},
  eprint = {2504.16084},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.16084v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.16084.svg)](https://codeofpaper.com/paper/2504.16084)

Discussion