Skip to main content
QUICK REVIEW

[Paper Review] MALib: A Parallel Framework for Population-based Multi-agent Reinforcement Learning

Ming Zhou, Ziyu Wan|arXiv (Cornell University)|Jun 5, 2021
Reinforcement Learning in RoboticsComputer Science4 references25 citations
TL;DR

MALib introduces a centralized task dispatching model and an Actor-Evaluator-Learner programing paradigm to accelerate population-based MARL, achieving high throughput and faster convergence in PB-MARL tasks compared to existing frameworks.

ABSTRACT

Population-based multi-agent reinforcement learning (PB-MARL) refers to the series of methods nested with reinforcement learning (RL) algorithms, which produces a self-generated sequence of tasks arising from the coupled population dynamics. By leveraging auto-curricula to induce a population of distinct emergent strategies, PB-MARL has achieved impressive success in tackling multi-agent tasks. Despite remarkable prior arts of distributed RL frameworks, PB-MARL poses new challenges for parallelizing the training frameworks due to the additional complexity of multiple nested workloads between sampling, training and evaluation involved with heterogeneous policy interactions. To solve these problems, we present MALib, a scalable and efficient computing framework for PB-MARL. Our framework is comprised of three key components: (1) a centralized task dispatching model, which supports the self-generated tasks and scalable training with heterogeneous policy combinations; (2) a programming architecture named Actor-Evaluator-Learner, which achieves high parallelism for both training and sampling, and meets the evaluation requirement of auto-curriculum learning; (3) a higher-level abstraction of MARL training paradigms, which enables efficient code reuse and flexible deployments on different distributed computing paradigms. Experiments on a series of complex tasks such as multi-agent Atari Games show that MALib achieves throughput higher than 40K FPS on a single machine with $32$ CPU cores; 5x speedup than RLlib and at least 3x speedup than OpenSpiel in multi-agent training tasks. MALib is publicly available at https://github.com/sjtu-marl/malib.

Motivation & Objective

  • Motivate and enable efficient, scalable PB-MARL by addressing nested, heterogeneous workloads and auto-curricula policy evolution.
  • Provide a centralized task dispatching mechanism to manage self-generated tasks in PB-MARL.
  • Introduce the Actor-Evaluator-Learner programming model to maximize parallelism and support auto-curriculum evaluation.
  • Abstract MARL training paradigms to enable code reuse and flexible deployment across distributed frameworks.

Proposed method

  • Propose Centralized Task Dispatching (CTD) model with a Coordinator Server and semi-passive workers (Actors, Learners) to generate and dispatch PB-MARL tasks.
  • Develop the Actor-Evaluator-Learner architecture to integrate evaluation results via a payoff table and support PB-MARL evaluation requirements.
  • Decouple task-data flow with Parameter Server and OfflineDataset Server to enable one-to-many learning from a single learner.
  • Provide abstractions for MARL training paradigms including independent vs centralized and asynchronous vs synchronous learning to support diverse PB-MARL algorithms.
  • Implement and evaluate multiple MARL and PB-MARL algorithms (e.g., DQN, PPO, SAC, MADDPG, QMIX, PSRO) within MALib's abstractions.

Experimental results

Research questions

  • RQ1How can PB-MARL tasks with auto-curricula and heterogeneous policy interactions be efficiently scheduled and executed at scale?
  • RQ2Does the centralized task dispatching model improve throughput and scalability for PB-MARL compared to existing frameworks?
  • RQ3Can the Actor-Evaluator-Learner paradigm effectively support evaluation-integrated PB-MARL workflows like PSRO and α-rank?
  • RQ4Do the MARL training abstractions enable code reuse and flexible deployment across distributed computing paradigms?
  • RQ5What are the system and algorithmic performance gains of MALib on representative PB-MARL tasks?

Key findings

  • MALib achieves throughput higher than 40K FPS on a single machine with 32 CPU cores for multi-agent Atari tasks.
  • MALib attains about 5× speedup over RLlib and at least 3× speedup over OpenSpiel in multi-agent training tasks.
  • MALib demonstrates competitive or superior algorithm performance for PB-MARL and MARL workloads across benchmarks like PSRO, MADDPG, and QMIX.
  • In experiments, MALib shows faster convergence and lower execution time for PSRO and Leduc Poker compared to OpenSpiel, while maintaining exploitability.
  • On Multi-Agent Particle Environments, MALib provides more stable convergence and about 5× speedup over RLlib under varying worker settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.