DynaRetarget: Dynamically-Feasible Retargeting using Sampling-Based Trajectory Optimization

Victor Dhedin, Ilyass Taouil, Shafeef Omar, Dian Yu, Kun Tao, Angela Dai, Majid Khadiv

TL;DR

DynaRetarget is a novel pipeline that transforms imperfect human motion captures into physically feasible trajectories for humanoid robots. By using an incremental Sampling-Based Trajectory Optimization (SBTO) that gradually expands its planning horizon, the system overcomes the "short-sightedness" of traditional controllers, enabling robots to perform complex loco-manipulation tasks like kicking, lifting, and handovers with double the success rate of previous state-of-the-art methods.

What Problem Does This Paper Address?

Humanoid robots are notoriously difficult to program for "loco-manipulation"—tasks where the robot must move its body while simultaneously interacting with objects. A common shortcut is retargeting: taking human motion data (MoCap) and mapping it onto a robot.

However, simple kinematic retargeting (matching joint angles) often fails because it ignores physics. A robot might appear to "skate" across the floor, or it might "teleport" its hands through an object without actually grasping it. While Reinforcement Learning (RL) can help, it requires tedious "reward shaping" for every new motion. Existing physics-based optimizers (like SBMPC) are often "myopic"—they only look a fraction of a second ahead, causing them to fail on long-horizon tasks where an early mistake (like a slight slip) makes the final goal impossible.

Methods

The authors introduce a multi-stage pipeline:

  1. Kinematic Retargeting: Initial mapping of human motion to the robot using Inverse Kinematics (IK).
  2. Dynamic Refinement (SBTO): This is the core innovation. Instead of optimizing the whole 10-second trajectory at once (which is computationally overwhelming) or using a tiny sliding window (which is myopic), SBTO incrementally grows the horizon. It optimizes the first 0.25s, then uses that as a "warm start" to optimize the first 0.5s, and so on, until the full trajectory is physically consistent.
  3. RL Training: The refined, physically-feasible trajectories are used as "reference motions" to train a robust RL policy (using PPO) that can handle real-world disturbances.
  4. Sim2Real: The policy is deployed zero-shot onto a real Unitree G1 humanoid robot.

The SBTO uses the Cross-Entropy Method (CEM), a derivative-free optimizer that "samples" many possible movements in the MuJoCo physics engine and keeps the best ones to refine the search.

Datasets

  • OmniRetarget Dataset: The authors used this dataset containing hundreds of motions of a G1 humanoid interacting with a box (pick-and-place, kicking, pushing, dragging).
  • Evaluation Set: 285 distinct motions from the dataset were used to benchmark the system against baselines.

Key Insights and Ideas

  • The "Effective Horizon" is Key: The researchers found that early movements (like the start of a kick) need to be optimized while "looking" several seconds into the future. SBTO allows the first few "knots" of a movement to be refined based on what happens much later in the trajectory.
  • Overcoming Myopia: Traditional MPC-style retargeting is greedy; once it executes a move, it can't go back and fix it. SBTO’s incremental approach allows the optimizer to "re-think" early actions as the horizon expands.
  • Generalization via Physics: Because SBTO understands mass and friction, a single human demonstration of moving a light box can be automatically "re-targeted" to move a heavy box, a chair, or a shelf. The physics engine handles the necessary adjustments in posture and force.

Key Results

  • Superior Success Rate: DynaRetarget achieved a 74.6% success rate in retargeting complex motions, nearly doubling the 37.9% achieved by the previous state-of-the-art (SPIDER).
  • Smoother Motion: The trajectories produced were significantly smoother (1.7 vs 3.4 on a smoothness metric), which is critical for preventing hardware damage on real robots.
  • Robustness: RL policies trained on DynaRetarget data converged faster and achieved higher rewards than those trained on raw kinematic data.
  • Real-World Deployment: The authors demonstrated the G1 robot performing diverse tasks—kicking a box, lifting it, and handing it over—all transferred directly from simulation.

Limitations and Future Work

  • Computational Cost: Because SBTO performs rollouts from the initial state repeatedly as the horizon grows, it is computationally expensive. It currently takes about 1 minute of compute for every 1 second of motion on a high-end 112-core server.
  • Dense Cost Functions: The method currently relies on a "dense" cost function (the robot needs to know its target state at every timestep). It might struggle with "sparse" tasks where only the final goal is known.
  • Future Directions: The authors suggest exploring multi-modal sampling (allowing the robot to find different ways to achieve the same goal) and bypassing the IK step entirely by retargeting human keypoints directly into the SBTO framework.

Summary updated

BibTeX
@misc{dhedin2026dynaretarget,
  author = {Victor Dhedin and Ilyass Taouil and Shafeef Omar and Dian Yu and Kun Tao and Angela Dai and Majid Khadiv},
  title = {{DynaRetarget: Dynamically-Feasible Retargeting using Sampling-Based Trajectory Optimization}},
  year = {2026},
  eprint = {2602.06827},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.06827},
}
Figure