One-Shot Imitation from Observing Humans via Domain-Adaptive Meta-Learning

Tianhe Yu, Chelsea Finn, Annie Xie, Sudeep Dasari, Tianhao Zhang, Pieter Abbeel, Sergey Levine

TL;DR

Researchers at UC Berkeley have developed a "domain-adaptive" meta-learning framework that allows a robot to learn a new manipulation task—like pushing or picking up an object—by watching a single video of a human performing it. By training on a diverse library of human and robot demonstrations, the system learns to bridge the gap between human and robot anatomy without needing manual programming or explicit pose tracking.

What Problem Does This Paper Address?

In traditional robotics, teaching a machine a new skill usually requires kinesthetic teaching (physically moving the robot's arm) or teleoperation (controlling it via a joystick). Humans, however, learn by observation. If you see someone open a jar, you can do it too, even though your hands look different and you're standing at a different angle.

For robots, this is incredibly hard due to two main issues:

  1. The Correspondence Problem (Domain Shift): A human arm doesn't look like a robot arm, and a kitchen doesn't look like a lab. Mapping a human's movements to a robot's joints is a massive mathematical headache.
  2. Data Efficiency: Deep learning usually requires thousands of examples to learn one task. We want robots that can learn from just one video (one-shot learning).
Overview of Domain-Adaptive Meta-Learning

Methods

The authors extend Model-Agnostic Meta-Learning (MAML) to create a system that "learns how to learn."

  • Two-Phase Training:
    • Meta-Training: The robot is shown pairs of videos: a human doing a task and a robot doing the same task across hundreds of different objects. It learns a "prior"—a general understanding of how human movements relate to robot actions.
  • Meta-Testing (Deployment): When faced with a brand-new object, the robot watches one human video, performs a quick internal "update" to its parameters, and then executes the task itself.
  • Learned Temporal Adaptation Objective ($L_\psi$): This is the "secret sauce." Since human videos don't come with "action labels" (we don't know exactly what torque the human's muscles are applying), the researchers meta-learned a loss function. This function uses temporal convolutions (1D CNNs) to look at multiple frames of the human video at once, allowing the robot to figure out the human's intent and the task's logic over time.
Learned Temporal Adaptation Objective

Datasets

The researchers collected a massive amount of data to fuel the meta-learning process:

  • PR2 Robot Dataset: Included 1,293 demonstrations for placing, 640 for pushing, and 1,008 for pick-and-place.
  • Human Demonstrations: An equal number of videos showing humans performing the same tasks.
  • Diverse Environments: For the "Large Domain Shift" experiments, they used a cell-phone camera to record humans on 10 different table textures in a completely different room from the robot.
  • Sawyer Robot: A second dataset was used to prove the method works on different hardware platforms using kinesthetic teaching data.

Key Insights and Ideas

  • Intent over Anatomy: Instead of trying to track human finger joints (which is error-prone), the model learns to identify which objects are relevant and what the end goal is.
  • Temporal Context Matters: A single frame of a human holding a peach doesn't tell you if they are about to eat it or put it in a bowl. By using temporal convolutions in the adaptation loss, the robot "understands" the sequence of the action.
  • End-to-End is Better: Unlike prior work that used hand-coded vision pipelines, this system is trained end-to-end from raw pixels to joint velocities, making it more robust to cluttered or novel backgrounds.

Key Results

The approach, called DAML (Domain-Adaptive Meta-Learning), significantly outperformed previous state-of-the-art methods:

  • Placing Task: Achieved a 93.8% success rate on the PR2 robot, compared to just 33.3% for a standard recurrent (LSTM) baseline.
  • Pushing Task: Maintained an 88.9% success rate even when watching a human demonstrator it had never seen before.
  • Large Domain Shift: When the human video was filmed in a different room with a different camera (cell phone), the robot still succeeded ~81.8% of the time on seen backgrounds and ~70% on entirely novel backgrounds.

Limitations and Future Work

  • Structural Similarity: Currently, the robot can only learn tasks that are "structurally similar" to what it saw during meta-training. It can learn to push a new object, but it can't yet learn an entirely new category of motion (like tieing a knot) if it wasn't in the training set.
  • Data Hunger: While the robot is "one-shot" at test time, the initial meta-training phase still requires thousands of human-robot demonstration pairs.
  • Complex Physics: The current experiments focus on relatively simple manipulation. Future work could explore tasks with more complex dynamics or multi-stage goals.

Summary updated

BibTeX
@inproceedings{yu2018one,
  author = {Tianhe Yu and Chelsea Finn and Annie Xie and Sudeep Dasari and Tianhao Zhang and Pieter Abbeel and Sergey Levine},
  title = {{One-Shot Imitation from Observing Humans via Domain-Adaptive Meta-Learning}},
  booktitle = {Workshops @ ICLR},
  year = {2018},
  url = {https://openreview.net/forum?id=EWgWUorPSad},
}
Figure