Skip to main content
QUICK REVIEW

[Paper Review] Watch, Try, Learn: Meta-Learning from Demonstrations and Reward

Allan Zhou, Eric Jang|arXiv (Cornell University)|Jun 7, 2019
Reinforcement Learning in RoboticsComputer Science39 references17 citations
TL;DR

This paper proposes Watch, Try, Learn (WTL), a meta-learning framework that enables agents to rapidly acquire new vision-based manipulation skills using just one demonstration and a single trial with binary success/failure feedback. By combining meta-imitation learning with trial-and-error reinforcement learning, WTL significantly outperforms prior methods in few-shot learning, achieving 42% success rate on unseen tasks with only one demonstration and one trial, compared to 30% for meta-imitation and 11-39% for behavior cloning with extensive fine-tuning.

ABSTRACT

Imitation learning allows agents to learn complex behaviors from demonstrations. However, learning a complex vision-based task may require an impractical number of demonstrations. Meta-imitation learning is a promising approach towards enabling agents to learn a new task from one or a few demonstrations by leveraging experience from learning similar tasks. In the presence of task ambiguity or unobserved dynamics, demonstrations alone may not provide enough information; an agent must also try the task to successfully infer a policy. In this work, we propose a method that can learn to learn from both demonstrations and trial-and-error experience with sparse reward feedback. In comparison to meta-imitation, this approach enables the agent to effectively and efficiently improve itself autonomously beyond the demonstration data. In comparison to meta-reinforcement learning, we can scale to substantially broader distributions of tasks, as the demonstration reduces the burden of exploration. Our experiments show that our method significantly outperforms prior approaches on a set of challenging, vision-based control tasks.

Motivation & Objective

  • To address the challenge of few-shot vision-based policy learning where demonstrations alone are insufficient due to ambiguity in task execution.
  • To enable agents to improve beyond demonstrations by leveraging sparse reward feedback from trial-and-error experience.
  • To combine meta-imitation learning with meta-reinforcement learning to scale to broader task distributions while maintaining sample efficiency.
  • To develop a unified meta-learning framework that uses both demonstrations and trials to infer and refine policies in new, unseen environments.
  • To enable non-expert users to teach agents new tasks through demonstration and feedback, reducing reliance on large-scale expert data.

Proposed method

  • The method employs a meta-learner that trains on a diverse set of tasks, learning to adapt quickly to new tasks via a two-phase inner loop: watching a single demonstration and then trying the task with binary reward feedback.
  • A demonstration encoder extracts task-level information from a single demonstration, while a trial policy is conditioned on this encoded demonstration and the current observation to generate actions.
  • The trial policy is trained using a posterior sampling strategy to explore diverse behaviors, guided by the demonstration to reduce exploration cost.
  • The meta-learner optimizes a shared policy initialization and adaptation mechanism that enables fast adaptation to new tasks using only one demonstration and one trial episode.
  • The framework uses a vision-based observation space, with image observations cropped and resized to 100×100 for input to the policy network.
  • The method integrates imitation and reinforcement learning by using demonstrations to shape the exploration space and sparse rewards to refine the policy through trial-and-error.

Experimental results

Research questions

  • RQ1Can an agent learn a new vision-based control task from a single demonstration and a single trial with binary reward feedback?
  • RQ2How does combining demonstrations and trial feedback improve few-shot generalization compared to pure imitation or reinforcement learning?
  • RQ3Can meta-learning enable a single model to generalize across diverse manipulation tasks, including new objects and task variants?
  • RQ4Does the integration of demonstration and trial experience lead to faster and more sample-efficient policy learning than behavior cloning with fine-tuning?
  • RQ5How does the proposed method compare to meta-imitation learning and meta-reinforcement learning in terms of success rate and sample efficiency?

Key findings

  • The Watch-Try-Learn (WTL) method achieved a success rate of 42% on unseen meta-test tasks using only one demonstration and one trial, significantly outperforming the meta-imitation learning (MIL) baseline at 30%.
  • WTL outperformed behavior cloning fine-tuned with SAC, which required 2,500 trial episodes to reach a success rate of 39%, whereas WTL achieved 42% with just one trial.
  • On vision-based tasks, WTL maintained strong performance across four distinct task families: button-pressing, grasping, pushing, and pick-and-place, demonstrating broad generalization.
  • The method achieved a 42% success rate with only one demonstration and one trial episode, indicating effective resolution of ambiguities present in single demonstrations.
  • The ablation study confirmed that both demonstrations and trial feedback are essential, as removing either component led to a significant drop in performance.
  • The framework successfully learned policies from raw pixel observations without state-space supervision, demonstrating feasibility of end-to-end meta-learning in vision-based control.

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.