Discriminator-Weighted Offline Imitation Learning from Suboptimal Demonstrations

Haoran Xu, Xianyuan Zhan, Honglei Yin, Huiling Qin
7/20/2022
cs.LGcs.AI

No official code found. Best implementation: ryanxhr/DWBC (37 stars, MIT, PyTorch, last commit 2023-01-05).

Abstract

We study the problem of offline Imitation Learning (IL) where an agent aims to learn an optimal expert behavior policy without additional online environment interactions. Instead, the agent is provided with a supplementary offline dataset from suboptimal behaviors. Prior works that address this problem either require that expert data occupies the majority proportion of the offline dataset, or need to learn a reward function and perform offline reinforcement learning (RL) afterwards. In this paper, we aim to address the problem without additional steps of reward learning and offline RL training for the case when demonstrations contain a large proportion of suboptimal data. Built upon behavioral cloning (BC), we introduce an additional discriminator to distinguish expert and non-expert data. We propose a cooperation framework to boost the learning of both tasks, Based on this framework, we design a new IL algorithm, where the outputs of discriminator serve as the weights of the BC loss. Experimental results show that our proposed algorithm achieves higher returns and faster training speed compared to baseline algorithms.

View on arXivView PDF

Code Implementations(1)

ryanxhr/DWBCCommunity100%
PyTorchMIT

[ICML 2022] The official implementation of DWBC in "Discriminator-Weighted Offline Imitation Learning from Suboptimal Demonstrations"

372Shell, PythonJun 13, 20223 years agoMIT
imitation-learningoffline-reinforcement-learningpytorch

Similar Papers

Cite this paper

@article{xu2022discriminatorweighted,
  title  = {Discriminator-Weighted Offline Imitation Learning from Suboptimal Demonstrations},
  author = {Haoran Xu and Xianyuan Zhan and Honglei Yin and Huiling Qin},
  year   = {2022},
  eprint = {2207.10050},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.10050v1}
}

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

Discussion