Adaptive Behavior Cloning Regularization for Stable Offline-to-Online Reinforcement Learning

Yi Zhao, Rinu Boney, Alexander Ilin, Juho Kannala, Joni Pajarinen
10/25/2022
57 citations
cs.LGcs.RO
rl

Official code: zhaoyi11/adaptive_bc (15 stars, Python, Apache-2.0, last commit 2022-07-04).

Abstract

Offline reinforcement learning, by learning from a fixed dataset, makes it possible to learn agent behaviors without interacting with the environment. However, depending on the quality of the offline dataset, such pre-trained agents may have limited performance and would further need to be fine-tuned online by interacting with the environment.

Show full abstract

During online fine-tuning, the performance of the pre-trained agent may collapse quickly due to the sudden distribution shift from offline to online data. While constraints enforced by offline RL methods such as a behaviour cloning loss prevent this to an extent, these constraints also significantly slow down online fine-tuning by forcing the agent to stay close to the behavior policy. We propose to adaptively weigh the behavior cloning loss during online fine-tuning based on the agent's performance and training stability. Moreover, we use a randomized ensemble of Q functions to further increase the sample efficiency of online fine-tuning by performing a large number of learning updates. Experiments show that the proposed method yields state-of-the-art offline-to-online reinforcement learning performance on the popular D4RL benchmark. Code is available: \url{https://github.com/zhaoyi11/adaptive_bc}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
151PythonJun 29, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhao2022adaptive,
  title  = {Adaptive Behavior Cloning Regularization for Stable Offline-to-Online Reinforcement Learning},
  author = {Yi Zhao and Rinu Boney and Alexander Ilin and Juho Kannala and Joni Pajarinen},
  year   = {2022},
  eprint = {2210.13846},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.13846}
}

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/2210.13846.svg)](https://codeofpaper.com/paper/2210.13846)

Discussion