TTRL is an open-source framework for test-time reinforcement learning in large language models, with a particular focus on reasoning tasks where ground-truth labels are not available during inference. The project addresses the problem of how to generate useful reward signals from unlabeled test-time data, and its central insight is that common test-time scaling practices such as majority voting can be repurposed into reward estimates for online reinforcement learning. This makes the framework especially interesting for scenarios where models must keep adapting during evaluation or deployment instead of relying only on fixed pretraining and static fine-tuning. The repository is implemented on top of the verl ecosystem, which allows users to enable TTRL as part of an existing reinforcement learning workflow rather than building a new stack from scratch.

Features

  • Online reinforcement learning for unlabeled test-time data
  • Reward estimation based on majority-vote style test-time signals
  • Integration with the verl reinforcement learning framework
  • Scripts for reproducing benchmark experiments such as AIME 2024
  • Utilities for converting training data from JSON to Parquet
  • Support for multiple models and reasoning benchmarks

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow TTRL

TTRL Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TTRL!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM)

Registered

5 days ago