MDP Playground: An Analysis and Debug Testbed for Reinforcement Learning
This provides a tool for researchers to systematically test and understand RL agents, but it is incremental as it builds on existing frameworks like OpenAI Gym.
The authors introduced MDP Playground, a testbed for analyzing and debugging reinforcement learning agents by controlling dimensions of hardness like delayed rewards and stochasticity, and demonstrated its use in toy and complex environments such as Atari and Mujoco.
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.