Skip to content
Robotics.world

Research

Fast Motion Retargeting Pipeline for Scalable Humanoid Robot Learning

Large human motion-capture datasets (AMASS, LAFAN1, OMOMO, BONES-SEED) contain hundreds of thousands of human motion sequences, but human bodies and humanoid robots differ in morphology, joint…

The paper’s first page · arXiv:2610.28470
arXiv
2610.28470 · Preprint · not peer-reviewed
Published
2026-10-20
Authors
Daniel Marew, Sangjun Park, Nisal Perera, Donghyun Kim

In plain words

Large human motion-capture datasets (AMASS, LAFAN1, OMOMO, BONES-SEED) contain hundreds of thousands of human motion sequences, but human bodies and humanoid robots differ in morphology, joint structure, and hardware limits, so the motions must be retargeted before use.

AI summary

Overview

Research area: Robotics — humanoid motion retargeting, constrained numerical optimization, and learning-based motion tracking (sim-to-real).

Technical level: Advanced. The paper assumes familiarity with inverse kinematics, constrained nonlinear optimization (SQP, QP solvers), contact-implicit optimal control, and reinforcement learning for motion tracking.

Scope (one sentence): The paper presents FRDV, a CPU-based pipeline that retargets large human motion-capture datasets onto humanoid robots at up to 9,156 frames per second while enforcing robot-specific kinematic constraints, with an optional contact-implicit iLQR stage that validates and refines the result under full rigid-body dynamics before RL policy training.

What This Paper Is About

Large human motion-capture datasets (AMASS, LAFAN1, OMOMO, BONES-SEED) contain hundreds of thousands of human motion sequences, but human bodies and humanoid robots differ in morphology, joint structure, and hardware limits, so the motions must be retargeted before use. Existing retargeting pipelines are slow (the authors measure ProtoMotions at more than 40 hours for AMASS) and produce artifacts such as foot sliding, ground penetration, and self-collision that weaken or break downstream motion-tracking policies. The goal is a retargeting pipeline fast enough for dataset-scale processing, whose output is good enough to train robust tracking policies that transfer to real hardware.

Key Contributions

  1. A fast kinematic retargeting pipeline. A custom Sequential Quadratic Programming solver using Real-Time Iteration and chunk-based parallel processing, achieving up to 9,156 frames per second while enforcing robot-specific constraints against self-collision and ground penetration.
  2. A contact-implicit iLQR dynamics validation stage. An optional refinement that tracks the retargeted reference under MuJoCo's full rigid-body dynamics and actuator limits, flagging dynamically infeasible motions and reducing contact artifacts such as foot floating and foot skating.
  3. An evaluation based on downstream RL tracking, not just kinematic similarity. Motion-tracking policies are trained on LAFAN1 references produced by FRDV, GMR, and ProtoMotions and compared on success rate and tracking error.
  4. A zero-shot hardware demonstration. A policy trained on FRDV-retargeted motions is deployed on a Unitree G1 humanoid, plus evidence that the pipeline retargets onto 12 different humanoid robots without further parameter tuning.

Main Findings

  • Kinematic speed on LAFAN1: across all 77 sequences, FRDV with 20 parallel workers averages 9,156 FPS, and still averages approximately 1,947 FPS with the optional boundary-refinement step enabled. In its slowest single-worker configuration it reaches 677 FPS, roughly a tenfold speedup over ProtoMotions and a roughly fourteenfold speedup over GMR.
  • Speedup attribution: the introduction reports the peak as approximately 136× the throughput of ProtoMotions and 191× that of GMR. Table I lists single-frame kinematic retargeting throughput of 9,156 FPS for FRDV (chunk-based execution) and 677 FPS (single worker), against 48 (GMR), 67 (ProtoMotions), 48 (SPIDER), 36 (PHC), and 2 (OmniRetarget).
  • Runtime on AMASS (13,662 motions): ProtoMotions reaches 57.8 mean FPS per motion and takes 45.06 hours for 6,147,900 frames; FRDV with one worker reaches 709.3 FPS and 7.43 hours, and with 20 workers 4,324.4 FPS and 1.08 hours, for 19,696,008 frames processed. The paper notes ProtoMotions' lower frame count comes from trimming or padding each motion to 450 frames (15 s at 30 Hz).
  • Where the time goes: per-frame SQP timing across three robot platforms is broken into QP preparation, QP solve, and line search. Enabling self-collision constraints roughly doubles QP preparation cost because of additional capsule distance Jacobian evaluations, while QP solve and line search are less affected.
  • Generality across robots: by simply selecting key tracking points, FRDV retargets diverse motions onto 12 different humanoid robots without further parameter tuning.
  • Policy success rates (Table III, Unitree G1, 4096 trials per motion): FRDV is competitive or better on most motions. Clear contrasts include Dance2-S2 at 99.7 for FRDV versus 0.0 for GMR (ProtoMotions reported as N/A), Dance2-S4 at 98.2 versus 44.4 for GMR, and Dance2-S5 at 100.0 versus 99.9 for GMR. An edge case is reported in FallAndGetUp1-S5 (FRDV 0.0, GMR and ProtoMotions 100.0) and FallAndGetUp1-S4 (FRDV 100.0, GMR and ProtoMotions 0.0); the authors suggest these may reflect sensitivity to early-termination thresholds during rapid falling and recovery.
  • Tracking error (Table IV, pooled over frames, trials, and motions): FRDV has the lowest mean global per-body position error at 156.4916 mm, versus 237.1999 mm for GMR and 289.9490 mm for ProtoMotions. Mean anchor-relative position error is 33.9625 mm for FRDV versus 41.5473 (GMR) and 37.1296 (ProtoMotions), and mean orientation error is 163.0302 (units of 10⁻³ rad) versus 208.6788 and 187.5656.
  • Effect of CI-iLQR refinement (Table V, first 26 s of Dance1-S1): correcting the reference reduces mean global position error from 103.1215 mm (IK only) to 86.5751 mm and mean orientation error from 133.3334 to 129.2045 (10⁻³ rad), while mean anchor-relative error rises slightly from 29.2581 mm to 30.5669 mm — a median increase of approximately 0.4 mm, which the authors attribute to possible jitter introduced by the correction.
  • Contact behavior: CI-iLQR tracks a highly dynamic single-leg hopping sequence with limited contact support on both G1 and Dash without platform-specific tuning, and removes foot-floating and foot-skating artifacts that are difficult to fix with kinematics alone.
  • Sim-to-real: the trained policy transfers zero-shot to a Unitree G1 with no hardware-specific fine tuning.

Methodology in Plain English

The pipeline has two stages, and only the first is on the critical path for speed.

Stage one — fast constrained kinematics. Each retargeting frame is posed as an optimization: find the robot's joint angles and floating-base pose that put selected robot sites (hands, feet, pelvis) as close as possible to scaled human keypoints, while penalizing deviation from a nominal posture and from the previous frame's solution to keep motion smooth. Hard constraints keep joints within limits, keep capsule-shaped body segments above the ground, and keep segments from intersecting each other. The problem is solved with SQP, where each iteration linearizes the constraints and uses a Gauss-Newton approximation of the Hessian; because the objective is a weighted sum of squared residuals with nonnegative weights, that Hessian is positive semidefinite, so every subproblem is a convex QP that OSQP can solve quickly. A backtracking line search on an L1 merit function, with an adaptively updated penalty parameter (safety multiplier 1.1), keeps the iterations stable despite nonlinearity.

Speed tricks. Instead of fully re-solving each frame, the solver exploits temporal continuity: after a few full SQP iterations to stabilize the start of a chunk, it switches to Real-Time Iteration, a single SQP step per frame warm-started from the previous solution. Long motions are split into temporal chunks that are retargeted concurrently by 20 Python multiprocessing workers and then concatenated. Because chunks are independent, their boundary solutions may not match, so the pipeline flags boundaries where finite-difference velocities or accelerations exceed the trajectory mean by two standard deviations and optionally re-optimizes the adjacent chunks jointly; this RefineBoundary step trades throughput for consistency.

Stage two — optional dynamics check. For motions that need it, a contact-implicit iLQR controller, built on the MuJoCo MPC framework, tracks the kinematic reference under MuJoCo's full dynamics and contact model with actuator limits enforced. Contact is handled implicitly by the simulator during rollouts, so no contact schedule must be specified, and torque bounds are respected. References that do not produce a valid optimized rollout are excluded from the RL training set.

Evaluation. Motion-tracking RL policies are trained with BeyondMimic inside mjlab, one policy per motion, for 500 × 10⁶ environment steps with identical rewards, observations, and hyperparameters across the GMR, ProtoMotions, and FRDV conditions. Success rate and three tracking-error metrics (global position, anchor-relative position, orientation) are compared, and the resulting policy is deployed on a Unitree G1. Hardware used for the retargeting experiments is an AMD Ryzen Threadripper 9960X CPU with an NVIDIA RTX PRO 6000 Blackwell Max-Q GPU; FRDV's kinematic stage runs entirely on the CPU.

Why This Matters

Retargeting throughput is a direct constraint on how much robot training data can be produced and how fast the loop between dataset curation and policy training can iterate. The authors cite SONIC, which retargets more than 100 million frames (roughly 700 hours of human motion), as an example where preprocessing cost dominates. Cutting AMASS-scale processing from nearly two days to about one hour changes retargeting from a batch job into something closer to an interactive tool, and adding a dynamics-based validation gate addresses the failure mode where geometrically plausible but physically infeasible references silently degrade or prevent policy learning.

Real-world applications:

  • Humanoid skill training from public mocap: converting AMASS/LAFAN1 into robot-space training data for locomotion, dance, getting up, and recovery behaviors.
  • Cross-platform deployment: adapting one motion library to a fleet of humanoids with different limb proportions and degrees of freedom without per-robot tuning.
  • Sim-to-real policy development: generating reference motions that survive contact and torque limits, reducing hardware risk during deployment.
  • Data curation at dataset scale: using the fast stage as a filter and the expensive dynamics stage only on motions that show contact artifacts or uncertain feasibility.

Industry relevance: humanoid and legged-robot developers who depend on imitation learning and mocap corpora; anyone building motion-tracking controllers that must be validated before hardware trials; and teams whose preprocessing budget, rather than GPU capacity, limits how much behavior data they can use. Because the fast stage runs on CPU, it can also be run at scale without competing for GPU resources used in policy training.

Future Directions

  • Making dynamics validation affordable. The authors state that the CI-iLQR stage adds substantial processing time and is best applied selectively to motions with residual contact artifacts or uncertain feasibility; a faster or learned approximation of this check is an open problem. The paper does not report a specific runtime figure for this stage.
  • Reconciling parallel chunking with trajectory consistency. Chunk-parallel processing raises throughput but, because the retargeting objective is nonconvex, neighboring chunks can converge to different local minima even with RefineBoundary enabled; the authors recommend a single worker when maximum consistency matters. Closing this gap is an explicit open issue.
  • Resolving the fall-and-recovery edge case. Opposite success/failure outcomes between FRDV and baselines on FallAndGetUp1-S4/S5 suggest sensitivity to early-termination thresholds during rapid transitions, which is not yet explained.
  • Broader morphology coverage. The pipeline is demonstrated on 12 humanoid robots and hardware-validated only on the Unitree G1 with Dash used for dynamics verification; how far the no-retuning claim extends to very different body plans and actuator sets remains to be tested.

Target Audience

Robotics researchers and engineers working on humanoid motion generation, imitation learning, and sim-to-real transfer; practitioners who build mocap-to-robot data pipelines and care about preprocessing throughput; and students or researchers interested in a concrete, well-instrumented application of SQP/RTI and contact-implicit optimal control to a real robotics problem. Readers focused on RL algorithm design rather than data generation will find the RL side deliberately standard, but the retargeting-quality comparisons are directly useful for anyone deciding which reference motions to train on.

Authors’ abstract

While large-scale human motion capture datasets provide a rich source of demonstrations for humanoid robot learning, retargeting the diverse motions to different humanoid robots remains a nontrivial challenge. Existing kinodynamic trajectory optimization pipelines are computationally expensive and often require manual adjustments per motion. We present FRDV (Fast Retargeting with Dynamics Validation), a scalable framework consisting of rapid constrained kinematic retargeting…

The full abstract on arXiv
Read the original paper

Related papers