Abstract
Teaching robots new manipulation skills typically requires extensive data collection, either through dozens of human demonstrations or hours of reinforcement learning. This paper introduces Demonstrate Once, Imitate Immediately (DOME), a framework designed to bridge the gap between a single demonstration and immediate real-world deployment. DOME leverages image-conditioned object segmentation and learned visual servoing to align a robot's end-effector with a target object based on a single "bottleneck" image. By training entirely in simulation with massive domain randomization, the system achieves near-perfect success rates in the real world, demonstrating significant resilience to distractor objects and environmental changes without requiring any task-specific fine-tuning.
Introduction
In the field of robotics, the ability to learn a task from a single demonstration—one-shot imitation learning—remains a significant challenge. Standard Imitation Learning (IL) methods are often data-hungry, and even existing one-shot approaches frequently struggle with scene clutter or require time-consuming self-supervised calibration phases before they can be deployed.
The DOME framework addresses these limitations by focusing on the "reaching" phase of manipulation. The core hypothesis is that many complex tasks can be decomposed into a precise alignment phase followed by a recorded action sequence. If a robot can accurately reach a specific "bottleneck pose" relative to an object, it can successfully complete the task by simply replaying the demonstration's trajectory. DOME provides a robust, zero-shot method for achieving this alignment.
Methodology
DOME operates through a two-phase execution pipeline: Visual Servoing and Open-Loop Replay.
1. The Bottleneck Pose and Demonstration
During the demonstration phase, a user moves the robot to a critical starting point for interaction (e.g., positioned directly above a lid). The system captures a "bottleneck image" from a wrist-mounted camera. This image serves as the goal state for the visual servoing system during deployment.
2. Image-Conditioned Segmentation
To ensure the robot focuses on the correct object amidst environmental clutter, DOME employs a specialized U-Net architecture. This network uses Feature-wise Linear Modulation (FiLM) to condition the segmentation on the bottleneck image. By using the demonstration image as a visual "hint," the network generates a mask for the target object in the live camera feed, effectively filtering out distractor objects that were not present or relevant during the demonstration.
3. Learned Visual Servoing
The masked live image and the masked bottleneck image are processed by a Siamese CNN. This network predicts the relative transformation required to align the current view with the demonstration view across four degrees of freedom: X, Y, scale (representing Z-axis distance), and rotation (Yaw). The robot iteratively adjusts its position based on these predictions until the visual error is minimized.
4. Execution
Once the visual servoing phase achieves alignment with the bottleneck pose, the robot switches to an open-loop replay mode. It executes the velocity commands recorded during the human demonstration to complete the physical interaction, such as grasping, lifting, or inserting.
Simulation-to-Real Transfer
A key strength of DOME is its training regime. The neural networks are trained exclusively in simulation using Blender. To ensure the models generalize to the real world, the authors utilized:
- Large-Scale Datasets: 160,000 image pairs for segmentation and 80,000 for servoing.
- Diverse Geometry: 3D models sourced from ShapeNet and ModelNet40.
- Domain Randomization: Extensive variation in lighting, textures, and object shapes to prevent the model from over-fitting to simulated artifacts.
Experimental Results
The system was evaluated on seven diverse real-world tasks, including hammering a nail, lifting a lid, and inserting a ring.
Performance and Robustness
DOME achieved a near 100% success rate across all tested tasks. Notably, it significantly outperformed the Coarse-to-Fine (CTF) baseline. While CTF requires approximately 40 minutes of additional data collection per task to reach high accuracy, DOME is ready for deployment immediately after the single demonstration.
Resilience to Distractors
In testing scenarios involving distractor objects (clutter), DOME maintained its high performance. For instance, in the "Hammer" task, DOME achieved 100% success while the CTF baseline's performance degraded significantly. This resilience is attributed to the FiLM-conditioned segmentation layer, which allows the servoing network to ignore irrelevant visual information.
Discussion and Limitations
While DOME represents a significant step forward in one-shot learning, several limitations remain:
- Initial Visibility: The target object must be partially visible in the initial camera frame for the servoing process to initiate.
- Geometric Consistency: The system currently assumes the object's geometry does not change between the demonstration and deployment (e.g., it cannot yet adapt to a different brand or shape of a container).
- Degrees of Freedom: The current implementation is limited to 4-DoF alignment. Expanding the visual servoing to full 6-DoF (including Pitch and Roll) is a primary objective for future research.
Conclusion
DOME demonstrates that by combining robust, image-conditioned perception with learned visual servoing, robots can achieve high-precision task execution from a single demonstration. By shifting the complexity of the task into a simulation-trained alignment phase, DOME provides a practical and efficient path toward zero-shot robot imitation in cluttered, real-world environments.
Summary updated