TL;DR
WM-DAgger eliminates the need for tedious human intervention in robotic imitation learning by using an action-conditioned World Model to autonomously synthesize out-of-distribution (OOD) recovery trajectories. By combining a task-oriented action synthesis module with a consistency-guided hallucination filter, it achieves a 93.3% success rate in complex soft-bag pushing with just five human demonstrations.
What Problem Does This Paper Address?
Imitation learning via Behavioral Cloning (BC) is a powerful way to teach robots tasks from human demonstrations. However, it suffers from a fundamental flaw: compounding errors. A minor inaccuracy in the robot's policy can push it slightly off-course into an out-of-distribution (OOD) state that it never encountered during training. Once OOD, the robot doesn't know how to recover, leading to catastrophic task failure.
The classic solution is Data Aggregation (DAgger), which brings a human expert back into the loop to demonstrate recovery actions from these drifted states. While effective, standard DAgger is expensive, time-consuming, and unscalable. Recent attempts to automate this using single-frame generative diffusion models fall short because they cannot model continuous physical dynamics, making them ill-suited for complex interactions or deformable objects.
Methods
The authors introduce WM-DAgger, a framework that leverages a generative World Model to autonomously synthesize continuous, physically consistent recovery data without human intervention.
The architecture consists of three main components:
- Eye-in-Hand Action-Conditioned World Model (EAC-WM): Built on top of NVIDIA's Cosmos-Predict foundation model, this component predicts future video frames based on historical context and intended actions. To bridge the gap between low-dimensional action vectors and high-dimensional video, the authors introduce an Action2Image module. This module translates sparse robotic movements into dense, pixel-aligned geometric conditions (relative ray transformations) that reflect the camera's spatial displacement.
- Corrective Action Synthesis Module: Instead of generating arbitrary movements, this module samples local translational deviations around the expert trajectory. It applies a strict directional constraint (ensuring the angle between the deviation and the next expert action is $>120^\circ$) to guarantee that the synthesized recovery actions guide the robot back to the expert path without opposing the overall task goal.
- Consistency-Guided Filtering Module: World models inherently accumulate errors over time, which can lead to visual hallucinations like object morphing. Because the terminal frame of a generated trajectory is the furthest from the real context frames, it contains the highest potential error. The framework uses a pre-trained DINOv2 model to compare the visual embedding of this synthesized terminal frame against the real expert frame at that same viewpoint. Trajectories with low cosine similarity are automatically discarded.
Datasets
- Pre-training Data: Initialized using the Cosmos-Predict2.5 (2B) backbone, pre-trained on $>1000$ hours of internet-scale video.
- Play Data: Approximately 5 minutes of unscripted human exploratory movements per task, used to help the world model internalize scene-specific geometry.
- Task Data: Only 20 human expert demonstrations per task setup.
- Evaluation Tasks: Real-world manipulation tasks using a handheld gripper with an eye-in-hand GoPro camera setup, including:
- Soft Bag Pushing (manipulating a deformable object)
- Pick-and-Place (tested on 3 seen and 2 unseen objects)
- Ballot Insertion (high-precision, contact-rich insertion)
- Towel Folding (complex 6-DoF spatial trajectories)
Key Insights and Ideas
- The Terminal Frame as a Quality Proxy: Because sequential generative models accumulate errors over time, checking only the final frame of a generated sequence provides a highly efficient and reliable proxy for the physical validity of the entire trajectory.
- Action-to-Pixel Mapping: Translating sparse robot actions into dense camera ray transformations gives the video generation model explicit geometric guidance. This is the secret sauce that allows the model to accurately simulate complex physical interactions and deformable objects where standard diffusion models fail.
- Constrained Deviations Prevent Divergence: Randomly exploring OOD states can accidentally teach a policy to move backward or undo progress. Constraining recovery actions to broadly align with the expert path ensures the synthesized data remains strictly goal-directed.
Key Results
WM-DAgger significantly outperformed standard Behavioral Cloning (BC) and generative baselines like Diffusion Meets DAgger (DMD) across all tasks:
- High Success Rates: WM-DAgger achieved a 96.7% success rate in Soft Bag Pushing (compared to 30.0% for standard BC) and 83.3% in Pick-and-Place.
- Extreme Data Efficiency: In the soft bag pushing task, WM-DAgger achieved a remarkable 93.3% success rate using only 5 expert demonstrations, whereas standard BC achieved just 26.7% with the same data.
- Robust Generalization: When evaluated on completely unseen objects during the Pick-and-Place task, WM-DAgger maintained moderate success rates (63.3% and 76.7%), proving that the diverse synthesized data prevents the policy from overfitting to specific visual textures.
Limitations and Future Work
- Scaling to High-DoF Hands: The framework was validated using a standard two-finger gripper. Scaling to dexterous multi-finger hands remains a challenge due to the complex visual and physical contact dynamics involved.
- Gripper-Induced OOD States: The current model focuses on spatial deviations of the arm. It does not yet handle recovery from gripper-specific failures, such as dropping an object mid-air.
- Safety Guarantees: WM-DAgger does not offer formal safety guarantees during the data generation phase. For safety-critical applications, the authors note that the framework would require integration with task-specific safety modules or deployment-time filters.
Summary updated