EduGym: An Environment and Notebook Suite for Reinforcement Learning Education
Thomas M. Moerland,Matthias Müller-Brockhausen,Zhao Yang,Andrius Bernatavicius,Koen Ponse,Tom Kouwenhoven,Andreas Sauter,Michiel van der Meer,Bram Renting,Aske Plaat
2024-02-22
Abstract:Due to the empirical success of reinforcement learning, an increasing number of students study the subject. However, from our practical teaching experience, we see students entering the field (bachelor, master and early PhD) often struggle. On the one hand, textbooks and (online) lectures provide the fundamentals, but students find it hard to translate between equations and code. On the other hand, public codebases do provide practical examples, but the implemented algorithms tend to be complex, and the underlying test environments contain multiple reinforcement learning challenges at once. Although this is realistic from a research perspective, it often hinders educational conceptual understanding. To solve this issue we introduce EduGym, a set of educational reinforcement learning environments and associated interactive notebooks tailored for education. Each EduGym environment is specifically designed to illustrate a certain aspect/challenge of reinforcement learning (e.g., exploration, partial observability, stochasticity, etc.), while the associated interactive notebook explains the challenge and its possible solution approaches, connecting equations and code in a single document. An evaluation among RL students and researchers shows 86% of them think EduGym is a useful tool for reinforcement learning education. All notebooks are available from <a class="link-external link-https" href="https://www.edugym.org/" rel="external noopener nofollow">this https URL</a>, while the full software package can be installed from <a class="link-external link-https" href="https://github.com/RLG-Leiden/edugym" rel="external noopener nofollow">this https URL</a>.
Machine Learning,Artificial Intelligence,Computers and Society