Reliable Conditioning of Behavioral Cloning for Offline Reinforcement Learning

Tung Nguyen, Qinqing Zheng, Aditya Grover
10/11/2022
cs.LGcs.AI
rl

Official code: tung-nd/cwbc (11 stars, Python, last commit 2022-10-03).

Abstract

Behavioral cloning (BC) provides a straightforward solution to offline RL by mimicking offline trajectories via supervised learning. Recent advances (Chen et al., 2021; Janner et al., 2021; Emmons et al., 2021) have shown that by conditioning on desired future returns, BC can perform competitively to their value-based counterparts, while enjoying much more simplicity and training stability.

Show full abstract

While promising, we show that these methods can be unreliable, as their performance may degrade significantly when conditioned on high, out-of-distribution (ood) returns. This is crucial in practice, as we often expect the policy to perform better than the offline dataset by conditioning on an ood value. We show that this unreliability arises from both the suboptimality of training data and model architectures. We propose ConserWeightive Behavioral Cloning (CWBC), a simple and effective method for improving the reliability of conditional BC with two key components: trajectory weighting and conservative regularization. Trajectory weighting upweights the high-return trajectories to reduce the train-test gap for BC methods, while conservative regularizer encourages the policy to stay close to the data distribution for ood conditioning. We study CWBC in the context of RvS (Emmons et al., 2021) and Decision Transformers (Chen et al., 2021), and show that CWBC significantly boosts their performance on various benchmarks.

View on arXivView PDF

Code Implementations(1)

tung-nd/cwbcOfficial100%
110PythonSep 28, 20224 years ago

Similar Papers

Cite this paper

@article{nguyen2022reliable,
  title  = {Reliable Conditioning of Behavioral Cloning for Offline Reinforcement Learning},
  author = {Tung Nguyen and Qinqing Zheng and Aditya Grover},
  year   = {2022},
  eprint = {2210.05158},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.05158}
}

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

Discussion