Table of Contents
Fetching ...

Offline Learning from Demonstrations and Unlabeled Experience

Konrad Zolna, Alexander Novikov, Ksenia Konyushkova, Caglar Gulcehre, Ziyu Wang, Yusuf Aytar, Misha Denil, Nando de Freitas, Scott Reed

TL;DR

Offline Reinforced Imitation Learning (ORIL) enables learning offline from a small set of demonstrations plus a large pool of unlabeled, mixed-quality trajectories without reward annotations. It learns a reward model by contrasting expert versus unlabeled data using PU learning and TRAIL-inspired regularization, annotates all data with the learned reward, and then trains an offline RL agent via Critic-Regularized Regression. Across Robotic Manipulation and DeepMind Control Suite tasks, ORIL consistently outperforms standard behavior cloning baselines and approaches the performance of methods with ground-truth rewards, demonstrating robustness to unlabeled data quality and scalability with more unlabeled data. This approach reduces reliance on reward engineering and online interaction, enabling practical data-driven offline robotics.

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.

Offline Learning from Demonstrations and Unlabeled Experience

TL;DR

Offline Reinforced Imitation Learning (ORIL) enables learning offline from a small set of demonstrations plus a large pool of unlabeled, mixed-quality trajectories without reward annotations. It learns a reward model by contrasting expert versus unlabeled data using PU learning and TRAIL-inspired regularization, annotates all data with the learned reward, and then trains an offline RL agent via Critic-Regularized Regression. Across Robotic Manipulation and DeepMind Control Suite tasks, ORIL consistently outperforms standard behavior cloning baselines and approaches the performance of methods with ground-truth rewards, demonstrating robustness to unlabeled data quality and scalability with more unlabeled data. This approach reduces reliance on reward engineering and online interaction, enabling practical data-driven offline robotics.

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.

Paper Structure

This paper contains 33 sections, 6 equations, 7 figures, 3 tables, 1 algorithm.

Figures (7)

  • Figure 1: Performance of ORIL vs BC. Using the same 189 demonstrations, varying the number of unlabeled episodes for an Insertion task with Jaco arm. Our method leverages unlabeled episodes and eventually achieves expert level.
  • Figure 2: Robotic Manipulation (left) is a set of block manipulation tasks with a simulated Kinova Jaco arm in a 20x20cm basket. DeepMind Control Suite (right) is a set of popular continuous control environments with tasks of varying difficulty, including locomotion and simple object manipulation.
  • Figure 3: Robotic Manipulation results. We compare BC$_{all}$ (BC trained on all data), BC$_{pos}$ (BC trained only on demonstration data) and ORIL. ORIL improves over baselines by leveraging the unlabeled experience.
  • Figure 4: DeepMind Control Suite results. Our method (ORIL) is the best on 8 tasks (although BC$_{all}$ is equally good on 3 of them). BC$_{pos}$ is usually the worst due to the very limited set of demonstrations.
  • Figure 5: Ablating the number of unlabeled trajectories. We investigate the effect of unlabeled trajectories on agent performance. ORIL's performance clearly improves as the number of unlabeled data increases, whereas BC$_{all}$ either does not benefit from the extra data as much, or performs worse.
  • ...and 2 more figures