Research
Shooting for Contact: Contact-Implicit Multiple Shooting for Dynamic Motion Retargeting
Most motion-retargeting pipelines map human poses onto a robot while preserving kinematic similarity, so the resulting references can contain foot sliding, ground penetration, self-collision, or…

- arXiv
- 2608.03116 · Preprint · not peer-reviewed
- Published
- 2026-08-04
- Authors
- Sergio A. Esteban, Jason H. K. Siu, Derrick Mach, Junheng Li, Vince Kurtz, Joel W. Burdick, Aaron D. Ames
In plain words
Most motion-retargeting pipelines map human poses onto a robot while preserving kinematic similarity, so the resulting references can contain foot sliding, ground penetration, self-collision, or torque demands the robot cannot meet.
AI summary
Overview
Research area: Robotics — whole-body trajectory optimization, contact-implicit motion retargeting, and reinforcement learning for legged humanoids.
Technical level: Advanced. The paper assumes familiarity with rigid-body dynamics, direct multiple shooting, nonlinear programming, differentiable simulation, and reference-tracking RL.
Scope (one sentence): The paper introduces DSMS, a contact-implicit multiple-shooting optimizer that uses a differentiable simulator as its dynamics model to convert kinematically plausible human motion into dynamically feasible whole-body references for a Unitree G1 humanoid, and shows these references improve downstream motion-imitation RL and enable zero-shot hardware execution of contact-rich crawling and a 180-degree jump-turn.
What This Paper Is About
Most motion-retargeting pipelines map human poses onto a robot while preserving kinematic similarity, so the resulting references can contain foot sliding, ground penetration, self-collision, or torque demands the robot cannot meet. When such a reference is handed to a reinforcement learning policy, the policy must simultaneously discover a physically realizable version of the motion and learn to stabilize it, which makes reward tuning hard and success rates low — especially for contact-rich behaviors like crawling or rolling where any body part may bear load.
The paper's goal is to fix the reference before training begins: transform a kinematically feasible trajectory into a dynamically feasible whole-body trajectory from which an RL policy can learn quickly and accurately, without the user prescribing a contact schedule.
Key Contributions
-
A direct simulation-based multiple shooting (DSMS) framework for whole-body dynamics and contact-implicit motion retargeting, in which the discrete transition map of a differentiable simulator (MuJoCo) serves as the dynamics model, so contact, friction, impacts, self-collision, and joint limits are resolved inside the simulator rather than encoded as explicit complementarity or contact constraints.
-
A unified retargeting and gait-synthesis pipeline that converts kinematically feasible trajectories into dynamically feasible references, and that synthesizes command-conditioned periodic gait libraries (closed limit cycles) from a few short motion clips.
-
A numerical study for motion-imitation RL comparing references produced by reduced-order-model optimization, kinodynamic optimization, and full-order DSMS optimization, measuring how each affects downstream policy training and tracking performance.
-
Hardware demonstrations on the Unitree G1: twist-command-conditioned contact-rich crawling (through height-constrained spaces, over rough patches, and uphill on grass) and a highly dynamic 180-degree jump-turn, both transferred zero-shot without real-world fine-tuning.
Main Findings
-
Dynamic feasibility is the decisive factor in the ROM ablation. Starting from a single-rigid-body (SRB) backflip reference refined by inverse kinematics, the trajectory optimized by DSMS landed in 75/75 trials (100% success) with joint error 0.110 ± 0.006 and pose error 0.155 ± 0.041, while both the raw SRB reference and the SRB reference refined by kinodynamic (KD) optimization landed in 0/75 trials (0%). Applying DSMS after KD recovered 72/75 (96.0%), with joint error 0.144 ± 0.016 and pose error 0.253 ± 0.139.
-
Faster RL convergence. On the shared "super hero backflip" reference, the DSMS-optimized trajectory converged fastest, reaching an average reward of 20 in roughly 2000 iterations versus roughly 5000 for its closest competitors — described as a 40-minute wall-clock difference on an Nvidia RTX 4090, against a DSMS optimization time of about 12 minutes.
-
Competitive success and tracking accuracy against existing retargeters. On the same motion, DSMS achieved 74/75 landings (98.7%) with joint error 0.159 ± 0.006 and pose error 0.102 ± 0.046; DynaRetarget also reached 74/75 (98.7%) but with joint error 0.237 ± 0.006 and pose error 0.160 ± 0.077; OmniRetarget reached 7/75 (9.3%) with joint error 0.157 ± 0.001 and pose error 0.095 ± 0.014; the BONES-SEED baseline reached 60/75 (80.0%) with joint error 0.195 ± 0.003 and pose error 0.146 ± 0.027. Errors were computed only over successful landings. The authors describe DSMS as the only method to consistently perform the hero backflip with accurate tracking, and note the lowest pose error belongs to OmniRetarget, whose success rate is far lower.
-
Command-conditioned crawling tracks velocity commands in aggregate. Instantaneous pelvis velocities oscillate strongly with gait phase, but their cycle-averaged values follow the commanded trends in forward velocity, lateral velocity, and yaw rate across one continuous run.
-
Zero-shot sim-to-real transfer succeeded. With randomization of base pushes, center-of-mass offsets, joint-encoder biases, and contact friction, policies transferred directly to the Unitree G1, executing an approximately 180-degree rotation during the jump followed by a stable landing, and steering the crawling controller in real time indoors and outdoors.
-
Qualitative capability comparison. The paper's table credits kinematic feasibility to all four compared methods (OmniRetarget, DynaRetarget, SPARK, and DSMS), whole-body dynamic feasibility to DynaRetarget and DSMS, contact-implicit handling to OmniRetarget, DynaRetarget, and DSMS, and arbitrary equality/inequality constraints to SPARK and DSMS — with DSMS the only method listed with all four.
Methodology in Plain English
The robot's motion is described by a physics engine rather than by hand-written equations of contact. The optimizer splits the motion into N short intervals and lets the simulator roll the robot forward across each one; the decision variables are the robot states at the interval boundaries plus a small number of control points that define the commanded signal through a basis-function expansion. Continuity between intervals is enforced as a defect constraint, and the simulator itself decides when feet, hands, knees, or elbows make or break contact, so no contact schedule is supplied.
The cost asks the optimized trajectory to stay close to the reference in two complementary ways: full state tracking, which resolves kinematic redundancy and regularizes posture, and key-body tracking (feet, hands, pelvis, etc.), which enforces the task-relevant motion in the style of motion-tracking RL rewards. Torque effort is penalized on the realized torque — not the raw command, because the command may be a joint-position target for a PD controller — and command-rate changes are penalized to suppress chatter. Terminal terms are scaled by a factor greater than one. For highly dynamic maneuvers such as backflips and rolls, the same problem is solved in a receding-horizon fashion over a moving window, executing a short segment and replanning.
For crawling, the authors take three motion-capture references (forward crawl, backward crawl, in-place turn) plus a static prone idle pose, and close each into a limit cycle over one gait period by constraining the planar base pose to advance by the commanded displacement while the remaining state returns to its initial value. Because the closure fixes the cycle only up to a planar rigid transformation, the tracking costs anchor it to the original clip. A soft no-slip penalty discourages unnecessary slipping without forbidding the sliding contacts crawling requires. Repeating this over a grid of commanded twists yields a library of command–gait pairs.
A single asymmetric actor–critic policy then tracks this library: the actor sees only deployment-available signals (projected gravity, base angular velocity, joint positions and velocities, previous action, commanded twist, and sine/cosine of gait phase), while the critic additionally sees base linear velocity and the gait reference. The nominal pose is the prone idle posture, so zero action is valid and the policy learns only residual joint-position offsets through a PD controller. Command changes select the nearest gait and blend references at the shared phase without resetting state.
Why This Matters
Better references make better policies. The paper's central empirical claim is that spending computation on making a reference physically consistent before RL training pays off both in convergence speed and in final tracking accuracy — a practical alternative to tuning rewards against a reference the robot cannot actually execute.
Real-world applications:
- Search-and-rescue and inspection in confined spaces: the demonstrated crawling behaviors move the humanoid through height-constrained spaces, rough patches, and uphill grass, where upright walking is impossible.
- Contact-rich athletic maneuvers: the backflip, jump-turn, and side-rolling results point toward legged robots performing dynamic whole-body motions that require ground contact with the arms, knees, and torso.
- Accelerating animation-to-robot pipelines: the gait-library synthesis converts a few short motion clips into a continuous velocity-command interface, reducing the amount of capture data needed to author a locomotion controller.
- Reducing sim-to-real engineering: all demonstrations transferred zero-shot to hardware with domain randomization only, with no real-world fine-tuning.
Industry relevance: the work targets humanoid platforms that already exist commercially (Unitree G1) and uses widely adopted open tools (MuJoCo, IPOPT, PPO), so the pipeline is portable to other legged platforms and does not require a bespoke contact solver. Faster policy convergence and fewer failed motions translate into less compute and less hardware-wear risk for teams deploying learned humanoid controllers.
Future Directions
- Alternative dynamics backends: the authors propose investigating other differentiable simulators and sampling-based optimization methods, noting that MuJoCo does not supply the second-order dynamics derivatives needed for the Lagrangian Hessian, so the current implementation relies on an L-BFGS approximation from first-order gradients.
- Automatic discovery of contact-rich behaviors: extending the framework so that the optimizer finds contact-rich maneuvers rather than being seeded by human motion clips.
- Broader morphology coverage: extending the approach to robot morphologies beyond the humanoid and quadruped examples shown.
- Scalability of the NLP itself: the paper reports an optimization time of roughly 12 minutes for the super hero backflip and uses HSL ma57 to exploit sparsity; how well the formulation scales to longer horizons and richer contact sets remains open.
Target Audience
Robotics researchers and graduate students working on trajectory optimization, contact-implicit methods, motion retargeting, and learning-based humanoid control. It is most useful to engineers who already have an RL motion-imitation stack and want to improve the reference-generation stage, and to readers interested in combining differentiable simulation with nonlinear programming. The dependence on contact-implicit formulations, multiple shooting, and RL reward design means a beginner would need substantial background before the technical sections are accessible.
Authors’ abstract
Motion retargeting approaches often prioritize kinematic similarity over whole-body dynamics, contact consistency, and actuation limits, yielding references that are difficult for reinforcement learning (RL) policies to reproduce, particularly for contact-rich behaviors. We present a contact-implicit, direct simulation-based multiple shooting (DSMS) framework that transforms kinematically feasible references into dynamically feasible whole-body trajectories. By embedding a…
The full abstract on arXivRelated papers
- Towards Probabilistically Safe Reinforcement Learning: Theory and Deployment on Humanoid and Aerial Robots 2026-11-14 · cs.RO · Also by Aaron D. Ames, Jason H. K. Siu +2
- PAC-MAN: Perception-Aware CBF-RL for Whole-Body Safety in Humanoid Dodgeball 2026-07-30 · cs.RO · Also by Aaron D. Ames, Junheng Li
- CSF: Contextual Safety Filtering for Motion Generators 2026-10-08 · cs.RO · Also by Aaron D. Ames, Junheng Li
- Differentiable Contact Dynamics for Legged Locomotion: Policy Learning and Contact-Implicit Trajectory Optimization 2026-10-26 · cs.RO · Key terms of the title in common
- Contact-Implicit Whole-Body Trajectory Optimization for Dynamic Humanoid Locomotion on Parameterizable Uneven Terrain 2026-11-03 · cs.RO · Key terms of the title in common