[Paper Review] Catalyst.RL: A Distributed Framework for Reproducible RL Research
Catalyst.RL is an open-source, distributed PyTorch framework for reproducible deep reinforcement learning research, emphasizing hyperparameter configurability, asynchronous training, and support for off-policy algorithms. It enabled the authors to achieve 3rd place in the NeurIPS 2018 AI for Prosthetics Challenge by training sample-efficient agents on a slow simulator, demonstrating strong performance across benchmark environments with minimal hyperparameter tuning.
Despite the recent progress in deep reinforcement learning field (RL), and, arguably because of it, a large body of work remains to be done in reproducing and carefully comparing different RL algorithms. We present catalyst.RL, an open source framework for RL research with a focus on reproducibility and flexibility. Main features of our library include large-scale asynchronous distributed training, easy-to-use configuration files with the complete list of hyperparameters for the particular experiments, efficient implementations of various RL algorithms and auxiliary tricks, such as frame stacking, n-step returns, value distributions, etc. To vindicate the usefulness of our framework, we evaluate it on a range of benchmarks in a continuous control, as well as on the task of developing a controller to enable a physiologically-based human model with a prosthetic leg to walk and run. The latter task was introduced at NeurIPS 2018 AI for Prosthetics Challenge, where our team took the 3rd place, capitalizing on the ability of catalyst.RL to train high-quality and sample-efficient RL agents.
Motivation & Objective
- To address the reproducibility crisis in deep reinforcement learning caused by high variance and hyperparameter sensitivity in existing algorithms.
- To provide a unified, scalable, and configurable framework for fair, apples-to-apples comparison of off-policy RL algorithms.
- To support large-scale distributed training with shared experience replay and efficient communication for improved sample efficiency.
- To enable rapid prototyping and evaluation of RL algorithms through modular, reusable components and YAML-based configuration.
- To demonstrate the framework's effectiveness on challenging benchmarks, including the NeurIPS 2018 AI for Prosthetics Challenge.
Proposed method
- The framework uses a distributed training pipeline with asynchronous actors and a centralized learner, enabling scalable multi-machine training.
- It employs YAML configuration files to fully specify hyperparameters, including neural network architectures, optimizers, exploration strategies, and gradient clipping.
- Multiple off-policy algorithms (e.g., DDPG, TD3, SAC) are implemented with support for advanced techniques like n-step returns and distributional value function approximation.
- A shared experience replay buffer allows multiple algorithm instances to train simultaneously on the same data, enabling fair comparison across architectures and hyperparameters.
- The framework supports both continuous control environments (OpenAI Gym, DeepMind Control Suite) and complex, slow-simulated tasks like prosthetic leg control.
- It leverages PyTorch for model definition and integrates efficient communication primitives for distributed training.
Experimental results
Research questions
- RQ1Can a unified, distributed RL framework improve reproducibility and fairness in comparing deep RL algorithms?
- RQ2How does the use of shared experience replay and YAML-based hyperparameter configuration affect the consistency and efficiency of RL training?
- RQ3To what extent do distributional value functions and n-step returns improve performance across diverse continuous control environments?
- RQ4Can catalyst.RL enable sample-efficient learning in extremely slow simulators, such as the physiologically-based human model with a prosthetic leg?
- RQ5Does the framework facilitate rapid identification of optimal algorithm-hyperparameter combinations through parallel training?
Key findings
- The framework achieved 3rd place in the NeurIPS 2018 AI for Prosthetics Challenge, demonstrating high sample efficiency on a simulator running at ~1 frame per second.
- On the BipedalWalkerHardcore-v2 environment, DDPG outperformed TD3 and SAC, likely due to higher exploration variance from its stochastic policy.
- In most environments, n-step returns and distributional value function approximation improved performance, though benefits were not universal and required further analysis.
- The use of shared experience replay enabled fair, apples-to-apples comparisons between different algorithms and hyperparameter settings across multiple environments.
- Learning curves for DDPG, TD3, and SAC across six benchmark tasks showed that no single algorithm or configuration consistently outperformed others, indicating the need for task-specific tuning.
- The framework's distributed design allowed efficient training with 24 CPU samplers and one GPU, achieving stable learning curves with low variance in the prosthetic control task.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.