TY - GEN
T1 - Multi-Agent Reinforcement Learning with Serverless Computing
AU - Wei, Rui
AU - Yu, Hanfei
AU - Song, Xikang
AU - Li, Jian
AU - Tiwari, Devesh
AU - Mao, Ying
AU - Wang, Hao
N1 - Publisher Copyright:
© 2025 Copyright held by the owner/author(s).
PY - 2026/1/13
Y1 - 2026/1/13
N2 - Multi-agent reinforcement learning (MARL) has emerged as a promising approach for tasks requiring multiple agents for cooperation or competition, such as scientific simulation, multi-robot collaboration, and traffic control. Serverless computing, with its dynamic and flexible resource allocation, has demonstrated potential for improving training efficiency and cost-efficiency in RL workloads. However, existing serverless RL training systems focus primarily on single-agent scenarios, overlooking the unique characteristics and inherent complexities of MARL - such as dynamic inter-agent relationships and heterogeneous policy requirements across agents - leaving inefficient and even infeasible support to diverse and complex MARL algorithms.This paper introduces MARLess, the first serverless MARL framework designed to support general MARL algorithms. MARLess decomposes MARL algorithms into serverless functions. It further integrates a dynamic learner sharing mechanism that exploits agent similarities to reduce model update costs and employs actor scaling tailored to MARL tasks, minimizing unnecessary sampling costs based on the data requirements of agents' models. This design optimizes both training efficiency and costs without harming the training quality. Experiments on AWS EC2 testbeds show that MARLess outperforms SOTA MARL baselines with up to 1.27×faster training and 68% cost reduction. Large-scale evaluations on a 15-node cluster with a total of 1,920 vCPUs demonstrate MARLess's scalability and consistent performance under increasing workloads. For a real-world scientific application - turbulent flow simulation, MARLess achieves a 34% cost reduction and 1.1× speedup.
AB - Multi-agent reinforcement learning (MARL) has emerged as a promising approach for tasks requiring multiple agents for cooperation or competition, such as scientific simulation, multi-robot collaboration, and traffic control. Serverless computing, with its dynamic and flexible resource allocation, has demonstrated potential for improving training efficiency and cost-efficiency in RL workloads. However, existing serverless RL training systems focus primarily on single-agent scenarios, overlooking the unique characteristics and inherent complexities of MARL - such as dynamic inter-agent relationships and heterogeneous policy requirements across agents - leaving inefficient and even infeasible support to diverse and complex MARL algorithms.This paper introduces MARLess, the first serverless MARL framework designed to support general MARL algorithms. MARLess decomposes MARL algorithms into serverless functions. It further integrates a dynamic learner sharing mechanism that exploits agent similarities to reduce model update costs and employs actor scaling tailored to MARL tasks, minimizing unnecessary sampling costs based on the data requirements of agents' models. This design optimizes both training efficiency and costs without harming the training quality. Experiments on AWS EC2 testbeds show that MARLess outperforms SOTA MARL baselines with up to 1.27×faster training and 68% cost reduction. Large-scale evaluations on a 15-node cluster with a total of 1,920 vCPUs demonstrate MARLess's scalability and consistent performance under increasing workloads. For a real-world scientific application - turbulent flow simulation, MARLess achieves a 34% cost reduction and 1.1× speedup.
KW - Cloud Computing
KW - Multi-Agent Reinforcement Learning
KW - Serverless Computing
UR - https://www.scopus.com/pages/publications/105028609214
UR - https://www.scopus.com/pages/publications/105028609214#tab=citedBy
U2 - 10.1145/3772052.3772227
DO - 10.1145/3772052.3772227
M3 - Conference contribution
AN - SCOPUS:105028609214
T3 - SoCC 2025 - Proceedings of the 2025 ACM Symposium on Cloud Computing
SP - 225
EP - 239
BT - SoCC 2025 - Proceedings of the 2025 ACM Symposium on Cloud Computing
T2 - 2025 ACM Symposium on Cloud Computing, SoCC 2025
Y2 - 19 November 2025 through 21 November 2025
ER -