The Nablagradient Mimic is all you need.

Whole-body humanoid motion tracking, learned from exact simulator gradients.

One GPU.
Ultrafast training.

Training time to reach it

Policy updates to reach it

to reach return

Full-clip return over all 40 LAFAN1 clips; after a fall the rest of the clip scores zero. ∇Mimic: the current recipe, 3 seeds. PPO: BeyondMimic's configuration, 3 seeds; "on MuJoCo Warp" scales the same runs by the measured time per iteration. InstantTrack v1.4 and SuperMimic (official code): 3 seeds each. All trained on one RTX PRO 6000 and scored the same way. The two middle levels are SuperMimic's reported 3-hour score and InstantTrack's plateau.2

Clips with a fall, out of 40.

Each clip is a full LAFAN1 take, 220 seconds long on average.

/40

1 minute

/40

3 minutes

0/40

minutesevery seed

0/40

after minutesevery checkpoint

The paper's recipe, 5 seeds, mean over seeds. From minutes on, no seed has a fall.

Scaling up

129,418 motions, 263 hours.
Learned in 12 minutes.

BONES-SEED holds 107× the motion of LAFAN1. One policy tracks all of it: every one of six seeds is below 20 failed motions within 12.4 minutes.5

1.4×fewer failed motions than BlinkMimic 2at 12.6 min: 16.5 vs 22.5fewer fails, 12.6 min
>14×faster than SuperMimic25 failed after 3 hpaper, 3 h
1.2×faster than BlinkMimic 2as reported: 15.5 minas reported

We use a hybrid method here: a learned world model picks what to practice, and NablaEngine’s exact gradients teach the policy.

A blind policy, 30 seconds of dance.
5 cm off at the end.

The policy never observes where it is relative to the reference. With the reference drawn on top of the robot, every centimetre of drift shows. PPO, trained 6 hours, ends 1.9 m away.

∇Mimic, trained 83 minutes
Anchor drift
Body motion error
PPO, trained 6 hours on NablaEngineabout 17 hours on MuJoCo Warp (estimated)
Anchor drift
Body motion error

Anchor drift: the robot's torso against the reference torso. Body motion error: mean position error of 14 tracked bodies.

Training time

Under 5 minutes on one GPU,
and you have a policy.

See the demos ›

Accelerating the scaling of humanoid foundation models.

More tasks, all trained through environment gradients.

∇Mimic is one application of ∇PO. The same method, on the same NablaEngine differentiable simulator, trains these skills in minutes on one GPU.

5.6 min · Multi-terrainTen terrain types at ten levels, from a height scan.
3.2 min · Box liftWalk to a 2 kg box, lift it and carry it.
11 min · Joystick + motion trackingOne policy walks on gamepad commands and switches into motion clips.
32 min · Stairs, depth cameraDistilled from a ∇PO teacher; climbs spiral and straight stairs.

Explore ∇PO ›

∇Mimic uses no world-model gradients.
It learns from the simulator's exact gradients.

Exact gradients carry rich information, but are hard to tame.

Prior gradient-based RL methods stall.

Methods that learn directly from simulator gradients cannot handle the real gradient signal of a full humanoid: the gradients explode.

× SHAC's gradient guard stops training. "Patched": the same SHAC with exploding updates clipped instead. ∇Mimic: the paper's recipe, 5 seeds.2

How ∇Mimic tames exact gradients:

Gradients through 64 steps.

∇Mimic backpropagates the return through 64 simulated steps (1.28 s of motion) at a time and bootstraps the rest with a learned critic.

Tame the tails.

Contact gradients are heavy-tailed: a few environments dominate the batch. ∇Mimic clips each sample's action gradient relative to the batch median.

Gradient-derived targets.

Gradients become target actions of a fixed size; the policy regresses onto them, so the update no longer depends on the gradient's scale.

Read the paper ›

∇Mimic is ∇PO applied to motion tracking. See ∇PO on other tasks ›

Super stable RL training.

Five seeds, one curve.

No world-model gradients.

How can it be so fast?

Introducing NablaEngine

We reimplement the dynamics of MuJoCo and MuJoCo Warp on the GPU with one warp per world and fused kernels, and compute the gradient of a whole control step in a single megakernel. Specialized for the Unitree G1, the first robot it supports.1

Check the speed-up on your GPU.

One control step (20 ms) for 4096 G1 environments with all 502 contact pairs. MJX (Menagerie G1) and Isaac Lab use their own G1 models; Isaac Lab's default has 3 box colliders and no self-collision. MuJoCo C: float64 on a 16-thread CPU, the same on every tab.1

Forward dynamics + backpropagation

Natively differentiable.

And still faster.

One megakernel per step: 2.3 million humanoid steps per second with gradients on an RTX PRO 6000.

One control step and its gradient. MuJoCo Warp has no released backward pass; its adjoint comes from an open pull request.4

Even slow PPO trains faster.

The same PPO algorithm, with different simulators:

Time per PPO iteration (4096 environments × 24 steps, plus 20 gradient steps) on one RTX PRO 6000.

Fast. Without Compromise.

Full articulated rigid-body dynamics with MuJoCo's constraint-based contact model: no penalty springs, no simplified contact geometry. All 502 contact pairs, self-collision included, pyramidal friction cones, joint and actuator force limits, solved by Newton's method with implicit integration, as in MuJoCo.

Forward error against float64 MuJoCo, the reference C implementation, solved to convergence. Median over 16,384 held-out states. Lower is better.3

Bitwise identical, run after run.

3.1×10⁻⁷

MuJoCo Warp against itself: the same inputs, run twice.

0

NablaEngine against itself: bitwise identical, every run.

MuJoCo Warp accumulates contacts, constraint rows and forces with GPU atomic operations, so the order of floating-point additions, and with it the float32 rounding, changes from run to run.

Not just the forward pass.
The gradients are exact too.

Gradient error against float64 central finite differences of the converged MuJoCo step, per input block. Median over held-out states. Lower is better.3

Error of the derivativec⊤ ∂xt+1 / ∂qtc⊤ ∂xt+1 / ∂q̇tc⊤ ∂xt+1 / ∂atwhere xt+1 = f(qt, q̇t, at).

f: the simulator's dynamics over one control step; x = (q, q̇). c: a random direction.

MuJoCo C: its own finite differences (step 10⁻⁶). The floor is where the float64 reference itself stops agreeing (about 10⁻⁷). MJX: forward-mode Jacobian. MuJoCo Warp: the adjoint from an open pull request. Genesis: gradient with respect to the initial velocity only.3

One gradient, component by component.

The velocity gradient of one representative held-out state: each engine's error against the float64 reference, per component. Hover a column for the joint name.

Same updates. Same return.

…but faster.

The same algorithm, ∇Mimic, trained on two simulators: NablaEngine and the MuJoCo Warp adjoint.

Mean ± sd of 3 seeds on each simulator. Same hyper-parameters, same GPU (RTX PRO 6000).

Inside NablaEngine

What it simulates.

Full rigid-body dynamics

Constraint-based contact as in MuJoCo, implicit integration, joint and actuator limits.

Every contact pair

All 502 contact pairs, self-collision included.

Multi-terrain

Heightfields, stairs and box obstacles with a height scan. ∇PO trains one policy across ten terrains in 5.6 minutes (code: NablaPO).

Comparison with other differentiable simulators.

✓ supported   ◐ partial   ✗ no.

Partial: Brax differentiates through an iterative surrogate solve; Genesis's differentiable mode has an approximate integrator and a subset of contact features.

A differentiable simulator that works out of the box.

from nablaengine import jax_ffi

# one control step: advance 20 ms of simulated time (4 × 5 ms substeps)
qpos1, qvel1, warm1 = jax_ffi.step(qpos, qvel, warm, ctrl, friction, com)
loss = lambda ctrl: (jax_ffi.step(qpos, qvel, warm, ctrl, friction, com)[1] ** 2).sum()
g = jax.jit(jax.grad(loss))(ctrl)                                         # analytic adjoint

Drop-in for JAX and PyTorch.

jax.jit, jax.grad, jax.vjp and lax.scan rollouts; torch autograd, CUDA graphs and torch.compile. The same results from both, bit for bit. Any batch size.

Ready in seconds.

One setup script; the CUDA library compiles once on first use, in about 15 s, and is cached.

Runs on the GPUs you have.

Measured on RTX 5090, RTX PRO 6000, B300 and H100; also runs on V100 and RTX 3090. CUDA 12, compute capability 7.0+.

Get NablaEngine ›

Learning the same dance.

One policy for all 40 clips, after 1, 5, 17 and 78 minutes of training with the paper's recipe.

Grey: the simulated robot; blue: the reference motion. The same 28 seconds of one LAFAN1 dance, from one seed's checkpoints.

What PPO can't learn
in 6 hours, ∇Mimic
learns in 1 minute.

∇Mimic, trained 1 minute
PPO, trained 6 hours on NablaEngineabout 17 hours on MuJoCo Warp (estimated)

Grey: the simulated robot; blue: the reference motion, beside the robot. PPO: BeyondMimic's configuration. Both start from the same frame.

Trained in simulation.
Runs on a real G1.

Walk and turn
Dance 1
Dance 2
Dance 3
Punch and kick

One

policy for every motion

0

falls in 7 trials over 5 LAFAN1 clips

No finetuning

deployed straight from simulation, with no real-world data

One ∇Mimic policy trained only in simulation, on a 29-DoF Unitree G1 with a slack safety strap. Backgrounds blurred.

Questions

Are the simulator timings like for like?

NablaEngine, MuJoCo Warp, its gradient and the "MJX 3.17" row run the same G1 model with all 502 contact pairs. Isaac Lab and the Menagerie-G1 MJX row run their own G1 setups in their standard configurations. Those rows show the time a practitioner pays per control step. Speedups are always within one GPU.

What does "exact gradient" mean?

The analytic gradient of the discrete simulation step, with the step's discrete decisions (contact set, active constraints, actuator clamps) held fixed. In exact mode it matches float64 finite differences.

How does ∇Mimic compare with world-model methods?

The results section of the paper compares ∇Mimic with world-model methods.

Which robots does NablaEngine support?

The Unitree G1: free base and 29 actuated joints, 31 bodies, 502 contact pairs among capsules, spheres and the floor.

Citation

∇Mimic: Ultra-Efficient Humanoid Control with Differentiable Simulation

Weyl Lu   Yubei Chen

UC Davis

@article{lu2026nablamimic,
  title   = {$\nabla$Mimic: Ultra-Efficient Humanoid Control with Differentiable Simulation},
  author  = {Lu, Weyl and Chen, Yubei},
  journal = {arXiv preprint arXiv:2610.41654},
  year    = {2026}
}

∇Mimic is pronounced “Nabla-Mimic”.