AVID: Learning Multi-Stage Tasks via Pixel-Level Translation of Human Videos

Laura M. Smith, Nikita Dhawan, Marvin Zhang, Pieter Abbeel, Sergey Levine · DOI

Abstract

Robotic learning from human observation faces two primary challenges: the visual correspondence problem between human and robot morphologies, and the reset problem in real-world reinforcement learning. We present AVID (Automated Visual Instruction-following with Demonstrations), a framework that enables robots to learn complex, multi-stage tasks—such as operating a coffee machine—by watching human videos. AVID utilizes CycleGAN to translate human movements into the robot's visual domain and employs model-based reinforcement learning to practice sub-goals. By incorporating an automated forward-reset mechanism, the system achieves high success rates with minimal human intervention.

Introduction

The goal of "Imitation from Observation" is to allow robots to learn tasks by watching human demonstrations. However, standard algorithms struggle with the Correspondence Problem, where the visual difference between a human hand and a robotic gripper prevents direct mapping of actions. Furthermore, the Reset Problem in real-world reinforcement learning (RL) typically requires constant human intervention to reset the environment after failed attempts, making long-horizon tasks difficult to learn autonomously.

AVID addresses these issues by combining pixel-level image translation with a stage-wise learning framework that automates the practice phase.

The AVID Framework

The AVID framework consists of three primary phases designed to bridge the gap between human demonstration and robotic execution.

1. Imagination (Translation)

The system employs CycleGAN, an unsupervised image-to-image translation tool, to convert videos of a human performing a task into videos of the robot performing the same task. This process "imagines" the robot's state at each step, effectively solving the correspondence problem at the pixel level without requiring explicit feature extraction or pose estimation.

CycleGAN translates human instruction videos into robot-domain translations.

2. Instruction and Practice

A human identifies key "instruction images" from the translated video to serve as sub-goals (e.g., "cup placed in machine"). The robot then uses a structured latent variable model to learn a compact representation of the environment from raw pixels. Actions are planned in this latent space using Model-Predictive Control (MPC) with the Cross-Entropy Method (CEM).

3. Automated Forward-Reset

To minimize human intervention, AVID introduces an automated forward-reset cycle. If the robot fails a stage, it uses its learned model to attempt to "reset" the environment to the start of the current stage. Human feedback is reduced to simple binary confirmations of stage success, significantly lowering the supervisory burden.

The reinforcement learning loop utilizes automated forward-reset cycles to minimize human intervention.

Experimental Evaluation

AVID was evaluated on two challenging real-world tasks using a Sawyer robot arm:

  • Coffee Making: A 3-stage task (pick cup, place in machine, press button).
  • Cup Retrieval: A 5-stage task (open drawer, lift arm, pick cup, place on drawer).

The training data consisted of 20–30 human demonstrations and a small amount of random robot interaction data.

Key Results

AVID significantly outperformed prior methods such as Time-Contrastive Networks (TCN) and Behavioral Cloning from Observation (BCO). In the coffee-making task, AVID achieved an 80% success rate, while most baselines failed to complete the first stage. In the cup retrieval task, AVID reached a 70% success rate, outperforming even teleoperated behavioral cloning (40%), demonstrating the robustness of stage-wise RL against accumulating errors.

Discussion and Insights

AVID demonstrates that translating entire images into the robot's domain is a viable method for defining RL rewards, proving that pixel-level correspondence is often sufficient. The results highlight that stage-wise decomposition is essential for long-horizon tasks; attempting to learn a full video sequence at once typically fails due to the complexity of the exploration space.

Furthermore, the "power of undo" provided by the automated reset mechanism allowed the robot to practice for hours with minimal human assistance. For the coffee task, the robot required only 20 minutes of human demonstrations and 180 minutes of autonomous practice, involving fewer than 150 human keypresses.

Limitations

Current limitations include the requirement for manual frame selection to define stages and the presence of visual artifacts in CycleGAN translations. Future work aims to automate video segmentation and develop "universal" translation models across diverse environments to move toward general-purpose robotic assistants.

Summary updated

BibTeX
@inproceedings{smith2020avid,
  author = {Laura M. Smith and Nikita Dhawan and Marvin Zhang and Pieter Abbeel and Sergey Levine},
  title = {{AVID: Learning Multi-Stage Tasks via Pixel-Level Translation of Human Videos}},
  booktitle = {Robotics: Science and Systems},
  year = {2020},
  doi = {10.15607/rss.2020.xvi.024},
}
Figure