Skip to main content
QUICK REVIEW

[Paper Review] Offline Learning from Demonstrations and Unlabeled Experience

Konrad Żołna, Alexander Novikov|arXiv (Cornell University)|Nov 27, 2020
Reinforcement Learning in RoboticsComputer Science43 references14 citations
TL;DR

This paper proposes Offline Reinforced Imitation Learning (ORIL), a method that leverages expert demonstrations and unlabeled robot experience—without reward annotations—to train high-performing policies via offline reinforcement learning. By first learning a reward function through contrastive learning between expert and unlabeled data, then re-annotating all data with the learned rewards, ORIL consistently outperforms behavior cloning, especially with limited demonstrations and increasing amounts of low-quality unlabeled data.

ABSTRACT

Behavior cloning (BC) is often practical for robot learning because it allows a policy to be trained offline without rewards, by supervised learning on expert demonstrations. However, BC does not effectively leverage what we will refer to as unlabeled experience: data of mixed and unknown quality without reward annotations. This unlabeled data can be generated by a variety of sources such as human teleoperation, scripted policies and other agents on the same robot. Towards data-driven offline robot learning that can use this unlabeled experience, we introduce Offline Reinforced Imitation Learning (ORIL). ORIL first learns a reward function by contrasting observations from demonstrator and unlabeled trajectories, then annotates all data with the learned reward, and finally trains an agent via offline reinforcement learning. Across a diverse set of continuous control and simulated robotic manipulation tasks, we show that ORIL consistently outperforms comparable BC agents by effectively leveraging unlabeled experience.

Motivation & Objective

  • To address the challenge of sample efficiency in offline robot learning when only expert demonstrations and unlabeled, non-reward-annotated experience are available.
  • To enable effective policy learning from mixed-quality unlabeled data, including suboptimal and task-irrelevant trajectories, without requiring online environment interaction.
  • To combine the strengths of behavior cloning and offline reinforcement learning by using unlabeled data to train both a reward model and the final policy.
  • To reduce reliance on high-quality demonstrations by making the learning process robust to low-quality or diverse unlabeled data.
  • To develop a scalable, data-driven approach that generalizes well even when demonstrations are scarce.

Proposed method

  • Train a reward function $ R_{\psi}(s_t) $ using a contrastive loss that distinguishes expert states from unlabeled states, minimizing cross-entropy loss over sampled states from $ \mathcal{D}_E $ and $ \mathcal{D}_U $.
  • Adopt positive-unlabeled (PU) learning to mitigate false negatives by reweighting losses, improving robustness when unlabeled data contains hidden successes.
  • Use Task-Relevant Adversarial Imitation Learning (TRAIL) to focus the reward model on task-relevant states, enhancing generalization and performance.
  • Annotate all trajectories—both demonstrations and unlabeled episodes—using the learned reward function to create a unified, reward-annotated dataset.
  • Perform offline reinforcement learning on the fully annotated dataset using a state-of-the-art offline RL algorithm (e.g., CRR), enabling policy optimization without online rollouts.
  • Integrate components from adversarial imitation, PU learning, and modern offline RL to build a scalable, end-to-end method for data-efficient offline policy learning.

Experimental results

Research questions

  • RQ1Can unlabeled robot experience—of mixed quality and from diverse sources—be effectively leveraged to improve offline policy learning when no reward signals are available?
  • RQ2Does a reward model trained via contrastive learning on expert and unlabeled data generalize well enough to enable superior policy learning compared to standard behavior cloning?
  • RQ3How does the performance of ORIL scale with increasing amounts of unlabeled data, especially when expert demonstrations are limited?
  • RQ4Can ORIL achieve performance comparable to state-of-the-art methods that use ground-truth rewards, while remaining fully offline and reward-free during training?
  • RQ5To what extent does the use of PU learning and TRAIL improve robustness to false negatives and low-quality unlabeled data in the reward learning phase?

Key findings

  • ORIL consistently outperforms behavior cloning (BC) across diverse continuous control and robotic manipulation tasks, even when BC is trained on the same number of demonstrations.
  • Performance of ORIL improves monotonically with increasing amounts of unlabeled data, demonstrating scalability and effective data utilization.
  • ORIL maintains strong performance even when the average quality of unlabeled data is low, indicating robustness to noisy or suboptimal trajectories.
  • With only 10 demonstrations, ORIL achieves performance comparable to BC trained on much larger demonstration sets, showing superior sample efficiency.
  • ORIL achieves expert-level performance on the Insertion task with the Jaco arm when sufficient unlabeled data is available, while BC fails to reach expert performance under the same conditions.
  • The method generalizes well across tasks, maintaining consistent gains even when the demonstration set size is reduced to as few as 3–5 episodes.

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.