Reinforcement Learning Lab

Eight reinforcement-learning labs: classical, deep, policy optimisation, bandits, planning and multi-agent, with experiments trained for real in your browser.

39interactive experiments

Evaluation and reproducibility

RL Applications · Research

Learning objectives

  • Separate training from evaluation performance.
  • Record seeds and hyper-parameters.
  • Avoid conclusions from one run.

The idea

Training performance includes exploration, so the agent is evaluated greedily on fresh environments.

Explanation

Record the seed, hyper-parameters and version, and report several seeds with confidence intervals. The lab's analytics never claim convergence from one good episode: they need at least two full windows to judge, and "insufficient" is a correct result.

Equations

\text{score}=\tfrac{1}{n}\sum_{k=1}^{n}G^{(k)}_{\text{greedy}},\qquad \text{seeds}\ge 5

Five seeds is a practical recommendation, not a mathematical rule.

Worked example

The lab's "Evaluate" button runs greedy episodes on a fresh seed and shows mean and deviation.

Common mistakes

Skipping separate evaluation.

Reusing the training seed.

Summary

Evaluate greedily on new seeds, record everything and use several seeds.

Related experiments

Assessment questions

References

  1. Henderson, P.; Islam, R.; Bachman, P.; et al. (2018). Deep reinforcement learning that matters. AAAI 32(1). doi:10.1609/aaai.v32i1.11694
  2. Agarwal, R.; Schwarzer, M.; Castro, P. S.; et al. (2021). Deep reinforcement learning at the edge of the statistical precipice. NeurIPS 2021 (arXiv). doi:10.48550/arxiv.2108.13264