Introduction
Researchers from the Berkeley AI Research (BAIR) lab have developed a hierarchical meta-learning framework that enables robots to perform complex, multi-stage tasks after watching a human demonstration just once. By leveraging prior experience with basic "primitive" skills—such as picking or pushing—the robot can dynamically compose a sequence of policies to complete compound tasks involving novel objects. This approach addresses the significant data requirements and the human-robot domain gap that typically hinder standard imitation learning.
The Challenge of Compound Tasks
Standard imitation learning usually encounters two major obstacles:
- Data Intensity: Learning a long, multi-stage task (e.g., "pick up the fruit, put it in the bowl, then push the bowl") as a single monolithic block is difficult. The long time horizon requires massive amounts of data to achieve proficiency.
- The Human-Robot Gap: Humans provide "weak" supervision. A video of a human does not contain the specific motor commands (torques or velocities) a robot needs, and the physical differences between humans and robots complicate direct imitation.
Most prior work addressed these issues using pre-segmented data or manual labels. This paper investigates whether a robot can learn to segment and execute these tasks automatically from raw pixels, simply by watching.
Methodology
The system utilizes a meta-learning approach to teach the robot how to learn new tasks. It consists of three primary components:
Domain-Adaptive Meta-Imitation Learning (DAML)
DAML is the core "one-shot" engine. During a meta-training phase, the robot practices on numerous simple primitives. It learns a set of neural network weights that can be quickly adapted to a new object after seeing a single human video of that action.
Phase Predictors ($\phi$)
A key technical contribution is the use of temporal models (LSTMs) to predict the "phase" of an action. The team trained two models: $\phi_h$ for human videos and $\phi_r$ for robot execution. These models output a value from 0 to 1, representing the percentage of completion. This continuous signal handles the fluid nature of motion better than discrete labels.
One-Shot Hierarchical Composition
At test time, the robot watches a human video and uses the human phase predictor to segment the demonstration into primitives. It then employs DAML to create a specific policy for each segment. Finally, it executes these policies sequentially, using the robot phase predictor to determine exactly when to transition from one action to the next.
Experimental Results
The researchers evaluated their method in both simulated and real-world environments:
- Simulated Sawyer (MuJoCo): In an order fulfillment task, the training set included 1,800 pick-and-place primitives and 56 bin-pushing demonstrations across 5,500 different textures to ensure visual variety.
- Real-World PR2 Robot: In a kitchen serving task, the system was trained on roughly 3,500 robot and 3,500 human demonstrations. It was tested on 10 novel containers and 5 novel food items.
The proposed method significantly outperformed baselines that lacked hierarchical phase prediction. In simulation, the hierarchical method achieved a 46.7% success rate on a 2-object compound task, while a standard LSTM meta-learner failed completely. On the real PR2 robot, the system successfully completed the full pick-place-push sequence in 50% of trials when the target was the same as the demo, and 35% when the target container was novel.
Conclusion
This research demonstrates that compositionality is essential for scaling robotic capabilities. By mastering primitives, robots can stitch them together into a vast array of complex behaviors. While challenges such as compounding errors and the need for high visual precision remain, this framework represents a significant step toward robots that can learn intuitively from human observation.
Summary updated