Introduction
Traditional imitation learning often requires hundreds of demonstrations for a single task, making it difficult to scale to complex, varied environments. This paper introduces a meta-learning framework that allows a robot to learn a brand-new task after seeing just one demonstration. By training a neural network on pairs of demonstrations across a wide variety of tasks, the authors created a system that can generalize to unseen object configurations and entirely new task goals without further training.
The Challenge: Generalization in Robotics
Current robotic systems struggle with the "small data" problem and instant generalization. If you show a person how to set a table once, they can replicate the intent even if the starting positions change. In contrast, standard robotic policies are often tied to specific coordinates or fixed sequences. The authors address this by framing imitation as a meta-learning problem: learning how to learn from a demonstration.
Methodology: Learning to Learn
The core of the approach is a neural network architecture designed to ingest a single "reference" demonstration and the robot's current state to output an action.
The architecture consists of three specialized modules:
- Demonstration Network: Processes the reference demonstration. It uses Temporal Dropout—randomly discarding up to 95% of frames—to focus on key task markers and improve efficiency.
- Context Network: Acts as a bridge, using soft attention to compare the demonstration embedding to the robot's current state. This allows the robot to determine its current progress within the task.
- Manipulation Network: A multi-layer perceptron (MLP) that outputs control commands (e.g., joint velocities) based on the context embedding.
The Training Strategy
During training, the model is shown two different demonstrations of the same task (e.g., stacking blocks in the order A-B-C). It takes the first demonstration as input and attempts to predict the actions taken in the second demonstration, given the states in that second demo.
This setup forces the network to learn the underlying logic and "intent" of the task rather than just memorizing specific joint movements or coordinates.
Experimental Results
The authors evaluated their method on a simulated block-stacking benchmark using a 7-DOF Fetch robotic arm. The robot was required to stack up to 10 blocks into specific configurations defined by strings.
- High Success Rates: On unseen 2-stage tasks (stacking two blocks), the model achieved a ~95% success rate.
- Scalability: While performance dropped as task complexity increased (down to ~24% for 8-stage tasks), the model significantly outperformed baselines that lacked the one-shot meta-learning capability.
- Permutation Invariance: The model successfully generalized to tasks where block labels were permuted, proving it learned the relationships between objects rather than just fixed IDs.
Key Insights
- Attention is the "Secret Sauce": Soft attention allows the model to ignore irrelevant objects and focus on the "source" and "target" for the current sub-step. Heatmap visualizations show the model naturally learns to segment long demonstrations into logical stages.
- Temporal Dropout as Regularization: Discarding most frames during training prevents over-reliance on high-frequency motion data and forces the model to focus on "key frames" that define task progress.
- Intent over Motion: By conditioning on the entire trajectory, the robot learns how to solve the task, which is vital for multi-stage goals where the final state alone might be ambiguous.
Limitations and Future Work
The authors noted that most failures were "manipulation failures" (e.g., blocks slipping) rather than "logic failures" (e.g., picking up the wrong block), suggesting that low-level dexterity remains a bottleneck. Future work will focus on extending the model to raw image data and resolving ambiguities by conditioning on multiple demonstrations.
Summary updated