Parallel Actors and Learners: A Framework for Generating Scalable RL Implementations
Not on the map. Why?
Abstract (arXiv)
Reinforcement Learning (RL) has achieved significant success in application domains such as robotics, games and health care. However, training RL agents is very time consuming. Current implementations exhibit poor performance due to challenges such as irregular memory accesses and thread-level synchronization overheads on CPU. In this work, we propose a framework for generating scalable reinforcement learning implementations on multi-core systems. Replay Buffer is a key component of RL algorithms which facilitates storage of samples obtained from environmental interactions and data sampling for the learning process. We define a new data structure for Prioritized Replay Buffer based on K-ary sum tree that supports asynchronous parallel insertions, sampling, and priority updates. To address the challenge of irregular memory accesses, we propose a novel data layout to store the nodes of the sum tree that reduces the number of cache misses. Additionally, we propose textitlazy writing mechanism to reduce thread-level synchronization overheads of the Replay Buffer operations. Our framework employs parallel actors to concurrently collect data via environmental interactions, and parallel learners to perform stochastic gradient descent using the collected data. Our framework supports a wide range of reinforcement learning algorithms including DQN, DDPG, etc. We demonstrate the effectiveness of our framework in accelerating RL algorithms by performing experiments on CPU + GPU platform using OpenAI benchmarks.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 20 of its 39 references that are in the map. First posted on arXiv 3 Oct 2021.
Builds on
20 of 39 references.
References · 20
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,885
- 2015Continuous control with deep reinforcement learningcited by 3,407
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
- 2015Trust Region Policy Optimizationcited by 2,580
- 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,417
- 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,258
- 2016OpenAI Gymcited by 1,736
- 2015Prioritized Experience Replaycited by 1,099
- 2018IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architecturescited by 883
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
8 more
- 2018Distributed Prioritized Experience Replaycited by 269
- 2015Massively Parallel Methods for Deep Reinforcement Learningcited by 82
- 2017RLlib: Abstractions for Distributed Reinforcement Learningcited by 54
- 2019ChainerRL: A Deep Reinforcement Learning Librarycited by 51
- 2017Efficient Parallel Methods for Deep Reinforcement Learningcited by 32
- 2019Building HVAC Scheduling Using Reinforcement Learning via Neural Network Based Model Approximationcited by 16
- 2018Reinforcement Learning based Recommender System using Biclustering Techniquecited by 12
- 2019MindTheStep-AsyncPSGD: Adaptive Asynchronous Parallel Stochastic Gradient Descentcited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 0; 2026: 1.
2 papers.