AdjointMimic: Hybrid Physics-Neural Adjoints for Generalizable Musculoskeletal Motion Imitation

Pingchuan Ma, Yifan Li, Zhi Tu, Mayank Darbari, Zhen Tan, Liang WuarXiv 2026

TL;DR

Teaching musculoskeletal humanoids—simulated bodies powered by dozens or hundreds of muscles—to move like humans is notoriously difficult because many muscles pull on far fewer joints, creating a massive, underdetermined control problem. AdjointMimic solves this by combining the best of both worlds: it runs a real physics simulator forward to keep contacts exact, keeps the cheap-to-compute physical derivatives in the backward pass, and uses a small neural network to approximate only the single expensive Jacobian term that bottlenecks differentiable simulation. The result is a 159% average improvement in generalizing to unseen motions over baselines, at 1.56× to 2.33× lower training cost than full differentiable simulation.

What Problem Does This Paper Address?

If you want a simulated humanoid with realistic muscles to imitate human motion, you have three main options, each with a catch:

  1. Zeroth-order Reinforcement Learning (RL): Works, but requires huge amounts of simulator interaction.
  2. Learned World Models (e.g., SuperMimic): Train a neural network to predict the next state, then backpropagate through it. This is fast, but policies trained this way often ace the training motions and faceplant on unseen ones. Why? Because world models are trained to predict states, not derivatives. In a musculoskeletal body—where, say, 80 muscles control just 14 joint degrees of freedom—there is a 66-dimensional "null space" where different muscle activations produce the exact same joint movement. A world model can predict trajectories accurately while returning biased gradients that fail to generalize.
  3. Differentiable Simulators (e.g., NablaMimic): Compute exact gradients directly through the physics engine. They generalize much better, but differentiating through repeated muscle, rigid-body, and contact dynamics is painfully slow.
Figure 1. (a) Policies optimized through learned dynamics per- form well on seen motions but generalize poorly to unseen mo- tions. (b) (Top): Differentiable simulation provides better general- ization at substantially higher cost, (Bottom): with the expensive residual ∆Jq dominating the backward computation.

As shown in Figure 1, the authors found that the backward pass of a differentiable simulator is dominated by a single term: the configuration-dependent residual $\Delta \mathbf{J}_q$ of the position Jacobian.

Methods

Instead of choosing between fast-but-biased world models and accurate-but-slow differentiable simulators, AdjointMimic introduces a hybrid physics–neural adjoint method:

  • Exact Forward Pass: It runs the actual MJX physics simulator forward. Contact-rich dynamics are so sensitive that even tiny trajectory errors from a learned world model can alter contact forces and ruin the resulting gradients.
  • Physics-Preserved Backward Pass: In the backward pass, it keeps all the cheap, known physical derivatives—muscle dynamics, force and velocity Jacobians, and the efficiently computable part of the position Jacobian ($\mathbf{J}_q^{\text{phy}}$).
  • Neural Residual Correction: It replaces only the expensive residual $\Delta \mathbf{J}_q$ with a 3-layer MLP ($C_\phi$) trained online alongside the policy.
  • Adjoint-Weighted Learning: Rather than training $C_\phi$ to minimize element-wise error on $\Delta \mathbf{J}_q$, the authors note that $\Delta \mathbf{J}_q$ only affects the policy gradient through its projection onto the incoming adjoint $\boldsymbol{\mu}$. They therefore train $C_\phi$ with an adjoint-weighted objective that prioritizes accuracy along the cotangent directions actually exercised during backpropagation.

Datasets

The authors evaluate AdjointMimic on two redundantly actuated musculoskeletal humanoid benchmarks:

  • MyoLegs (from KINESIS): 80 muscles actuating 14 independent joint degrees of freedom, using 1,054 motion clips.
  • MyoFullBody: Scales up to 354 muscle actuators, using 953 motion clips.

In both benchmarks, running and three left-turning motions are held out for testing—evaluating generalization to unseen gait patterns and unseen movement directions (with right-turning counterparts kept in training), respectively.

Key Insights and Ideas

  • Forward accuracy $\neq$ gradient accuracy: Learned world models place 25–37% of their action gradients into the 66-dimensional muscle-force null space, leading to large generalization gaps. Simulator-derived and hybrid gradients place 1% or less in the null space.
  • You can't shortcut the forward pass: Even if you compute physics-based adjoints along a learned world model's predicted trajectory, small state discrepancies change active contacts and constraint geometry, causing large gradient errors.
  • Targeted learning beats full-model learning: By isolating $\Delta \mathbf{J}_q$ and weighting its loss by the incoming adjoint, a lightweight MLP can recover near-exact policy gradients without having to learn the entire physics engine.

Key Results

  • Generalization: Across both benchmarks, AdjointMimic improves unseen motion success rate by 159% over all baselines on average (+127.1% on MyoLegs, +190.7% on MyoFullBody).
  • On MyoLegs, it achieves 70.74% Running SR and 43.59% Turning SR (vs. 15.19% and 30.91% for SuperMimic).
  • On MyoFullBody, it achieves 77.08% Running SR and 47.55% Turning SR (vs. 19.17% and 28.92% for SuperMimic).
  • Efficiency: Compared with full differentiable simulation (NablaMimic), AdjointMimic achieves comparable generalization while cutting training cost by 2.33× on MyoLegs (4.98 vs. 11.58 GPU hours) and 1.56× on MyoFullBody (46.40 vs. 72.50 GPU hours).
  • Ablations: Removing the learned residual drops test success rate on MyoLegs by 25.00%, and removing the adjoint-weighted objective drops it by 4.63%.

Limitations and Future Work

While AdjointMimic is substantially faster than full differentiable simulation, it still relies on running the physical simulator forward and collecting Jacobian-residual labels online, making it more expensive than pure learned-dynamics methods (e.g., 46.40 GPU hours on MyoFullBody vs. 5.15–9.58 GPU hours for world-model baselines). The paper does not include a dedicated limitations or future-work section beyond this trade-off.

Summary updated

BibTeX
@misc{ma2026adjointmimic,
  author = {Pingchuan Ma and Yifan Li and Zhi Tu and Mayank Darbari and Zhen Tan and Liang Wu},
  title = {{AdjointMimic: Hybrid Physics-Neural Adjoints for Generalizable Musculoskeletal Motion Imitation}},
  year = {2026},
  eprint = {2612.00517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00517},
}
Figure