TLeague: A Framework for Competitive Self-Play based Distributed Multi-Agent Reinforcement Learning
@misc{sun2020tleague,
title = {TLeague: A Framework for Competitive Self-Play based Distributed Multi-Agent Reinforcement Learning},
author = {Peng Sun and Jiechao Xiong and Lei Han and Xinghai Sun and Shuxing Li and Jiawei Xu and Meng Fang and Zhengyou Zhang},
year = {2020},
eprint = {2011.12895},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2011.12895}
}
Sun, P., Xiong, J., Han, L., Sun, X., Li, S., Xu, J., Fang, M., & Zhang, Z. (2020). TLeague: A Framework for Competitive Self-Play based Distributed Multi-Agent Reinforcement Learning [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.12895
SUN P, XIONG J, HAN L, et al. TLeague: A Framework for Competitive Self-Play based Distributed Multi-Agent Reinforcement Learning[EB/OL]. (2020-11-25)[2026-11-29]. https://arxiv.org/abs/2011.12895.
Abstract
Competitive Self-Play (CSP) based Multi-Agent Reinforcement Learning (MARL) has shown phenomenal breakthroughs recently. Strong AIs are achieved for several benchmarks, including Dota 2, Glory of Kings, Quake III, StarCraft II, to name a few. Despite the success, the MARL training is extremely data thirsty, requiring typically billions of (if not trillions of) frames be seen from the environment during training in order for learning a high performance agent. This poses non-trivial difficulties for researchers or engineers and prevents the application of MARL to a broader range of real-world problems. To address this issue, in this manuscript we describe a framework, referred to as TLeague, that aims at large-scale training and implements several main-stream CSP-MARL algorithms. The training can be deployed in either a single machine or a cluster of hybrid machines (CPUs and GPUs), where the standard Kubernetes is supported in a cloud native manner. TLeague achieves a high throughput and a reasonable scale-up when performing distributed training. Thanks to the modular design, it is also easy to extend for solving other multi-agent problems or implementing and verifying MARL algorithms. We present experiments over StarCraft II, ViZDoom and Pommerman to show the efficiency and effectiveness of TLeague. The code is open-sourced and available at https://github.com/tencent-ailab/tleague_projpage