TL;DR
CRAFT (Canny-guided Robot Data Generation using Video Diffusion Transformers) is a framework that uses video diffusion models to generate massive, photorealistic, and action-labeled datasets for bimanual robots. By conditioning diffusion on structural Canny edges extracted from simulation, CRAFT bridges the "reality gap," allowing robots to learn complex tasks across diverse environments and even different robot bodies using only a handful of real-world demonstrations.
What Problem Does This Paper Address?
Training bimanual robots—those with two arms working in coordination—is notoriously difficult. Imitation learning, where a robot learns by watching a human, is the gold standard, but it requires thousands of demonstrations. Collecting this data in the real world is slow, expensive, and usually results in a "brittle" robot that fails if the lighting changes or an object is moved slightly.
While simulators can generate infinite data, they suffer from the reality gap: a policy trained on clean, synthetic images often fails when faced with the messy visual complexity of the real world. Existing data augmentation techniques usually only fix one thing at a time (like changing the background) and often struggle to maintain temporal consistency or accurate physical contact between the robot and objects.
Methods
CRAFT introduces a unified pipeline to generate diverse training data through four main steps:
- Trajectory Expansion: Researchers collect a few real-world demonstrations and recreate them in a "digital twin" simulation. They then use automated scripts to vary object positions and orientations, generating thousands of successful simulated trajectories.
- Canny-Edge Extraction: Instead of trying to make the simulation look real, CRAFT extracts Canny edges (structural outlines) from the sim videos. This acts as a "skeleton" that preserves the motion and contact information while stripping away the "sim-like" textures.
- Video Diffusion: These edges are fed into a Video Diffusion Transformer (specifically Wan2.1-Fun-Control). The model is also given a real-world reference image (to define the visual style) and a language instruction.
- Unified Augmentation: By tweaking the reference image or the language prompt, CRAFT can synthesize videos spanning seven axes of variation: lighting, object pose, object color, background, camera viewpoint, wrist-camera views, and even cross-embodiment transfer (e.g., taking motion from a UR5 robot and making it look like a Franka Panda).
Datasets
The authors evaluated CRAFT using:
- RoboTwin: An open-source benchmark for bimanual manipulation used for simulation experiments.
- Custom Real-World Tasks: Three coordinated tasks: Lift Roller (coordinated lifting), Place Cans in Plasticbox (parallel picking), and Stack Bowls (sequential stacking).
- Hardware: Experiments involved bimanual setups using Franka Panda, UR5, and xArm7 robots.
Key Insights and Ideas
- The "Goldilocks" Representation: The core "aha moment" is using Canny edges. Raw simulation images are too detailed (preserving the reality gap), while skeleton poses are too sparse (losing object information). Canny edges provide just enough structural guidance to keep the physics plausible while giving the diffusion model the freedom to render photorealistic textures.
- Contact Matters: The researchers found that using a reference image showing the gripper actually touching the object significantly improved the quality of the generated videos. Without this "contact prior," the diffusion model often produced visual artifacts where the hand seemed to phase through objects.
- Zero-Shot Cross-Embodiment: CRAFT can take a trajectory performed by one robot and, through simulation retargeting and diffusion, generate training data that looks like it was performed by a completely different robot model.
Key Results
CRAFT demonstrated massive performance gains over standard baselines:
- Simulation: In cross-embodiment tasks (transferring knowledge from a UR5 to a Franka), CRAFT improved success rates from a measly 11.3% (using standard methods) to 82.6%.
- Real-World Robustness: When tested against unseen lighting and backgrounds, CRAFT-trained policies consistently outperformed specialized augmentation baselines like VISTA (for viewpoints) and RoboEngine (for backgrounds).
- Data Efficiency: By generating 1,000 synthetic demonstrations from just a few real ones, CRAFT allowed the robot to achieve high success rates on tasks that otherwise would have required hundreds of hours of manual teleoperation.
Limitations and Future Work
Despite its success, CRAFT has a few hurdles:
- Visual Artifacts: Like most generative models, the synthesized videos can sometimes have "flickering" or minor inconsistencies that can confuse the robot's policy.
- Simulation Dependency: The method still requires a simulator and 3D meshes of the objects, which might not be available for every household item.
- Camera Sensitivity: If the camera is too far away, the Canny edges become noisy, leading to poor video generation near critical contact points.
The authors suggest that future work could involve extending CRAFT to deformable objects (like cloth or rope) and improving the zero-shot capabilities to reduce the need for manual prompt engineering.
Summary updated