MDP Playground: An Analysis and Debug Testbed for Reinforcement Learning

Abstract

We present MDP Playground, a testbed for Reinforcement Learning (RL) agents with dimensions of hardness that can be controlled independently to challenge agents in different ways and obtain varying degrees of hardness in toy and complex RL environments. We consider and allow control over a wide variety of dimensions, including delayed rewards, sequence lengths, reward density, stochasticity, image representations, irrelevant features, time unit, action range and more. We define a parameterised collection of fast-to-run toy environments in OpenAI Gym by varying these dimensions and propose to use these to understand agents better. We then show how to design experiments using MDP Playground to gain insights on the toy environments. We also provide wrappers that can inject many of these dimensions into any Gym environment. We experiment with these wrappers on Atari and Mujoco to allow for understanding the effects of these dimensions on environments that are more complex than the toy environments. We also compare the effect of the dimensions on the toy and complex environments. Finally, we show how to use MDP Playground to debug agents, to study the interaction of multiple dimensions and describe further use-cases.

Cite

Text

Rajan et al. "MDP Playground: An Analysis and Debug Testbed for Reinforcement Learning." Journal of Artificial Intelligence Research, 2023. doi:10.1613/JAIR.1.14314

Markdown

[Rajan et al. "MDP Playground: An Analysis and Debug Testbed for Reinforcement Learning." Journal of Artificial Intelligence Research, 2023.](https://mlanthology.org/jair/2023/rajan2023jair-mdp/) doi:10.1613/JAIR.1.14314

BibTeX

@article{rajan2023jair-mdp,
  title     = {{MDP Playground: An Analysis and Debug Testbed for Reinforcement Learning}},
  author    = {Rajan, Raghu and Diaz, Jessica Lizeth Borja and Guttikonda, Suresh and Ferreira, Fabio and Biedenkapp, André and von Hartz, Jan Ole and Hutter, Frank},
  journal   = {Journal of Artificial Intelligence Research},
  year      = {2023},
  pages     = {821-890},
  doi       = {10.1613/JAIR.1.14314},
  volume    = {77},
  url       = {https://mlanthology.org/jair/2023/rajan2023jair-mdp/}
}