MALib:一个基于种群的多智能体强化学习并行框架
MALib: A Parallel Framework for Population-based Multi-agent Reinforcement Learning
摘要:
基于种群的多智能体强化学习(Population-based multi-agent reinforcement learning,PB-MARL)是一系列与强化学习(reinforcement learning,RL)算法相嵌套的方法,它产生一个由耦合的种群动力学产生的自生成任务序列。通过利用自动课程来诱导不同的紧急策略,PB-MARL在处理多智能体任务方面取得了令人印象深刻的成功。尽管分布式RL框架的显着的现有技术,PB-MARL提出了新的挑战,并行化的训练框架,由于额外的复杂性,多个嵌套的工作负载之间的采样,训练和评估涉及异构的政策相互作用。为了解决这些问题,我们提出了MALib,一个可扩展的和高效的PB-MARL计算框架。该框架由三个关键部分组成:(1)集中式任务调度模型,支持自主生成任务和异构策略组合的可扩展训练;(2)Actor-Evaluator-Learner编程架构,实现训练和采样的高度并行,满足自动化课程学习的评价需求;(3)MARL训练范例的更高级别的抽象,这使得能够在不同的分布式计算范例上实现高效的代码重用和灵活的部署。在多智能体Atari Games等一系列复杂任务上的实验表明,MALib在单台机器上以$32$ CPU内核实现了高于40 K FPS的吞吐量;在多智能体训练任务中,比RLlib加速5倍,比OpenSpiel至少加速3倍。MALib可在https://github.com/sjtu-marl/malib上公开获取。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。