Skip to main content
QUICK REVIEW

[Paper Review] Discriminator-Weighted Offline Imitation Learning from Suboptimal Demonstrations

Haoran Xu, Xianyuan Zhan|arXiv (Cornell University)|Jul 20, 2022
Reinforcement Learning in RoboticsComputer Science9 citations
TL;DR

This paper proposes Discriminator-Weighted Behavioral Cloning (DWBC), a lightweight offline imitation learning algorithm that improves policy learning from suboptimal demonstrations by jointly training a behavior cloning policy and a discriminator to distinguish expert from suboptimal data. The discriminator's output weights the BC loss, enabling robust imitation even when suboptimal data dominate, resulting in higher returns and faster training than baselines without reward learning or offline RL.

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.

Motivation & Objective

  • To address offline imitation learning when expert demonstrations are scarce and suboptimal data dominate the dataset, without requiring online environment interactions or expert annotations.
  • To improve behavioral cloning's robustness to noisy, suboptimal demonstrations by incorporating a discriminator that distinguishes expert from non-expert trajectories.
  • To develop a lightweight, efficient algorithm that avoids costly reward learning and offline RL fine-tuning steps.
  • To enable offline policy selection as a by-product using the trained discriminator's confidence scores.
  • To provide a cooperation framework that jointly optimizes policy and discriminator performance.

Proposed method

  • Introduce a discriminator to classify expert vs. suboptimal trajectories, trained alongside the behavior cloning policy.
  • Propose a cooperation framework that jointly optimizes the policy and discriminator, boosting performance on both tasks.
  • Apply worst-case error minimization to the policy objective, ensuring robustness during discriminator training.
  • Derive an equivalence between the resulting objective and a generalized BC loss, where the discriminator's output serves as sample weights in the BC loss function.
  • Use the discriminator's output as a proxy for policy quality, enabling offline policy selection without environment interaction.
  • Maintain computational efficiency by avoiding inner RL loops or ensemble training, unlike prior methods.

Experimental results

Research questions

  • RQ1Can a discriminator trained to distinguish expert from suboptimal demonstrations improve behavioral cloning in the presence of a majority of suboptimal data?
  • RQ2Does a cooperation framework between policy and discriminator training lead to better performance than independent training?
  • RQ3Can the discriminator's output be used to rank and select the best policy from a set of candidates without online evaluation?
  • RQ4Is the proposed method more sample-efficient and faster than existing offline IL methods that require reward learning or offline RL fine-tuning?
  • RQ5Does the discriminator-based weighting mechanism generalize well across different environments and demonstration compositions?

Key findings

  • DWBC achieves higher returns than BC, BCND, ORIL, and DemoDICE across multiple environments, including Hopper, Walker2d, and Pen, especially when suboptimal data dominate.
  • DWBC trains significantly faster than ORIL and BCND, with runtime only slightly above standard BC, making it computationally efficient.
  • The discriminator in DWBC enables effective offline policy selection: its output values strongly correlate with true policy returns, allowing accurate ranking of candidate policies without online evaluation.
  • The method outperforms DemoDICE in settings with high proportions of noisy data, where DemoDICE's KL regularization becomes overly conservative.
  • The proposed cooperation framework enables the discriminator to be more robust and the policy to be more accurate than training them independently.
  • The equivalence between the proposed objective and a weighted BC loss provides theoretical grounding for the method’s effectiveness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.