Manuscript Offprint
arXiv:2610.28470Fast Motion Retargeting Pipeline for Scalable Humanoid Robot Learning
Daniel Marew*, Sangjun Park*, Nisal Perera, and Donghyun Kim
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 and an additional dynamics validation pipeline. Its kinematic stage integrates a custom Sequential Quadratic Programming solver, Real-Time Iteration, and parallel chunk-based processing, achieving up to 9,156 frames per second — approximately up to faster than GMR and ProtoMotions — while robot-specific constraints are incorporated into the optimization to reduce common retargeting artifacts, such as ground penetration and self-collision. For motions requiring additional verification, a contact implicit iLQR controller is utilized to test the retargeted reference under full rigid body dynamics. This dynamics-based validation identifies dynamically infeasible motions and refines contact-related artifacts such as foot floating and foot skating. We evaluate retargeting quality by training motion tracking reinforcement learning policies using several state-of-the-art pipelines and comparing their tracking fidelity and success rates. Furthermore, sim-to-real transfer is demonstrated on a Unitree G1 humanoid. Videos and code are available at: https://daroslab.github.io/frdv/.
I. INTRODUCTION
Large-scale human motion capture (MoCap) datasets are increasingly used to train humanoid robots to reproduce diverse locomotion, manipulation, and whole-body behaviors [1]–[5]. Datasets such as AMASS [6], LAFAN1 [7], OMOMO [8], and BONES-SEED [9] collectively contain hundreds of thousands of human motion sequences. However, these motions are hard to directly use for humanoid learning due to differences in morphology, joint structure, and hardware limitations. A common approach is to adapt human motion data to the morphology and kinematic constraints of a target robot through motion retargeting [10]–[12].
Despite its widespread use, existing retargeting pipelines face two major challenges when applied to large-scale datasets. The first is computational efficiency. For example, our runtime evaluation shows that existing retargeting methods, such as ProtoMotions [13], require more than 40 hours to process the AMASS dataset (see Table II), which contains approximately 11,000 motion sequences spanning over 40 hours of motion data from more than 300 subjects [6]. The second challenge is retargeting quality. Differences in body proportions, joint limits, and kinematic structures between humans and humanoid robots can introduce artifacts such as foot sliding, ground penetration, and self-collisions. These artifacts can reduce the robustness of downstream reinforcement learning (RL)-based motion-tracking policies and, for challenging motions, may even prevent successful policy learning [12].
To address these challenges, we introduce FRDV (Fast Retargeting with Dynamics Validation), which combines high-speed kinematic retargeting with optional dynamics validation. Its kinematic stage uses a specialized Sequential Quadratic Programming (SQP) solver, Real-Time Iteration (RTI), and chunk-based parallelism, achieving up to 9,156 FPS—approximately and the throughput of ProtoMotions [14] and GMR [12], respectively—while enforcing robot-specific constraints to reduce ground penetration and self-collision. For motions requiring further verification, contact-implicit iLQR [15] tracks the resulting references under MuJoCo dynamics and actuator limits to assess trackability and refine residual contact artifacts before RL training.
We evaluate downstream trackability beyond kinematic similarity by training motion-tracking RL policies on LAFAN1 references generated by FRDV, GMR [12], and ProtoMotions [14] and comparing tracking fidelity and success rates across diverse motion categories. We also evaluate sim-to-real transfer by deploying the trained policy on Unitree G1 to execute FRDV-retargeted motions. In summary, the main contributions of this work are:
-
A fast motion retargeting pipeline based on a custom SQP solver, RTI, and parallel chunk-based processing, achieving up to 9,156 frames per second on average while enforcing robot-specific constraints to prevent self-collision and ground penetration.
-
A contact-implicit iLQR stage for dynamics validation and refinement under full rigid-body dynamics and actuator bounds.
-
A comprehensive evaluation using motion-tracking reinforcement learning, including comparisons with existing retargeting pipelines and a zero-shot hardware demonstration on the Unitree G1 humanoid robot.
A. Kinematic Retargeting
Kinematic motion retargeting maps human motion capture data to robot configurations subject to the target robot's kinematic constraints. Pipelines such as GMR [12] and OmniRetarget [18] perform frame-by-frame optimization, whereas PHC [17] optimizes an entire motion clip at once. ProtoMotions [14] jointly retargets consecutive frames using
These authors contributed equally to this work.
College of Information and Computer Sciences, University of Massachusetts Amherst, MA, U.S. (donghyunkim@cs.umass.edu)
TABLE I: Comparison of representative motion-retargeting methods. The table compares support for kinematic retargeting, dynamics validation, self- and ground-collision handling, compute platform, and single-frame kinematic retargeting throughput in frames per second. For FRDV, we report both aggregate throughput using 20-worker chunk-parallel execution and throughput using a single worker. Furthermore, for FRDV, timing results cover kinematic retargeting only and exclude CI-iLQR dynamics validation and refinement. Batched execution is excluded.
| FRDV (Ours) | SPIDER [16] | GMR [12] | PHC [17] | OmniRetarget [18] | ProtoMotions [14] | |
|---|---|---|---|---|---|---|
| Kinematics | ✓ | -□ | ✓ | ✓ | ✓ | ✓ |
| Dynamics | ✓ | ✓ | ✕ | ✕ | ✕ | ✕ |
| Self Collision | ✓° | ✓△ | ✕ | ✕ | ✕ | ✕ |
| Ground Collision | ✓° | ✓△ | -◇ | -□ | -° | ✕ |
| Compute | CPU | GPU | CPU | CPU | CPU | GPU |
| Kinematics FPS• | 9156▲/677■ | 48♦ | 48 | 36 | 2 | 67 |
○ via kinematics and dynamics
• LAFAN1 retargeting average
△ via dynamics
♦ uses GMR for retargeting
◇ post height correction
▲ chunk-based execution
□ initial frame height correction
■ single worker execution
PyRoki. Nevertheless, these methods achieve only tens of frames per second, as summarized in Table I. The practical impact of this limitation is evident in systems such as SONIC [1], which retargets more than 100 million frames, corresponding to approximately 700 hours of human motion, to construct robot space training data. At this scale, retargeting throughput directly affects both preprocessing cost and iteration speed. In contrast, our work treats retargeting throughput as a primary objective while maintaining compatibility with downstream motion-tracking policy training.
B. Numerical Optimization for Inverse Kinematics
The inverse kinematics problem can be formulated as a constrained nonlinear least squares problem. General-purpose nonlinear programming solvers such as IPOPT [19] and SNOPT [20] can solve such problems robustly, but their generality can introduce computational overhead in large-scale, frame-wise retargeting. Existing pipelines use different numerical formulations. GMR [12] uses the Mink differential inverse kinematics framework [21], which formulates each differential IK step as a quadratic program. PyRoki [22] uses a Levenberg–Marquardt optimizer and supports hard constraints through an augmented Lagrangian formulation. ProtoMotions [14] uses PyRoki in its motion retargeting workflow.
Our method instead utilizes an SQP solver specialized for explicit constraint handling, achieving high-throughput retargeting. At each iteration, the nonlinear constraints are linearized, and the Hessian is approximated by the Gauss–Newton matrix. Because the objective is a weighted sum of squared residuals with nonnegative weights, this approximation is positive semidefinite, yielding a convex QP that can be solved efficiently using OSQP [23]. Furthermore, the Real-Time Iteration (RTI) scheme [24], originally developed for nonlinear model predictive control, reduces the per-frame cost to a single SQP step by exploiting temporal continuity as a warm start. Our solver combines these ideas and specializes them for the motion retargeting setting.
C. Dynamics Verification and Contact-Implicit Control.
Assessing and improving the dynamic consistency of retargeted motions requires considerations about full-body dynamics and contact. Methods based on explicit contact mode sequences generally require the mode schedule to be prescribed, whereas contact implicit trajectory optimization methods optimize the motion and contact behavior jointly without requiring a predefined contact sequence [25], [26]. More recently, sampling-based dynamics refinement methods such as SPIDER [16] and DynaRetarget [27] have been proposed to transform or refine kinematic demonstrations into dynamically consistent robot trajectories. In this paper, we use a gradient based, contact implicit optimal control approach [15], [26], in which contact is embedded directly in the dynamics model and differentiated through, allowing contact transitions to emerge during optimization. We build upon and modify the MuJoCo MPC framework [15] to track IK retargeted reference motions under MuJoCo's full rigid body dynamics and contact model. Actuator limits are enforced during optimization, ensuring that the simulated trajectories remain within the torque bounds while reducing contact related artifacts such as foot floating and foot skating. References that do not yield a valid optimized rollout are excluded from the dataset used to train downstream motion tracking policies.
III. METHODOLOGY
A. Inverse Kinematics Formulation
We formulate the motion retargeting problem as a constrained nonlinear optimization problem. Let the robot configuration space be where the three components correspond to the floating base position, unit quaternion representation of the floating base orientation, and actuated joint angles, respectively. The configuration is represented as where , is a unit quaternion representing an orientation in , and contains the actuated joint angles. Before optimization, the selected human MoCap keypoint positions are scaled to approximately match the target robot's body proportions. Each MoCap frame at time is then mapped to a set of target positions , where denotes the selected human-to-robot site correspondences. We seek a robot configuration that tracks these targets while satisfying the robot's kinematic and collision constraints.
- Objective Function: The objective function is a weighted sum of three terms: a tracking cost, a regularization cost, and a temporal smoothing cost:
Tracking Cost ( ): This term minimizes the Euclidean distance between the forward kinematics positions of selected key robot sites (e.g., hands, feet, pelvis) and their corresponding MoCap targets. Let denote the set of tracked robot sites, the forward-kinematics position of site , and the corresponding target position for site at time .
where is the scalar weight associated with site .
Regularization Cost ( ): To resolve redundancy and encourage natural postures, we penalize deviations of the actuated joints from a nominal configuration :
where .
Smoothing Cost ( ): To ensure temporal continuity and reduce jitter, we penalize the configuration space displacement from the solution at the previous time step:
where . Here, denotes the configuration space error operator. It reduces to ordinary subtraction for the root translation and joint-angle components, while for the root orientation quaternion , it computes the geodesic error on .
- Constraints: The optimization is subject to the following kinematic and collision constraints:
(Joint limits)
(5)
(Capsule ground)
(6)
(Site ground)
(7)
(Self-collision)
(8)
Each collision enabled link is approximated by a capsule with radius and centerline endpoints and . Constraint (6) keeps each capsule above the ground by requiring both axis endpoints to remain at least above the ground plane. For self collision, is the minimum distance between the axis segments of capsules and . Constraint (8) ensures at least clearance between their surfaces. We additionally constrain the world frame heights of selected MuJoCo sites to prevent ground penetration.
Algorithm 1 Fast Motion Retargeting via SQP
Require: Initial guess , bounds 1, u, Tol , MaxIter K
1: ,
2: for to K do
3: // 1. QP Problem Construction
4:
5:
6: Gauss-Newton
7:
8: ,
9: // 2. Solve QP Subproblem
10:
11: // 3. Updates
12: if then return x
13: end if
14: Update Penalty
15: // 4. Line Search
16:
17:
18: end for
19: return x
B. Sequential Quadratic Programming (SQP)
Our IK formulation is a standard Nonlinear Programming (NLP) problem of the form:
where are the decision variables. We solve this using Sequential Quadratic Programming (SQP). At each iteration , the NLP is approximated by a Quadratic Program (QP) subproblem formed by linearizing the constraints and taking a quadratic approximation of the cost function around the current iterate :
The solution to this subproblem yields a search direction . The iterate is then updated via , where is a step size determined by a globalization strategy. The full procedure is summarised in Algorithm 1.
- Gauss-Newton Hessian Approximation: A critical component of the QP subproblem is the Hessian matrix . Calculating the exact Hessian of the Lagrangian involves second order derivatives of the forward kinematics, which is computationally expensive and can result in an indefinite matrix, leading to a nonconvex QP.
To ensure numerical stability and computational efficiency, we employ the Gauss-Newton approximation [28], [29]. Since our objective function is a sum of squared residuals (least squares form), we approximate the Hessian as:
where is the Jacobian of the residual vector formed by stacking all error terms from , , and ,
Algorithm 2 Backtracking Line Search ( Merit)
1: function LINESEARCH(x, , ) 2: Params: , 3: 4: // Helper to compute L1 violation 5: function VIOL(z) 6: return 7: end function 8: 9: 10: while do 11: 12: 13: if then 14: return 15: end if 16: 17: end while 18: return 19: end function
and is the corresponding diagonal non-negative weight matrix. Consequently, the resulting Gauss–Newton Hessian approximation is positive semidefinite. Together with the affine linearized constraints, this yields a convex QP subproblem that can be solved efficiently using OSQP [23].
-
Backtracking Line Search: To ensure global convergence and robustness against nonlinearities, we employ a backtracking line search strategy [28], [29]. While the QP subproblem yields a descent direction in the primal dual space, taking a full step ( ) may not satisfy the nonlinear constraints due to linearization errors. We accept a step size only if it satisfies the Armijo condition [30] on a nondifferentiable merit function.
-
Merit Function: The total constraint violation is defined as
The merit function is
where penalizes constraint violation.
- Adaptive Penalty Parameter: To ensure the search direction is a descent direction for the merit function, must be sufficiently large. We update adaptively at each iteration based on the Lagrange multipliers obtained from the QP solver:
where is a safety multiplier (set to 1.1) to strictly satisfy .
- Armijo Condition: We determine by starting with and iteratively reducing it by a factor until the sufficient decrease condition is met:
Algorithm 3 Parallel Retargeting Framework
Require: Motion of length , Workers
1: Calculate chunk size
2:
3: for to do
4:
5: Add to
6: end for
7: Parallel Solve
8:
9:
10: SAVETRAJECTORY()
Algorithm 4 Chunk Processing (SQP Boost + RTI)
1: procedure PROCESSCHUNK( ) 2: Reset to T-Pose 3: 4: for to Length( ) - 1 do 5: 6: if then 7: : Stabilize from T-Pose 8: else 9: RTI: 1-step SQP tracking 10: end if 11: Warm-start with prev q 12: Append q to Q 13: end for 14: return Q 15: end procedure
where is the directional derivative of the merit function, approximated as . The complete backtracking line search procedure based on the merit function is summarized in Algorithm 2.
C. Parallel Motion Processing
To address the computational bottleneck of processing large scale datasets, we partition each motion sequence into temporal chunks, retarget the chunks concurrently, and then concatenate the resulting trajectories. Since each chunk is initialized independently from a nominal T-pose, we use additional SQP iterations for its first few frames to obtain a reliable initial solution. After convergence, the solver switches to Real-Time Iteration mode and warm-starts each frame from the previous solution to exploit temporal coherence.
However, since each chunk is optimized independently, the merged trajectory is not guaranteed to be smooth, particularly at chunk boundaries. Given the retargeting objective is non-convex, neighboring chunks may converge to different local minima even when the underlying motion is continuous. For the boundary between chunks and , we characterize the configuration mismatch as
where and denote the final and initial retargeted joint configurations of two consecutive chunks, respectively. A large configuration mismatch can produce sudden changes in the resulting joint velocities and accelerations. We compute finite difference approximations of the configuration velocities and accelerations:
We then compute their norms, and , and flag frame when either value exceeds its trajectory mean by two standard deviations. For each flagged boundary region, the adjacent chunks are jointly re-optimized using the preceding retargeted frame as a warm start. This optional REFINEBOUNDARY step in Algorithm 3 is used when improved output is preferred over maximum throughput. Its computational cost is reported in Fig. 1.
D. Contact-Implicit iLQR
While the kinematic retargeting step ensures geometric consistency, it does not guarantee physical feasibility. To obtain physically plausible trajectories, we use the contact-implicit iLQR (CI-iLQR) to track the retargeted kinematic reference motion.
We formulate trajectory refinement as a finite horizon optimal control problem. Let denote the full state and the actuator torques at time step . The finite-horizon optimal control problem solved at each replanning instant is
where denotes the discrete time MuJoCo dynamics, including contact resolution, and is the planning horizon. The running cost tracks the IK-retargeted reference while penalizing velocity and control effort:
where are state tracking weights, penalizes control effort, and is a terminal cost of the same form evaluated at the final state. Problem (18) is solved using a CI-iLQR implementation built on the MuJoCo MPC planning and simulation pipeline [15]. Contacts are resolved by the MuJoCo dynamics during planner rollouts, so no predefined contact schedule is required.
IV. EXPERIMENTS AND RESULTS
A. Implementation Details
All experiments use an AMD Ryzen Threadripper 9960X CPU and an NVIDIA RTX PRO 6000 Blackwell Max-Q GPU. FRDV kinematic retargeting runs entirely on the CPU, using one worker by default or 20 Python multiprocessing workers for parallel execution. Forward kinematics and Jacobians are computed using Pinocchio [31] through CasADi [32], with a symbolic graph JIT-compiled once per robot model and reused across all frames. OSQP [23], an ADMM-based operator-splitting solver, solves each SQP subproblem. Within RTI, each solve is warm-started with the preceding frame's dual variables to reduce ADMM iterations. All RL motion-tracking policies are trained using BeyondMimic [33] within mjlab [34].

Fig. 1: LAFAN1 retargeting speed benchmark across 77 sequences. Mean FPS (log scale) with interquartile range for each method; error bars show the 25th–75th percentile range. FRDV timing results cover kinematic retargeting only and exclude CI-iLQR dynamics validation and refinement.
TABLE II: Runtime on the AMASS SMPL dataset (13,662 motions). The lower ProtoMotions frame count results from its fixed-length representation, in which each motion is trimmed or padded to 450 frames (15 s at 30 Hz) for efficient JAX compilation and batch processing [13]. FRDV timing results cover kinematic retargeting only and exclude CI-iLQR dynamics validation and refinement.
| Method | Mean FPS per motion | Wall clock time (h) | Frames processed |
|---|---|---|---|
| ProtoMotions (PyRoki) | 57.8 | 45.06 | 6,147,900 |
| FRDV (1 worker) | 709.3 | 7.43 | 19,696,008 |
| FRDV (20 workers) | 4324.4 | 1.08 | 19,696,008 |
B. Kinematic Retargeting
To measure retargeting throughput, we report the number of processed frames per second (FPS). All FRDV timing results in Tables I–II and Figures 1–2 exclude the optional CI-iLQR dynamics validation. The cost of RefineBoundary is included only for configurations explicitly identified as using boundary refinement. We benchmark kinematic only retargeting on the entire LAFAN1 dataset using the Unitree G1 robot model. LAFAN1 contains more than 4 hours of motion data recorded at 30 Hz. Figure 1 shows the retargeting speed benchmark across all 77 sequences. With 20 parallel workers, FRDV achieves an average throughput of 9,156 FPS

Fig. 2: Per-frame SQP timing across three robot platforms. The time is broken down into QP preparation, QP solve, and line search. Hatched bars indicate self-collision constraints.
and maintains approximately 1,947 FPS on average when REFINEBOUNDARY is enabled. Even in its slowest single worker configuration, FRDV achieves 677 FPS, delivering an approximately tenfold speedup over ProtoMotions [14] and a roughly fourteenfold speedup over GMR [12].
We also benchmark the larger AMASS dataset (13,662 clips; Table II). With 20 workers and REFINEBOUNDARY disabled, FRDV retargets the full dataset in approximately one hour, versus nearly two days for GPU-based ProtoMotions [14]. Even the slowest configuration, using a single worker, takes 7.43 hours, which is six times faster than ProtoMotions.
Figure 2 breaks down the per-frame computation time of the three main SQP solver components (QP preparation, QP solve, and line search) across three robot platforms, each evaluated with and without self-collision constraints. The QP preparation step includes Jacobian evaluation and Hessian assembly, the QP solve corresponds to the OSQP solver call, and the line search accounts for merit function evaluations along the step direction. Enabling self-collision roughly doubles the QP preparation cost due to the additional capsule distance Jacobian evaluations, while the QP solve and line search are less affected.
To demonstrate that the retargeting pipeline generalises beyond a single robot platform, we apply it to a diverse set of humanoid robots with varying limb proportions, joint configurations, and degrees of freedom. By simply selecting key tracking points of each robot, FRDV could retarget diverse motions on 12 different humanoid robots, showing that the SQP-based IK solver transfers without further parameter tuning (Figure 3).
C. RL Tracking Policy Training
To evaluate the downstream utility of kinematically retargeted motions, we train a motion tracking RL policy on LAFAN1 sequences retargeted by GMR [12], ProtoMotions [14] and by the kinematic pipeline of FRDV to the Unitree G1 robot, and assess how robustly the policy can reproduce the reference motions. All FRDV reference motions used for policy training and evaluation in Table III and Table IV were generated using the single-worker kinematic retargeting configuration.

Fig. 3: Retargeting results across 12 different humanoid robots.
TABLE III: Per-motion policy success on LAFAN1 for the Unitree G1. The success rate is the percentage of 4096 trials in which the policy tracks the reference motion to completion without early termination. Higher is better.
| Motion (Len., s) | GMR | Proto | FRDV (Ours) |
|---|---|---|---|
| Dance1-S1 (131.5) | 99.3 | N/A | 99.3 |
| Dance2-S2 (225.7) | 0.0 | N/A | 99.7 |
| Dance2-S4 (225.7) | 44.4 | N/A | 98.2 |
| Dance2-S5 (225.7) | 99.9 | N/A | 100.0 |
| PushAndStumble1-S2 (30.0) | 100.0 | 100.0 | 100.0 |
| PushAndStumble1-S3 (30.0) | 100.0 | 100.0 | 100.0 |
| FallAndGetUp1-S5 (30.0) | 100.0 | 100.0 | 0.0 |
| FallAndGetUp1-S4 (30.0) | 0.0 | 0.0 | 100.0 |
| Run1-S2 (30.0) | 100.0 | 100.0 | 100.0 |
| Run1-S5 (30.0) | 69.9 | 99.9 | 100.0 |
| Sprint1-S2 (30.0) | 99.0 | 99.9 | 98.6 |
| Ground1-S1 (30.0) | 100.0 | 100.0 | 100.0 |
| Ground1-S4 (30.0) | 100.0 | 100.0 | 100.0 |
| Walk1-S1 (30.0) | 100.0 | 100.0 | 100.0 |
| Walk3-S5 (30.0) | 98.4 | 99.9 | 100.0 |
| Jumps1-S1 (30.0) | 100.0 | 100.0 | 100.0 |
| Jumps1-S2 (30.0) | 100.0 | 99.4 | 100.0 |
TABLE IV: Tracking error between policy output and retargeted reference. Results use the same motion subset as Table III, with 4096 trials per motion. Statistics are pooled across all frames, trials, and motions. Lower is better.
| Metric | Statistic | GMR | Proto | FRDV |
|---|---|---|---|---|
| Min | 49.9138 | 63.8673 | 36.2905 | |
| Median | 105.8906 | 118.6711 | 100.5796 | |
| Mean | 237.1999 | 289.9490 | 156.4916 | |
| Max | 3829.2273 | 2003.9506 | 1722.3719 | |
| Min | 20.4714 | 19.8689 | 19.1403 | |
| Median | 35.1353 | 33.2212 | 34.4500 | |
| Mean | 41.5473 | 37.1296 | 33.9625 | |
| Max | 135.6271 | 88.6515 | 59.5523 | |
| Min | 99.7299 | 92.1822 | 88.1835 | |
| Median | 163.6739 | 145.2997 | 148.7764 | |
| Mean | 208.6788 | 187.5656 | 163.0302 | |
| Max | 757.6379 | 649.2991 | 299.1505 |
Each motion is trained as a separate policy for environment steps, with identical reward structure, observation, and hyperparameters across all conditions.
Quality is measured along two axes: policy success rate by motion category (Table III) and kinematic tracking error between the policy output and the retargeted reference (Table IV). To assess how accurately the trained RL policy tracks the reference motion, we report three metrics: mean per-body position error in global/world coordinates (), mean per-body position error relative to the motion-anchor body (), and mean per-body orientation error ().
Across all motion categories, FRDV achieves competitive policy success rates and lower mean tracking errors that are consistently comparable to or better than those obtained with GMR [12] and ProtoMotions [14]. The lower mean indicates that policies trained on FRDV references track the reference body positions more closely in world coordinates. The lower mean and indicate smaller deviations from the reference body positions relative to the motion anchor and from the reference body orientations, respectively. These improvements show more accurate reproduction of both the spatial movement and body posture specified by the retargeted motion. However, the success rates reveal an edge case in FallAndGetUp1-S4/S5, where FRDV and the baselines show opposite outcomes. These differences may reflect sensitivity to early termination thresholds in downstream RL training, as transient tracking errors during rapid falling and recovery transitions can trigger early termination before recovery is completed.
D. Contact-Implicit iLQR Dynamics Verification
CI-iLQR reliably tracks a highly dynamic LAFAN1 single-leg hopping sequence with limited contact support in full rigid-body simulation on both G1 and Dash, without platform-specific tuning (Figure 4). Figure 5 shows that CI-iLQR enforces contact through MuJoCo dynamics, removing foot-floating and foot-skating artifacts from the retargeted G1 reference that are difficult to correct using kinematics alone.
For quantitative evaluation, we use the first 26 s of LAFAN1 Dance1-S1, which includes loss of balance and recovery to standing. Tracking this recovery requires momentum regulation and consistent foot-ground contact while respecting the robot's actuator torque limits. We train identical RL policies on IK-only and CI-iLQR-corrected references and evaluate them using , , and .
Table V shows that CI-iLQR generally improves global position and orientation tracking, by reducing contact artifacts and torque spikes. However, we observe a slight increase in anchor-relative error, indicating small deviations in limb placement relative to the anchor body. The median anchor relative position error increases by approximately 0.4 mm. This increase in error may reflect slight jitter introduced during CI-iLQR correction that is not fully tracked by the learned RL policy.
E. Sim-to-Real Transfer on Unitree G1
To validate that the full pipeline produces data suitable for physical deployment, we train a motion tracking RL policy in simulation using motions retargeted by our framework and deploy it zero-shot on a Unitree G1 humanoid robot. Figure 6 shows the robot executing retargeted motions on hardware, demonstrating that the policy transfers robustly without any hardware specific fine tuning.

Fig. 4: Contact-implicit iLQR verification on G1 and Dash using single-leg hopping snapshots and left-leg joint torques.

Fig. 5: Foot skating artifact on G1. (a) Kinematic retargeting produces sliding contact. (b) Contact implicit iLQR enforces contact and eliminates sliding.
TABLE V: Tracking errors for RL policies trained on IK-only and CI-iLQR-corrected references. Lower is better.
| Reference | Stat. | |||
|---|---|---|---|---|
| IK only | Min. | 6.4705 | 5.9587 | 38.0657 |
| Median | 105.8434 | 30.4584 | 136.2763 | |
| Mean | 103.1215 | 29.2581 | 133.3334 | |
| Max. | 234.5076 | 46.1332 | 221.1189 | |
| CI-iLQR corrected | Min. | 14.6757 | 6.3719 | 34.2465 |
| Median | 86.1861 | 30.8755 | 129.3279 | |
| Mean | 86.5751 | 30.5669 | 129.2045 | |
| Max. | 190.7727 | 52.9818 | 223.6261 |

Fig. 6: Sim-to-real transfer on Unitree G1.
V. CONCLUSION
We presented FRDV, a scalable motion retargeting framework that combines high-throughput constrained IK with optional contact implicit dynamics validation. FRDV achieved substantial speedups over existing methods, generalized across humanoid morphologies, produced references with competitive downstream RL performance, and achieved successful transfer to Unitree G1 hardware.
Although FRDV substantially improves kinematic retar-getting throughput, the optional CI-iLQR dynamics validation and refinement stage adds substantial processing time. Given its high computational cost, CI-iLQR is best applied selectively to motions exhibiting residual contact artifacts, such as foot floating during intended support or foot skating during stance, and to motions whose dynamic feasibility remains uncertain after kinematic retargeting. In these cases, CI-iLQR can assess trackability under the simulated dynamics and may refine contact artifacts before downstream RL training. Furthermore, processing temporal chunks in parallel increases throughput for long sequences but can produce inconsistent local solutions due to the nonconvex optimization, even with REFINEBOUNDARY enabled. For the highest trajectory consistency, we recommend using a single worker within each motion sequence and applying parallel processing across independent motion files. The batch_retarget script provided in the repository supports batch processing of multiple motion files. Future work will focus on faster dynamics validation and more consistent parallel retargeting.
ACKNOWLEDGMENT
This material is based upon work supported by the National Science Foundation (Grant No. 2427788, 2541914, and 2529277), the Electronics and Telecommunications Research Institute (ETRI), and the NVIDIA Academic Grant Program.
REFERENCES
[1] Z. Luo, Y. Yuan, T. Wang, C. Li, S. Chen, F. Castaneda, Z.-A. Cao, J. Li, D. Minor, Q. Ben et al., “Sonic: Supersizing motion tracking for natural humanoid whole-body control,” arXiv preprint arXiv:2511.07820, 2025.
[2] X. Cheng, Y. Ji, J. Chen, R. Yang, G. Yang, and X. Wang, “Expressive whole-body control for humanoid robots,” arXiv preprint arXiv:2402.16796, 2024.
[3] T. He, Z. Luo, X. He, W. Xiao, C. Zhang, W. Zhang, K. Kitani, C. Liu, and G. Shi, “Omnih2o: Universal and dexterous human-to-humanoid whole-body teleoperation and learning,” arXiv preprint arXiv:2406.08858, 2024.
[4] Z. Chen, M. Ji, X. Cheng, X. Peng, X. B. Peng, and X. Wang, “Gmt: General motion tracking for humanoid whole-body control,” 2025. [Online]. Available: https://arxiv.org/abs/2506.14770
[5] Y. Ze, Z. Chen, J. P. Araujo, Z. ang Cao, X. B. Peng, J. Wu, and C. K. Liu, “Twist: Teleoperated whole-body imitation system,” 2025. [Online]. Available: https://arxiv.org/abs/2505.02833
[6] N. Mahmood, N. Ghorbani, N. F. Troje, G. Pons-Moll, and M. J. Black, "Amass: Archive of motion capture as surface shapes," in Proceedings of the IEEE/CVF international conference on computer vision, 2019, pp. 5442–5451.
[7] F. G. Harvey, M. Yurick, D. Nowrouzezahrai, and C. Pal, “Robust motion in-betweening,” ACM Transactions on Graphics (TOG), vol. 39, no. 4, pp. 60–1, 2020.
[8] J. Li, J. Wu, and C. K. Liu, “Object motion guided human motion synthesis,” ACM Transactions on Graphics (TOG), vol. 42, no. 6, pp. 1–11, 2023.
[9] Bones Studio, “BONES-SEED: Skeletal everyday embodiment dataset,” https://huggingface.co/datasets/bones-studio/seed, 2026, announced at GTC 2026. Dataset for humanoid robotics containing 142,220 annotated human motion sequences.
[10] M. Gleicher, “Retargetting motion to new characters,” in Proceedings of the 25th Annual Conference on Computer Graphics and Interactive Techniques (SIGGRAPH), 1998, pp. 33–42.
[11] Y. Yan, E. V. Mascaro, and D. Lee, “Imitationnet: Unsupervised human-to-robot motion retargeting via shared latent space,” in 2023 IEEE-RAS 22nd International Conference on Humanoid Robots (Humanoids). IEEE, 2023, pp. 1–8.
[12] J. P. Araujo, Y. Ze, P. Xu, J. Wu, and C. K. Liu, “Retargeting matters: General motion retargeting for humanoid motion tracking,” arXiv preprint arXiv:2510.02252, 2025.
[13] ProtoMotions Developers, “Retargeting with PyRoki,” https://protomotions.github.io/tutorials/workflows/retargeting-pyroki.html, 2025.
[14] C. Tessler, Y. Kasten, Y. Guo, S. Mannor, G. Chechik, and X. B. Peng, “ProtoMotions: Learning reusable prototypical motions for humanoids,” https://github.com/NVLabs/ProtoMotions, 2024.
[15] T. Howell, N. Gileadi, S. Tunyasuvunakool, K. Zakka, T. Erez, and Y. Tassa, “Predictive sampling: Real-time behaviour synthesis with mujoco,” arXiv preprint arXiv:2212.00541, 2022.
[16] C. Pan, C. Wang, H. Qi, Z. Liu, H. Bharadhwaj, A. Sharma, T. Wu, G. Shi, J. Malik, and F. Hogan, “Spider: Scalable physics-informed dexterous retargeting,” arXiv preprint arXiv:2511.09484, 2025.
[17] Z. Luo, J. Cao, K. Kitani, W. Xu et al., “Perpetual humanoid control for real-time simulated avatars,” in Proceedings of the IEEE/CVF International Conference on Computer Vision, 2023, pp. 10895–10904.
[18] L. Yang, X. Huang, Z. Wu, A. Kanazawa, P. Abbeel, C. Sferrazza, C. K. Liu, R. Duan, and G. Shi, “Omniretarget: Interaction-preserving data generation for humanoid whole-body loco-manipulation and scene interaction,” in 2026 IEEE International Conference on Robotics and Automation (ICRA), 2026, pp. 11691–11698.
[19] A. Wächter and L. T. Biegler, “On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming,” Mathematical programming, vol. 106, no. 1, pp. 25–57, 2006.
[20] P. E. Gill, W. Murray, and M. A. Saunders, “SNOPT: An SQP algorithm for large-scale constrained optimization,” SIAM Review, vol. 47, no. 1, pp. 99–131, 2005.
[21] K. Zakka, “Mink: Python inverse kinematics based on MuJoCo,” 2026. [Online]. Available: https://github.com/kevinzakka/mink
[22] C. M. Kim, B. Yi, H. Choi, Y. Ma, K. Goldberg, and A. Kanazawa, "Pyroki: A modular toolkit for robot kinematic optimization," in 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 2025, pp. 1312–1319.
[23] B. Stellato, G. Banjac, P. Goulart, A. Bemporad, and S. Boyd, “Osqp: An operator splitting solver for quadratic programs,” in 2018 UKACC 12th international conference on control (CONTROL). IEEE, 2018, pp. 339–339.
[24] M. Diehl, H. G. Bock, and J. P. Schlöder, “A real-time iteration scheme for nonlinear optimization in optimal feedback control,” SIAM Journal on control and optimization, vol. 43, no. 5, pp. 1714–1736, 2005.
[25] M. Posa, C. Cantu, and R. Tedrake, “A direct method for trajectory optimization of rigid bodies through contact,” The International Journal of Robotics Research, vol. 33, no. 1, pp. 69–81, 2014.
[26] Z. Manchester and S. Kuindersma, “Variational contact-implicit trajectory optimization,” in Robotics Research: The 18th International Symposium ISRR. Springer, 2019, pp. 985–1000.
[27] V. Dhedin, I. Taouil, S. Omar, D. Yu, K. Tao, A. Dai, and M. Khadiv, "Dynaretarget: Dynamically-feasible retargeting using sampling-based trajectory optimization," arXiv preprint arXiv:2602.06827, 2026.
[28] J. Nocedal and S. J. Wright, Numerical optimization. Springer, 2006.
[29] R. Grandia, F. Jenelten, S. Yang, F. Farshidian, and M. Hutter, "Perceptive locomotion through nonlinear model-predictive control," IEEE Transactions on Robotics, vol. 39, no. 5, pp. 3402–3421, 2023.
[30] L. Armijo, “Minimization of functions having lipschitz continuous first partial derivatives,” Pacific Journal of mathematics, vol. 16, no. 1, pp. 1–3, 1966.
[31] J. Carpentier, G. Saurel, G. Buondonno, J. Mirabel, F. Lamiraux, O. Stasse, and N. Mansard, “The pinocchio c++ library: A fast and flexible implementation of rigid body dynamics algorithms and their analytical derivatives,” in 2019 IEEE/SICE International Symposium on System Integration (SII). IEEE, 2019, pp. 614–619.
[32] J. A. Andersson, J. Gillis, G. Horn, J. B. Rawlings, and M. Diehl, "Casadi: a software framework for nonlinear optimization and optimal control," Mathematical Programming Computation, vol. 11, no. 1, pp. 1–36, 2019.
[33] Q. Liao, T. E. Truong, X. Huang, Y. Gao, G. Tevet, K. Sreenath, and C. K. Liu, “Beyondmimic: From motion tracking to versatile humanoid control via guided diffusion,” arXiv preprint arXiv:2508.08241, 2025.
[34] K. Zakka, Q. Liao, B. Yi, L. L. Lay, K. Sreenath, and P. Abbeel, "mjlab: A lightweight framework for gpu-accelerated robot learning," arXiv preprint arXiv:2601.22074, 2026.