Q-Ensemble for Offline RL: Don't Scale the Ensemble, Scale the Batch Size

Alexander Nikulin, Vladislav Kurenkov, Denis Tarasov, Dmitry Akimov, Sergey Kolesnikov
11/20/2022
25 citations
cs.LGcs.AIcs.NE
rl

Official code: tinkoff-ai/lb-sac (21 stars, Python, Apache-2.0, last commit 2023-02-27). Most starred: corl-team/CORL, a community implementation (664 stars, Python, Apache-2.0, last commit 2024-02-10, 32× the official stars). 1 more implementation below.

Abstract

Training large neural networks is known to be time-consuming, with the learning duration taking days or even weeks. To address this problem, large-batch optimization was introduced.

Show full abstract

This approach demonstrated that scaling mini-batch sizes with appropriate learning rate adjustments can speed up the training process by orders of magnitude. While long training time was not typically a major issue for model-free deep offline RL algorithms, recently introduced Q-ensemble methods achieving state-of-the-art performance made this issue more relevant, notably extending the training duration. In this work, we demonstrate how this class of methods can benefit from large-batch optimization, which is commonly overlooked by the deep offline RL community. We show that scaling the mini-batch size and naively adjusting the learning rate allows for (1) a reduced size of the Q-ensemble, (2) stronger penalization of out-of-distribution actions, and (3) improved convergence time, effectively shortening training duration by 3-4x times on average.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
tinkoff-ai/lb-sacOfficial21PythonApache-2.02023-02-27
corl-team/CORLCommunity664PythonApache-2.02024-02-10
tinkoff-ai/lb-sacOfficial100%
Apache-2.0

Official implementation for "Q-Ensemble for Offline RL: Don't Scale the Ensemble, Scale the Batch Size", NeurIPS 2022, Offline RL Workshop

212Python, DockerfileJan 30, 20233 years agoApache-2.0
deep-reinforcement-learningensemble-learningoffline-reinforcement-learningpytorch-implementation
corl-team/CORLCommunity100%
Apache-2.0

High-quality single-file implementations of SOTA Offline and Offline-to-Online RL algorithms: AWAC, BC, CQL, DT, EDAC, IQL, SAC-N, TD3+BC, LB-SAC, SPOT, Cal-QL, ReBRAC

66439Python, DockerfileAug 10, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{nikulin2022qensemble,
  title  = {Q-Ensemble for Offline RL: Don't Scale the Ensemble, Scale the Batch Size},
  author = {Alexander Nikulin and Vladislav Kurenkov and Denis Tarasov and Dmitry Akimov and Sergey Kolesnikov},
  year   = {2022},
  eprint = {2211.11092},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.11092}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.11092.svg)](https://codeofpaper.com/paper/2211.11092)

Discussion