Third-Person Visual Imitation Learning via Decoupled Hierarchical Controller

Pratyusha Sharma, Deepak Pathak, Abhinav Gupta

Teaching robots to perform tasks by simply showing them a video is a long-standing goal in artificial intelligence. However, imitation learning in robotics typically relies on "first-person" data, such as kinesthetic teaching (physically moving the robot's arm) or teleoperation. Humans, on the other hand, learn seamlessly by watching others from a "third-person" perspective.

Translating a human demonstration video into precise robot actions is incredibly difficult due to the domain gap. A human arm looks vastly different from a robotic manipulator like the Baxter arm, camera angles vary, and background environments are rarely identical. Consequently, most end-to-end deep learning models struggle with this translation; they require millions of training images and often fail to generalize when a target object is moved slightly or replaced with a novel item.

Researchers from MIT, Facebook AI Research, and CMU have developed a hierarchical system that allows a robot to imitate a task—like pouring water or placing objects—by watching just a single video of a human performing it. Their central insight is to explicitly decouple the "what to do" from the "how to do it."

Overview of the decoupled hierarchical approach

A Decoupled Hierarchical Architecture

To overcome the domain gap and improve generalization, the authors propose a Decoupled Hierarchical Controller that splits the imitation problem into two distinct, specialized modules:

1. The High-Level Module (Goal Generator)

This module answers the question: "What is the goal?" It takes the robot's current visual observation and frames from the third-person human demonstration video. Instead of attempting to map human pixels directly to robot joint movements, it "hallucinates" what the robot's environment should look like at the next sub-goal. Utilizing a Conditional Generative Adversarial Network (cGAN) with a U-Net architecture, it performs a "re-rendering"—essentially shifting the pixels of the robot's current view to match the task progress demonstrated by the human. Because it focuses on the intent of the task, this module is inherently task-specific.

2. The Low-Level Module (Inverse Controller)

This module answers the question: "How do I get there?" It takes the robot’s current image and the predicted sub-goal image generated by the high-level module, outputting the specific joint angles (a 14-dimensional tuple for the Baxter robot) required to reach that state. Built on a ResNet-18 backbone, this controller is task-agnostic. It doesn't care if the robot is pouring water or moving a block; it only cares about reaching the visual sub-goal.

Training and deployment pipeline for the hierarchical controller

Key Insights and Performance

By separating the goal generation from the physical control, the system achieves remarkable robustness and sample efficiency.

  • Translation via Change: Instead of learning a direct mapping from human-arm-pixels to robot-arm-pixels, the model learns how the state of the world changes. It effectively asks: "If the human moved the bottle like this, how should the robot move its gripper to achieve a similar visual shift?"
  • Modular Interpretability: Because the system generates intermediate visual sub-goals, researchers can actually see what the robot is planning to do next, making the neural network's decision-making process far more transparent.

The researchers trained and evaluated their model using the MIME dataset, which contains thousands of human demonstrations and corresponding robot trajectories. In held-out test sets featuring novel objects and randomized positions, the hierarchical approach significantly outperformed baselines like Domain Adaptive Meta-Learning (DAML) and standard end-to-end models.

For the complex task of pouring, the proposed model achieved a 60% success rate, compared to just 8% for the end-to-end baseline and 15% for DAML. Furthermore, the model successfully reached the target cup 75% of the time in novel scenarios, whereas baselines hovered around 20-25%. The Inverse Controller also achieved a significantly lower Root Mean Square Error (RMSE) in joint angle prediction.

Limitations and Future Directions

While highly effective, the current system has a few limitations. The modules operate on a per-timestep basis without considering long-term temporal context, which can occasionally lead to "shaky" trajectories as the robot rapidly recalculates goals. Additionally, while the low-level controller is task-agnostic, the high-level goal generator still requires training on specific task categories. Developing a truly task-agnostic goal generator, and expanding the system to handle highly diverse robotic morphologies and dynamic backgrounds, remain exciting frontiers for future research.

Summary updated

BibTeX
@inproceedings{sharma2019third,
  author = {Pratyusha Sharma and Deepak Pathak and Abhinav Gupta},
  title = {{Third-Person Visual Imitation Learning via Decoupled Hierarchical Controller}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=aeMQSYHERNP},
}
Figure