Skip to main content
QUICK REVIEW

[Paper Review] Let's Play Again: Variability of Deep Reinforcement Learning Agents in Atari Environments

Kaleigh Clary, Emma Tosch|arXiv (Cornell University)|Apr 12, 2019
Reinforcement Learning in RoboticsComputer Science5 references16 citations
TL;DR

This paper demonstrates that deep reinforcement learning agents in Atari environments exhibit significant performance variability even when trained with the same hyperparameters and random seed, challenging the use of single-point estimates like mean or maximum reward for model evaluation. The authors advocate for reporting agent performance as a distribution of scores across multiple test episodes, arguing that this better captures true model behavior and reduces bias in model selection.

ABSTRACT

Reproducibility in reinforcement learning is challenging: uncontrolled stochasticity from many sources, such as the learning algorithm, the learned policy, and the environment itself have led researchers to report the performance of learned agents using aggregate metrics of performance over multiple random seeds for a single environment. Unfortunately, there are still pernicious sources of variability in reinforcement learning agents that make reporting common summary statistics an unsound metric for performance. Our experiments demonstrate the variability of common agents used in the popular OpenAI Baselines repository. We make the case for reporting post-training agent performance as a distribution, rather than a point estimate.

Motivation & Objective

  • To investigate the extent of performance variability in deep reinforcement learning agents trained with the same hyperparameters and random seeds in Atari environments.
  • To challenge the common practice of using single-point metrics—such as mean or maximum reward— to summarize agent performance.
  • To demonstrate that variability in agent performance is not solely due to random seed differences but also inherent to individual trained models.
  • To argue for a shift in evaluation practice toward reporting performance distributions instead of point estimates to improve reproducibility and fairness in model selection.
  • To provide statistical guidance for selecting models when performance distributions are multimodal, fat-tailed, or highly variable.

Proposed method

  • Collected performance scores from multiple test episodes (e.g., 100 episodes) for each trained agent, using the same trained policy across different random seeds.
  • Analyzed the distribution of scores per seeded model to assess within-model variability, including multimodality, fat tails, and skewness.
  • Used visualizations (e.g., histograms) to compare performance distributions across different random seeds and algorithms (e.g., A2C, PPO2, DQN) on Atari games like Q*bert, Breakout, and Space Invaders.
  • Evaluated the impact of common model selection practices—such as choosing the model with the highest mean or maximum score—on selection bias due to inherent performance variability.
  • Proposed statistical corrections such as resampling, Bonferroni adjustments, and cross-validation over score partitions to account for multiple comparisons when selecting models.
  • Reported performance using full score distributions rather than summary statistics, especially when distributions were non-Gaussian or multimodal.

Experimental results

Research questions

  • RQ1To what extent do deep RL agents with identical hyperparameters and random seeds exhibit variability in performance across test episodes in Atari environments?
  • RQ2How do common model selection practices—such as selecting based on mean or maximum score—introduce bias when performance distributions are multimodal or heavy-tailed?
  • RQ3What are the implications of reporting point estimates (e.g., mean ± standard error) when the underlying performance distribution is not well-behaved?
  • RQ4How does within-model performance variability affect the reproducibility and fairness of model evaluation in deep reinforcement learning?
  • RQ5What statistical methods can be used to correct for variability when selecting models from multiple seeded agents?

Key findings

  • Seeded deep RL agents in Atari environments exhibit substantial variability in performance even when trained with the same random seed, with performance distributions varying widely across test episodes.
  • The performance distribution for A2C on Q*bert was bimodal, with a mean of 2425.4 ± 53.8, but this mean was not representative due to low density in the central region, indicating that the mean is a misleading summary.
  • PPO2 on Breakout showed a fat-tailed distribution, making the mean of 209.3 ± 3.2 an unreliable metric for comparison, as extreme scores heavily influenced the average.
  • Space Invaders performance across all seeded models was bimodal when aggregated, suggesting that model behavior is not consistent across seeds and that within-model variability can mask or distort overall trends.
  • Selecting models based on maximum score favors high-variance models over those with higher expected performance, introducing a significant bias in model selection.
  • Reporting performance as a distribution of scores across multiple test episodes is more informative and reliable than relying on point estimates, especially when distributions are non-Gaussian or multimodal.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.