nablaMimic: Ultra-Efficient Humanoid Control with Differentiable Simulation
Abstract
Robot policy learning is dominated by zeroth-order methods such as PPO, which treat the simulator as a black box and pay for it with enormous sample counts. First-order policy learning differentiates through the dynamics, but on contact-rich whole-body control its gradients explode. A recent world-model method showed that derivatives can make humanoid motion tracking far more efficient, using surrogate gradients of a learned model. We show that exact gradients of the simulator itself do better, once two obstacles are removed: they contain rare unbounded samples, because contact dynamics is not differentiable everywhere, and they are expensive, because the adjoint has to replay the contact solve. NablaMimic (nablaMimic) bounds these samples with median-relative per-sample gradient clipping at every step of the backward pass, and reuses each simulated window by multistep regression onto gradient-derived action targets. NablaEngine, a differentiable GPU simulation engine for the Unitree G1, removes the cost: it computes MuJoCo's full contact dynamics and the exact adjoint of a whole control step, matching float64 finite differences, 11.8x faster than the available MuJoCo Warp adjoint. Tracking all 40 LAFAN1 clips with one policy on one GPU, NablaMimic reaches 0.866, the score the state-of-the-art world-model method reports after 3 h, in 5.3 minutes; it reaches 0.890, the plateau of an open-source world-model tracker trained in the same physics on the same GPU, in 17 minutes instead of 2.6 h, and levels off at 0.929 with no clip failed. PPO in BeyondMimic's configuration reaches 0.721 after 6 h, a level NablaMimic passes in 1.5 minutes. SHAC stops on exploding gradients within minutes. A NablaMimic policy runs unchanged on a physical Unitree G1. We release NablaEngine and NablaMimic as open-source infrastructure for first-order humanoid policy learning.
Get this paper in your agent:
hf papers read 2610.41654 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 1
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper