TorchBeast: A PyTorch Platform for Distributed RL
Heinrich Küttler Thanks: Correspondence to Affiliation: Facebook AI Research Nantas Nardelli Affiliation: Facebook AI Research Affiliation: University of Oxford Thibaut Lavril Affiliation: Facebook AI Research Marco Selvatici Affiliation: Facebook AI Research Affiliation: Imperial College London Viswanath Sivakumar Affiliation: Facebook AI Research Tim Rocktäschel Affiliation: Facebook AI Research Affiliation: University College London Edward Grefenstette Affiliation: Facebook AI Research Affiliation: University College London
Abstract
TorchBeast is a platform for reinforcement learning (RL) research in PyTorch. It implements a version of the popular IMPALA algorithm [1] for fast, asynchronous, parallel training of RL agents. Additionally, TorchBeast has simplicity as an explicit design goal: We provide both a pure-Python implementation (“MonoBeast”) as well as a multi-machine high-performance version (“PolyBeast”). In the latter, parts of the implementation are written in C++, but all parts pertaining to machine learning are kept in simple Python using PyTorch [2], with the environments provided using the OpenAI Gym interface [3]. This enables researchers to conduct scalable RL research using TorchBeast without any programming knowledge beyond Python and PyTorch. In this paper, we describe the TorchBeast design principles and implementation and demonstrate that it performs on-par with IMPALA on Atari. TorchBeast is released as an open-source package under the Apache 2.0 license and is available at https://github.com/facebookresearch/torchbeast.
原文 arXiv:1910.03552;中英对照 + 大白话阅读 https://aha.fim.ai/paper/1910.03552v1