English

Tianshou: a Highly Modularized Deep Reinforcement Learning Library

Machine Learning 2022-08-11 v3

Abstract

In this paper, we present Tianshou, a highly modularized Python library for deep reinforcement learning (DRL) that uses PyTorch as its backend. Tianshou intends to be research-friendly by providing a flexible and reliable infrastructure of DRL algorithms. It supports online and offline training with more than 20 classic algorithms through a unified interface. To facilitate related research and prove Tianshou's reliability, we have released Tianshou's benchmark of MuJoCo environments, covering eight classic algorithms with state-of-the-art performance. We open-sourced Tianshou at https://github.com/thu-ml/tianshou/.

Keywords

Cite

@article{arxiv.2107.14171,
  title  = {Tianshou: a Highly Modularized Deep Reinforcement Learning Library},
  author = {Jiayi Weng and Huayu Chen and Dong Yan and Kaichao You and Alexis Duburcq and Minghao Zhang and Yi Su and Hang Su and Jun Zhu},
  journal= {arXiv preprint arXiv:2107.14171},
  year   = {2022}
}
R2 v1 2026-06-24T04:39:38.056Z