TLeague: 경쟁적 자기 플레이 기반 분산 다중 에이전트 강화 학습 프레임워크
TLeague: A Framework for Competitive Self-Play based Distributed Multi-Agent Reinforcement Learning
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.
초록
최근 경쟁적 자기 학습 (CSP) 기반 다중 에이전트 강화 학습 (MARL) 이 현저한 진전을 이루었다. 도타 2, 글로리 오브 킹스, 퀘이크 3, 스타크래프트 2 등 여러 벤치마크에서 강력한 AI 가 구현되었다. 그러나 MARL 학습은 매우 데이터 집약적이며, 고성능 에이전트를 학습하기 위해 학습 과정에서 환경으로부터 수십억 (수조) 프레임이 필요함. 이는 연구자나 엔지니어에게 상당한 어려움을 초래하며 MARL 을 더 넓은 범위의 실세계 문제 적용을 막고 있다. 본 논문에서는 대규모 학습을 지원하며 주요 CSP-MARL 알고리즘들을 구현한 프레임워크인 TLeague 를 소개한다. 학습은 단일 머신 또는 CPU 와 GPU 를 포함한 하이브리드 머신 클러스터에 배포될 수 있으며, 클라우드 네이티브 방식으로 표준 Kubernetes 를 지원한다. TLeague 는 분산 학습 시 높은 처리량과 합리적인 확장성을 달성한다. 모듈화된 설계 덕분에 다른 다중 에이전트 문제 해결이나 MARL 알고리즘 구현 및 검증에도 쉽게 확장 가능하다. 우리는 스타크래프트 2, ViZDoom, Pommerman 과의 실험을 통해 TLeague 의 효율성과 효과성을 보여준다. 코드는 오픈 소스로 제공되며 https://github.com/tencent-ailab/tleague_projpage 에서 이용 가능하다.
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