TL;DR
VideoMimic is a real-to-sim-to-real framework that enables humanoid robots to learn diverse, context-aware whole-body skills directly from casual smartphone videos. By jointly reconstructing 4D human motion and metric 3D scene geometry, retargeting them to a humanoid, and distilling reinforcement learning policies, a single unified controller deployed onboard a Unitree G1 learns to climb stairs, traverse rough terrain, and sit on chairs without task-specific reward tuning.
What Problem Does This Paper Address?
Teaching humanoid robots to perform environment-appropriate, whole-body behaviors—such as ascending staircases, negotiating curbs, or sitting on chairs—typically requires tedious, hand-engineered reward functions and custom simulated obstacle courses. While imitation learning can bypass manual reward design, prior video-based imitation approaches face severe bottlenecks:
- They isolate the human from the scene, failing to recover the surrounding 3D geometry and contact interactions.
- Monocular RGB video lacks true metric depth and camera scale, making physics-based simulation inaccurate.
- Most existing humanoid locomotion policies assume flat ground or rely on expensive, instrumented motion-capture (MoCap) studios.
VideoMimic bridges computer vision and robot control to answer: How can we scale humanoid skill learning by casually recording everyday human interactions in the wild?
Methods
VideoMimic operates via a multi-stage pipeline from raw video capture to real-world deployment:
- Joint Human–Scene Reconstruction:
- Uses off-the-shelf foundation models (Grounded SAM 2, VIMO, ViTPose, BSTRO, and MegaSaM/MonST3R) to extract initial 2D keypoints, SMPL human poses, foot contacts, and scene point clouds.
- Scale & Trajectory Optimization: To resolve scale ambiguity, a fast Levenberg–Marquardt optimization in JAX jointly refines the human trajectory and environment scale parameter ($\alpha$) using the SMPL human height prior as a metric anchor alongside 2D/3D projection losses (~20 ms for 300 frames).
- Simulation Conversion: Aligns scenes to gravity using GeoCalib and converts point clouds into clean, simulator-ready meshes via Neural Kernel Surface Reconstruction (NKSR) with hole-filling.
- Kinematic Retargeting:
- Optimizes joint trajectories for the robot embodiment using PyRoki, balancing kinematic tree transfer, foot-contact matching, foot-skating penalties, and collision avoidance.
- Four-Stage Policy Learning:
- Stage 1 (MoCap Pre-Training - MPT): Warm-starts an imitation policy on clean MoCap data to learn foundational balancing and stepping.
- Stage 2 (Scene-Conditioned Tracking): Trains a goal-conditioned DeepMimic policy in IsaacGym to track retargeted video motions across the reconstructed meshes, conditioned on an $11 \times 11$ elevation heightmap.
- Stage 3 (Distillation via DAgger): Distills the tracker into a student policy that drops target joint angles, conditioned solely on proprioception, the local heightmap, and desired root direction (joystick command).
- Stage 4 (Under-Conditioned RL Fine-Tuning): Fine-tunes the distilled policy with a relaxed termination threshold ($1.2\text{ m}$ error), allowing the robot to discover robust recovery behaviors rather than overfitting to kinematically rigid references.
Datasets
- Self-Collected Video Dataset: 123 casual smartphone RGB clips depicting humans climbing up/down stairs, stepping onto platforms, sitting on chairs/benches/sofas, standing up, and traversing curbs.
- LAFAN MoCap Dataset: Used for Stage 1 pre-training and retained (10 flat-ground clips, ~10% data share) during subsequent training stages.
- SLOPER4D Benchmark: Used to quantitatively evaluate trajectory and scene reconstruction against baseline vision models.
Key Insights and Ideas
- The Human Body as a Metric Ruler: Monocular visual SLAM models lack absolute scale. By coupling human SMPL geometry (which has known metric proportions) with the unprojected scene points during optimization, the system recovers accurate scene scale and human trajectories without depth sensors or calibration rigs.
- Pre-Training Shields Against Visual Noise: Raw video reconstructions are inherently noisy and often feature slight scene interpenetrations. MoCap pre-training provides a vital dynamic baseline; without it, training directly from scratch on reconstructed video clips largely fails to learn stable locomotion.
- Distillation Unlocks Contextual Generalization: Dropping target joint angles during distillation forces the policy to rely on the local elevation map. The robot essentially chooses its own gait and movement style based on the terrain ahead, turning the video demonstration dataset into a contextual behavioral prior rather than a rigid trajectory to follow.
Key Results
- Reconstruction Performance (SLOPER4D):
- Human Trajectory: VideoMimic achieved 112.13 mm WA-MPJPE and 696.62 mm W-MPJPE, significantly outperforming TRAM (149.48 / 954.90 mm) and WHAM (189.29 / 1148.49 mm).
- Scene Geometry: Achieved a Chamfer Distance of 0.75 m against LiDAR ground truth, compared to 10.66 m for TRAM.
- Real-Robot Deployment (Unitree G1):
- Deployed entirely onboard at 50 Hz using a Jetson Orin NX and live LiDAR odometry (Fast-LIO2).
- A single policy successfully performed indoor and outdoor stair climbing and descending, rough terrain and steep earthen slope traversal, and sitting/standing from chairs and park benches.
- Exhibited emergent dynamic recovery, such as briefly hopping on one leg to regain balance after an unexpected foot slip on stairs.
Limitations and Future Work
- Reconstruction Fragility: Visual SLAM (MegaSaM) still suffers from camera drift and ghosting artifacts, especially in textureless environments. Foot points sometimes get merged into static ground meshes, requiring manual pruning.
- Coarse Perception: The $11 \times 11$ LiDAR elevation grid is insufficient for delicate object manipulation, overhanging obstacles, or fine foot-placement tasks. Richer representations (RGB-D or 3D occupancy grids) are needed.
- Rigid-World Assumption: Current simulator meshes assume rigid, static environments, precluding interactions with compliant furniture, doors, or moving objects.
- Data Scale: The policy was trained on only 123 clips, resulting in occasional jerky recovery behaviors that larger datasets could smooth out.
Summary updated