Lune

AAAI2024Top-tier venue

Cheaper and Faster: Distributed Deep Reinforcement Learning with Serverless Computing

Hanfei Yu, Jian Li, Yang Hua, Xu Yuan, Hao Wang

Abstract

Deep reinforcement learning (DRL) has demonstrated significant potential in various applications, including gaming AI, robotics, and system scheduling. DRL algorithms produce, sample, and learn from training data online through a trial-and-error process, demanding considerable time and computational resources. To address this, distributed DRL algorithms and paradigms have been developed to expedite training using extensive resources. Through carefully designed experiments, we are the first to observe that strategically increasing the actor-environment interactions by spawning more concurrent actors at certain training rounds within ephemeral time frames can significantly enhance training efficiency. Yet, current distributed DRL solutions, which are predominantly server-based (or serverful), fail to capitalize on these opportunities due to their long startup times, limited adaptability, and cumbersome scalability. This paper proposes Nitro, a generic training engine for distributed DRL algorithms that enforces timely and effective boosting with concurrent actors instantaneously spawned by serverless computing. With serverless functions, Nitro adjusts data sampling strategies dynamically according to the DRL training demands. Nitro seizes the opportunity of real-time boosting by accurately and swiftly detecting an empirical metric. To achieve cost efficiency, we design a heuristic actor scaling algorithm to guide Nitro for cost-aware boosting budget allocation. We integrate Nitro with state-of-the-art DRL algorithms and frameworks and evaluate them on AWS EC2 and Lambda. Experiments with Mujoco and Atari benchmarks show that Nitro improves the final rewards (i.e., training quality) by up to 6× and reduces training costs by up to 42%.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Stellaris: Staleness-Aware Distributed Reinforcement Learning with Serverless Computing cites FIRM: An Intelligent Fine-grained Resource Management Framework for SLO-Oriented Microservices
  • Stellaris: Staleness-Aware Distributed Reinforcement Learning with Serverless Computing cites Towards Demystifying Serverless Machine Learning Training
  • Stellaris: Staleness-Aware Distributed Reinforcement Learning with Serverless Computing cites A Closer Look at Deep Policy Gradients
  • Stellaris: Staleness-Aware Distributed Reinforcement Learning with Serverless Computing cites DD-PPO: Learning Near-Perfect PointGoal Navigators from 2.5 Billion Frames
  • Nitro: Boosting Distributed Reinforcement Learning with Serverless Computing cites Stellaris: Staleness-Aware Distributed Reinforcement Learning with Serverless Computing
  • Nitro: Boosting Distributed Reinforcement Learning with Serverless Computing cites FIRM: An Intelligent Fine-grained Resource Management Framework for SLO-Oriented Microservices
  • Nitro: Boosting Distributed Reinforcement Learning with Serverless Computing cites Constrained Variational Policy Optimization for Safe Reinforcement Learning
  • Nitro: Boosting Distributed Reinforcement Learning with Serverless Computing cites Towards Demystifying Serverless Machine Learning Training
  • Nitro: Boosting Distributed Reinforcement Learning with Serverless Computing cites A Closer Look at Deep Policy Gradients
  • Nitro: Boosting Distributed Reinforcement Learning with Serverless Computing cites DD-PPO: Learning Near-Perfect PointGoal Navigators from 2.5 Billion Frames
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Stellaris: Staleness-Aware Distributed Reinforcement Learning with Serverless ComputingHanfei Yu, Hao Wang, Devesh Tiwari, Jian Li et al.SC 2024 · 10 citations
  2. Nitro: Boosting Distributed Reinforcement Learning with Serverless ComputingHanfei Yu, Jacob Carter, Hao Wang, Devesh Tiwari et al.VLDB 2025 · 3 citations
  3. WIET: Harmonizing Group-aware Model Weighting and Worker Allocation for Ensemble Temporal Prediction MaaSBinbin Feng, Shikun He, Yingxin Wang, Pengwei Wang et al.AAAI 2026

Builds on14

  1. DD-PPO: Learning Near-Perfect PointGoal Navigators from 2.5 Billion FramesErik Wijmans, Abhishek Kadian, Ari Morcos, Stefan Lee et al.ICLR 2020 · 608 citations
  2. FIRM: An Intelligent Fine-grained Resource Management Framework for SLO-Oriented MicroservicesHaoran Qiu, Subho S. Banerjee, Saurabh Jha, Zbigniew T. Kalbarczyk et al.OSDI 2020 · 350 citations
  3. Constrained Variational Policy Optimization for Safe Reinforcement LearningZuxin Liu, Zhepeng Cen, Vladislav Isenbaev, Wei Liu et al.ICML 2022 · 112 citations
  4. Towards Demystifying Serverless Machine Learning TrainingJiawei Jiang, Shaoduo Gan, Yue Liu, Fanlin Wang et al.SIGMOD 2021 · 107 citations
  5. A Closer Look at Deep Policy GradientsAndrew Ilyas, Logan Engstrom, Shibani Santurkar, Dimitris Tsipras et al.ICLR 2020 · 107 citations

Related papers

  1. A Mean-Field Game Approach to Cloud Resource Management with Function ApproximationWeichao Mao, Haoran Qiu, Chen Wang, Hubertus Franke et al.NeurIPS 2022 · 27 citations
  2. AWARE: Automate Workload Autoscaling with Reinforcement Learning in Production Cloud SystemsHaoran Qiu, Weichao Mao, Chen Wang, Hubertus Franke et al.USENIX ATC 2023 · 95 citations
  3. FaaSConf: QoS-aware Hybrid Resources Configuration for Serverless WorkflowsYilun Wang, Pengfei Chen, Hui Dou, Yiwen Zhang et al.ASE 2024 · 3 citations
  4. Accelerating Serverless Computing by Harvesting Idle ResourcesHanfei Yu, Hao Wang, Jian Li, Xu Yuan et al.WWW 2022 · 44 citations
  5. Dorylus: Affordable, Scalable, and Accurate GNN Training with Distributed CPU Servers and Serverless ThreadsJohn Thorpe, Yifan Qiao, Jonathan Eyolfson, Shen Teng et al.OSDI 2021 · 175 citations
Dusk over the sea between two cliffs drawn in fine vertical lines