[Paper Review] SEED RL: Scalable and Efficient Deep-RL with Accelerated Central Inference
SEED is a scalable deep-RL agent with centralized inference and fast streaming RPCs, achieving faster wall-time and lower costs than IMPALA across Atari-57, DeepMind Lab, and Google Research Football, while supporting V-trace and R2D2.
We present a modern scalable reinforcement learning agent called SEED (Scalable, Efficient Deep-RL). By effectively utilizing modern accelerators, we show that it is not only possible to train on millions of frames per second but also to lower the cost of experiments compared to current methods. We achieve this with a simple architecture that features centralized inference and an optimized communication layer. SEED adopts two state of the art distributed algorithms, IMPALA/V-trace (policy gradients) and R2D2 (Q-learning), and is evaluated on Atari-57, DeepMind Lab and Google Research Football. We improve the state of the art on Football and are able to reach state of the art on Atari-57 three times faster in wall-time. For the scenarios we consider, a 40% to 80% cost reduction for running experiments is achieved. The implementation along with experiments is open-sourced so results can be reproduced and novel ideas tried out.
Motivation & Objective
- Motivate scalable reinforcement learning that efficiently uses modern accelerators.
- Propose SEED architecture with centralized inference and optimized communication to reduce latency and costs.
- Demonstrate SEED with V-trace (policy gradients) and R2D2 (Q-learning) on diverse benchmarks.
- Show speedups and cost reductions relative to IMPALA while maintaining performance.
- Provide open-source implementation for reproducibility and experimentation.
Proposed method
- Adopt an actor-learner setup with centralized inference on the learner and remote environments.
- Use streaming gRPC with batching to minimize latency and overhead.
- Implement V-trace for policy-gradient learning within SEED.
- Implement R2D2-style Q-learning with a learner-resident replay buffer and optional large-scale replay.
- Tune inference/training core allocation on TPUs to maximize throughput and utilization.
- Demonstrate scaling from 2 to 8 TPU v3 cores and beyond for accelerated training.
Experimental results
Research questions
- RQ1Can SEED achieve state-of-the-art performance while reducing wall-clock training time and operational cost compared to IMPALA?
- RQ2Does centralized inference with fast streaming RPCs improve resource utilization and scalability across diverse environments?
- RQ3How do V-trace and R2D2 implementations perform within SEED’s centralized-inference architecture on Atari-57, DeepMind Lab, and Google Research Football?
- RQ4What are the trade-offs between batch size, core allocation, and sample efficiency in SEED?
- RQ5Is the SEED implementation open-source and reproducible on cloud infrastructure?
Key findings
- SEED achieves faster wall-time training than IMPALA across evaluated tasks, e.g., 2.5x faster on DeepMind Lab with 2 TPU cores and up to 11x faster as cores scale to a TPU pod (2048 cores).
- SEED reduces CPU usage and total cost, with reported cost reductions of up to 80% in the scenarios considered.
- On Atari-57, SEED reaches state-of-the-art median human-normalized score 3.1x faster in wall-time than R2D2 and related agents.
- SEED improves Google Research Football results, surpassing prior state-of-the-art scores with varying map sizes and reward settings, and scales with more cores.
- The architecture maintains sample efficiency comparable to R2D2 while enabling millions of frames per second training when scaled, albeit with some trade-offs in sample efficiency at very large batch sizes.
- The open-source SEED implementation on Google Cloud facilitates reproducibility and experimentation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.