Conference proceeding
EnvPool: A Highly Parallel Reinforcement Learning Environment Execution Engine
ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), v 35
01 Jan 2022
Abstract
There has been significant progress in developing reinforcement learning (RL) training systems. Past works such as IMPALA, Apex, Seed RL, Sample Factory, and others, aim to improve the system's overall throughput. In this paper, we aim to address a common bottleneck in the RL training system, i.e., parallel environment execution, which is often the slowest part of the whole system but receives little attention. With a curated design for paralleling RL environments, we have improved the RL environment simulation speed across different hardware setups, ranging from a laptop and a modest workstation, to a high-end machine such as NVIDIA DGX-A100. On a high-end machine, EnvPool achieves one million frames per second for the environment execution on Atari environments and three million frames per second on MuJoCo environments. When running EnvPool on a laptop, the speed is 2.8x that of the Python subprocess. Moreover, great compatibility with existing RL training libraries has been demonstrated in the open-sourced community, including CleanRL, rl_games, DeepMind Acme, etc. Finally, EnvPool allows researchers to iterate their ideas at a much faster pace and has great potential to become the de facto RL environment execution engine. Example runs show that it only takes five minutes to train agents to play Atari Pong and MuJoCo Ant on a laptop. EnvPool is open-sourced at https://github.com/sail-sg/envpool.
Metrics
1 Record Views
Details
- Title
- EnvPool: A Highly Parallel Reinforcement Learning Environment Execution Engine
- Creators
- Jiayi Weng - The Art InstitutesMin Lin - Sea AI Lab, Singapore, SingaporeShengyi Huang - Drexel UniversityBo Liu - Peking UniversityDenys Makoviichuk - Snap, Bronx, NY USAViktor Makoviychuk - NVIDIA, Santa Clara, CA USAZichen Liu - Sea AI Lab, Singapore, SingaporeYufan Song - Carnegie Mellon UniversityTing Luo - Carnegie Mellon UniversityYukun Jiang - Carnegie Mellon UniversityZhongwen Xu - Sea AI Lab, Singapore, SingaporeShuicheng Yan - Sea AI Lab, Singapore, Singapore
- Contributors
- S Koyejo (Editor)S Mohamed (Editor)A Agarwal (Editor)D Belgrave (Editor)K Cho (Editor)A Oh (Editor)
- Publication Details
- ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), v 35
- Series
- Advances in Neural Information Processing Systems
- Publisher
- Neural Information Processing Systems (Nips)
- Number of pages
- 13
- Resource Type
- Conference proceeding
- Language
- English
- Academic Unit
- Nick Howley College of Engineering and Computing
- Web of Science ID
- WOS:001213811602070
- Scopus ID
- 2-s2.0-85161102377
- Other Identifier
- 991022237868904721