Deep Reinforcement Learning at the Edge of the Statistical Precipice

Rishabh Agarwal, Max Schwarzer, Pablo Samuel Castro, Aaron Courville, Marc G Bellemare

TL;DR

This paper reveals that much of the "progress" in deep reinforcement learning (RL) may be a statistical illusion caused by evaluating algorithms on too few runs. The authors propose a new, more rigorous evaluation framework—including the Interquartile Mean (IQM) and Performance Profiles—to help researchers draw reliable conclusions even when compute budgets are tight.

What Problem Does This Paper Address?

In deep RL, training agents is notoriously expensive. Training a single model on the full Atari benchmark can take weeks of GPU time. Consequently, most researchers only run their experiments 3 to 5 times per task.

Trend of RL evaluation runs over time

The problem? RL is highly stochastic. Performance varies wildly based on random seeds, initialization, and hardware non-determinism. When you combine high variability with a tiny sample size, "point estimates" (like a simple mean or median score) become incredibly noisy. The authors argue that the field is currently at a "statistical precipice" where we cannot distinguish between a genuine algorithmic breakthrough and a lucky string of random seeds. This leads to a reproducibility crisis and rewards "SOTA-chasing" based on noise rather than merit.

Methods

The authors move away from simple point estimates and introduce three primary statistical tools for more reliable RL evaluation:

  1. Stratified Bootstrap Confidence Intervals (CIs): Instead of reporting a single number, researchers should report a range. Stratification ensures that the uncertainty accounts for variability across both different tasks and different independent runs.
  2. Performance Profiles (Score Distributions): Rather than collapsing an algorithm's performance across 50 games into one number, these profiles show the distribution of scores. This allows you to see at a glance if an algorithm is a "one-hit wonder" (performing great on two games but failing others) or consistently robust.
  3. Interquartile Mean (IQM): The authors recommend IQM as a "Goldilocks" metric. The Mean is easily skewed by a single outlier task with a massive score. The Median is too "discard-heavy," often ignoring improvements on half the tasks. The IQM looks at the middle 50% of all runs, making it robust to outliers while remaining statistically efficient.
Score distributions and confidence intervals for Atari 100k

To make these methods accessible, they released an open-source library called rliable.

Datasets

The authors didn't introduce a new benchmark; instead, they re-evaluated existing results on the most influential ones in the field:

  • Atari 100k: A data-efficient version of Atari (26 games, 100k steps).
  • Arcade Learning Environment (ALE): The standard 200M frame benchmark (55 games).
  • Procgen: 16 tasks designed to test how well agents generalize to new environments.
  • DeepMind Control Suite: 6 continuous control tasks (robotics simulations).

Key Insights and Ideas

  • The Median is Biased: In the "few-run" regime (3-10 runs), the sample median is actually a biased estimator of the true median performance. It can lead researchers to think an algorithm is better or worse than it actually is.
  • Protocol Sensitivity: Small changes in how you report scores (e.g., taking the maximum score during training vs. the final score) can completely flip the ranking of two algorithms. This "evaluation debt" makes older papers incomparable to newer ones.
  • The "Aha" Moment on Uncertainty: When the authors re-analyzed major papers using 95% confidence intervals, they found that the performance of many "state-of-the-art" algorithms overlapped almost entirely. In many cases, there was no statistically significant evidence that the newer algorithm was actually better.
  • IQM is the New Standard: IQM requires far fewer runs to reach a stable estimate than the median, making it the most practical metric for researchers with limited compute.

Key Results

  • Atari 100k Case Study: By running 100 trials of several algorithms (instead of the usual 5), they showed that point estimates from prior papers were often misleading. For instance, the algorithm DER was shown to be potentially better than OTR, despite some point estimates suggesting the opposite.
  • Procgen Re-evaluation: They found that many reported improvements on the Procgen benchmark were only "50-70% likely" to be real improvements when accounting for statistical uncertainty.
  • Atari 200M: Re-evaluating heavyweights like DreamerV2 and M-IQN showed massive overlapping confidence intervals, suggesting that the "gap" between these top-tier agents is much smaller (and less certain) than previously claimed.

Limitations and Future Work

  • Computational Cost: While the proposed metrics are more efficient, RL remains expensive. The authors acknowledge that statistical rigor doesn't solve the fundamental high cost of training.
  • Threshold Selection: Some metrics, like the "Optimality Gap," require choosing a target performance threshold (e.g., "human-level"). Choosing this threshold can be subjective and may influence the perceived success of an algorithm.
  • Cultural Shift: The biggest hurdle is adoption. The authors call on conference organizers and reviewers to mandate the use of error bars and robust metrics to prevent the field from stagnating due to unreliable results.

Summary updated

BibTeX
@inproceedings{agarwal2021deep,
  author = {Rishabh Agarwal and Max Schwarzer and Pablo Samuel Castro and Aaron Courville and Marc G Bellemare},
  title = {{Deep Reinforcement Learning at the Edge of the Statistical Precipice}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=uqv8-U4lKBe},
}
Figure