Direct Dynamic Retargeting for Humanoid Imitation Learning from Videos

Constant Roux1,*, Ludovic De Matteïs1,*, Mathias Gatineau1, Armand Jordana1, Valentin Guillet2, Nicolas Mansard1,3, Olivier Stasse1,3, Philippe Souères1
1 LAAS-CNRS, Université de Toulouse, France 2 IRT Saint-Exupéry, Toulouse, France 3 Artificial and Natural Intelligence Toulouse Institute (ANITI), France * Equal contribution

DDR turns monocular videos into dynamically feasible humanoid trajectories by tracking the human keypoints in task space, inside a physics simulator. The resulting imitation policies run zero-shot on a Unitree H1-2 and R1, two robots of very different sizes.

Abstract

Imitation Learning from monocular video demonstrations provides a scalable approach for teaching complex skills to humanoid robots. However, translating human motion to humanoids requires overcoming significant morphological mismatches. So far, dynamic retargeting methods obtain physically feasible references by tracking an intermediate geometric retargeting in simulation, usually through its joint angles. We show that this intermediate step biases the solution through two factors: the space in which the reference is tracked, joint angles rather than task-space keypoints, and the tracked reference itself, the keypoints of the geometric retargeting rather than those of the human demonstration.

We propose Direct Dynamic Retargeting (DDR), which bypasses both: it tracks the human keypoints exclusively in task space with a sampling-based Model Predictive Control solver inside a physics simulator, without contact annotations. DDR is evaluated in simulation against joint-space dynamic retargeting under controlled conditions (identical solver, budget, and warm start), on three humanoids and on motions from monocular videos and motion capture. The tracking space explains most of the gain in end-effector accuracy and robustness, and tracking the human demonstration directly prevents the transmission of errors from the intermediate geometric reference. This advantage carries over to Reinforcement Learning imitation policies, which reproduce the human demonstration more faithfully than policies trained on joint-space dynamic references. These policies are deployed zero-shot on two physical humanoids of very different sizes, H1-2 and R1, including contact-rich motions. We release the source code and a dataset of dynamically feasible references covering all the flat-ground motions of AMASS on the three humanoids.

Method

Track the human, not the intermediate retargeting

Pipeline: monocular video, human keypoints, DDR, imitation policy, zero-shot deployment
From a monocular video (or motion capture) to a policy on the real robot, without contact annotation and with the same cost weights for all motions.
Geometric, indirect and direct dynamic retargeting
GR: geometric optimization in task space. IDR: GR followed by a dynamic optimization that tracks it in joint space. DDR: a single dynamic optimization in task space, with respect to the human reference.

The geometric bias has two factors

i

Tracking space

Matching the joint angles of the geometric reference anchors the solution to a posture that is generally not dynamically feasible, and degrades the end-effectors, which carry contact and balance.

ii

Tracked reference

The errors of the geometric retargeting become the target of the dynamic stage, instead of the human demonstration itself.

DDR avoids both: a CEM-based MPC tracks the human keypoints in task space inside MuJoCo, and uses the geometric solution only as a warm start.

Findings

A controlled comparison: same simulator, solver, budget and warm start for all dynamic methods

GR geometric IDR-J tracks GR joint angles IDR-JT joint + task-space DDR-G tracks GR keypoints DDR tracks human keypoints
16–48 %
lower end-effector error than joint-space dynamic retargeting (IDR-J)
31 → 56 %
of ACCAD runs keep the pelvis within 10 cm of the reference (IDR-J → DDR)
41–57 %
lower end-effector error for the DDR policies than for the IDR-J policies, on H1-2
8 vs 18 %
of frames with a wrong foot contact, DDR against the geometric baseline, with no contact annotation

Retargeting in simulation

H1-2, same solver, budget and warm start. White spheres: human keypoints

Zero-shot deployment

Imitation policies trained on DDR references, same cost weights for all motions and robots

The same pipeline transfers zero-shot from the small R1 to the full-size H1-2. The motions of the H1-2 are less clean than those of the R1: larger robots are harder to control.

Unitree R1 proprioception only: the squat, and a crawl and a side kick (ACCAD) whose contact sequences are specified nowhere in the pipeline

R1 Squat
R1 Crawl, view 1
R1 Crawl, view 2
R1 Side kick

Unitree H1-2 six motions reconstructed from monocular videos

H1-2 Squat
H1-2 Kung-fu
H1-2 One-foot balance
H1-2 Pistol squat
H1-2 Balancing stick
H1-2 Walk
H1-2 Sim-to-real on the walk: foot contacts of the annotated ground truth, the simulation and the real robot

Dataset and code

Dynamically feasible references for all the flat-ground motions of AMASS, retargeted with DDR on H1-2, G1 and R1.

BibTeX

@misc{roux2026directdynamicretargetinghumanoid,
      title={Direct Dynamic Retargeting for Humanoid Imitation Learning from Videos}, 
      author={Constant Roux and Ludovic De Matteïs and Mathias Gatineau and Armand Jordana and Valentin Guillet and Nicolas Mansard and Olivier Stasse and Philippe Souères},
      year={2026},
      eprint={2605.23762},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2605.23762}, 
}