Open RL Benchmark: Comprehensive Tracked Experiments for Reinforcement Learning

Shengyi Huang, Quentin Gallouédec, Florian Felten, Antonin Raffin, Rousslan Fernand Julien Dossa, Yanxiao Zhao, Ryan Sullivan, Viktor Makoviychuk, Denys Makoviichuk, Mohamad H. Danesh, Cyril Roumégous, Jiayi Weng, Chufan Chen, Md Masudur Rahman, João G. M. Araújo, Guorui Quan, Daniel Tan, Timo Klein, Rujikorn Charakorn, Mark Towers, Yann Berthelot, Kinal Mehta, Dipam Chakraborty, Arjun Kg, Valentin Charraut, Chang Ye, Zichen Liu, Lucas N. Alegre, Alexander Nikulin, Xiao Hu, Tianlin Liu, Jongwook Choi, Brent Yi

Abstract: In many Reinforcement Learning (RL) papers, learning curves are useful indicators to measure the effectiveness of RL algorithms. However, the complete raw data of the learning curves are rarely available. As a result, it is usually necessary to reproduce the experiments from scratch, which can be time-consuming and error-prone. We present Open RL Benchmark, a set of fully tracked RL experiments, including not only the usual data such as episodic return, but also all algorithm-specific and system metrics. Open RL Benchmark is community-driven: anyone can download, use, and contribute to the data. At the time of writing, more than 25,000 runs have been tracked, for a cumulative duration of more than 8 years. Open RL Benchmark covers a wide range of RL libraries and reference implementations. Special care is taken to ensure that each experiment is precisely reproducible by providing not only the full parameters, but also the versions of the dependencies used to generate it. In addition, Open RL Benchmark comes with a command-line interface (CLI) for easy fetching and generating figures to present the results. In this document, we include two case studies to demonstrate the usefulness of Open RL Benchmark in practice. To the best of our knowledge, Open RL Benchmark is the first RL benchmark of its kind, and the authors hope that it will improve and facilitate the work of researchers in the field.

Introduction

Reinforcement Learning (RL) has long struggled with a "reproducibility crisis." A new algorithm's success often hinges on undocumented "implementation tricks"—tiny details like reward scaling or specific optimizer settings. Furthermore, most papers only publish smoothed learning curves rather than raw data. If a researcher wants to compare their new method against an existing one, they usually have to re-run the baseline from scratch. This is not only a massive waste of compute resources but also error-prone; failing to match the original environment versions or hyperparameters renders the comparison invalid. The Open RL Benchmark addresses this by providing a "single source of truth" for RL performance across a vast array of libraries and environments.

Methodology

The Open RL Benchmark is an ecosystem designed for transparency. Key components include:

  • Comprehensive Tracking: Every run is logged via Weights & Biases (W&B), capturing episodic returns, method-specific metrics (like KL divergence), system metrics (GPU/CPU usage), and evolving hyperparameters.
  • Perfect Repeatability: Each experiment includes the exact shell command used, the specific git commit of the library, and a "frozen" list of Python dependencies.
  • The CLI Tool: A command-line interface (openrlbenchmark.rlops) allows researchers to fetch data from different projects and generate publication-ready plots—including those using the statistically rigorous RLiable framework—with a single command.
Example of the CLI command used to perfectly reproduce a specific experiment.

Benchmark Scope and Scale

The benchmark covers a staggering breadth of the RL landscape, hosting nearly 25,000 runs and 72,000 hours of tracking data at the time of publication. It includes runs from major frameworks like CleanRL, Stable Baselines3, OpenAI Baselines, Acme, JAXRL, and TorchBeast. Its environmental coverage spans classic benchmarks like Atari 57, MuJoCo, Box2D, Procgen, and Gymnasium, as well as specialized domains like robotics (Panda-Gym) and autonomous driving (highway-env).

Comparison of episodic returns across different RL libraries (OpenAI Baselines, CleanRL, SB3) for Atari environments.

Key Insights

  • Implementation > Algorithm: The benchmark reinforces the idea that how an algorithm is coded matters as much as the underlying mathematics. By providing the exact code state, researchers can isolate the impact of "dark" implementation details.
  • Moving Beyond the Mean: RL results are often shown as a simple mean of a few seeds. By integrating with RLiable, the benchmark encourages more robust metrics like the Interquartile Mean (IQM) and performance profiles.
  • Democratizing Research: Small labs without massive compute clusters can now compare their work against state-of-the-art baselines without the prohibitive cost of re-running them.

Case Studies

The utility of the benchmark is demonstrated through two case studies:

  1. PPO Value Estimation: An investigation into whether Monte Carlo (MC) estimates for the "critic" outperform standard TD($\lambda$). Results showed that while MC is comparable on MuJoCo, it significantly increases variance and degrades performance on Atari games.
  2. Cleanba vs. The World: The benchmark was used to show that Cleanba (a distributed RL library) is more stable across different hardware configurations (e.g., 1 vs. 8 GPUs) compared to older implementations like Moolib.

Limitations and Future Work

Despite its progress, challenges remain. Terminology inconsistency across libraries requires manual mapping in the CLI. Additionally, as the number of runs grows, maintaining data organization becomes more complex. The authors also note the need for a "Git-like" versioning system for the runs themselves to track how baseline performance changes as libraries evolve. Ultimately, the goal is for the Open RL Benchmark to become a standard utility for the RL community, similar to ImageNet's role in computer vision.

Summary updated

BibTeX
@misc{huang2024open,
  author = {Shengyi Huang and Quentin Gallouédec and Florian Felten and Antonin Raffin and Rousslan Fernand Julien Dossa and Yanxiao Zhao and Ryan Sullivan and Viktor Makoviychuk and Denys Makoviichuk and Mohamad H. Danesh and Cyril Roumégous and Jiayi Weng and Chufan Chen and Md Masudur Rahman and João G. M. Araújo and Guorui Quan and Daniel Tan and Timo Klein and Rujikorn Charakorn and Mark Towers and Yann Berthelot and Kinal Mehta and Dipam Chakraborty and Arjun KG and Valentin Charraut and Chang Ye and Zichen Liu and Lucas N. Alegre and Alexander Nikulin and Xiao Hu and Tianlin Liu and Jongwook Choi and Brent Yi},
  title = {{Open RL Benchmark: Comprehensive Tracked Experiments for Reinforcement Learning}},
  year = {2024},
  eprint = {2402.03046},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.03046},
}
Figure