$\nabla$PO: Ultra-Efficient Policy Optimization Through Environment Gradients
Lu et al. in RL & post-training
Can exact physics gradients survive robot contact?
$\nabla$PO: Ultra-Efficient Policy Optimization Through Environment Gradients
NablaPO targets two first-order bottlenecks
PPO avoids simulator derivatives, but whole-body humanoid tracking can take hours on a single GPU.
Backpropagating through contact can be efficient, but rare impacts create enormous gradients and differentiable simulators are slow.
The challenge is to make environment gradients stable and fast.
One contact sample can dominate a batch

Panel a tracks percentile norms across updates; panel b zooms into one batch, where one SHAC sample reaches 2.2×10⁹× the median while 99.9% stay flat. Without per-sample clipping, all 3 earlier residual-action seeds diverged.
From environment gradients to bounded action targets
- 1
Differentiate a window
Backpropagate through a 64-step humanoid window, using a critic bootstrap to get action gradients.
- 2
Clip each sample
Cap each norm at 3× the batch median, so one contact spike cannot rescale other samples.
- 3
Set bounded targets
RMS-normalize clipped gradients into targets with δ=0.03 rad; on the G1, each sample's joint-RMS move stays below about 0.13 rad.
- 4
Reuse the window
Regress the policy toward these fixed targets for eight minibatches, reusing one costly simulator rollout.
Eight regression steps beat one actor update
Appendix absolute-action ablation; 40-clip LAFAN1, 3 seeds, ~1.6 h. Only change: one Adam step vs. eight target-regression minibatches.
NablaEngine speeds up exact contact gradients

Panel a: 20 ms G1 forward step. Panel b: exact one-step gradient (tape + backward) across 4,096 worlds. NablaEngine beats MuJoCo Warp's open adjoint PR by 4.8–5.1× forward and 8.2–11.8× for gradients across four GPUs.
A faster engine is not the whole 200× story
On one RTX PRO 6000, NablaEngine makes PPO iterations 2.9× faster than stock MuJoCo Warp, yet PPO still needs about five hours to reach 0.721.
NablaMimic's return per policy update is nearly the same on both engines, but it reaches that PPO return in 1.5 minutes.
Simulator throughput helps; the first-order update explains the larger training-time gain.
Humanoid tracking moves from hours to minutes

Normalized return vs. time, 40-clip LAFAN1: five-seed NablaMimic hit one PPO seed's 0.721 plateau in 1.5 min (PPO: 5.0 h); it reached 0.890 in 17.2 min versus 155.3 for 3-seed InstantTrack, and plateaued at 0.929±0.002.
The same learner also works across control tasks
Across 12 DeepMind Control and 4 Brax tasks, the timing target is 80% of the best single-configuration mean return; PPO is the baseline.
With per-task settings from a small grid, NablaPO reached that target faster than PPO on 14/16 tasks and led final returns on 13/16; it beat SHAC on 16/16 and AHAC on 15/15.
One fixed configuration was faster on 12/13 timed V100 tasks, compilation included.
Where the evidence stops
Engine scope
NablaEngine targets articulated robots, manipulated objects and standard control tasks, not arbitrary scenes.
Sparse rewards
Before the first non-zero reward, pathwise gradients can be zero; sparse tasks rely on critic bootstrapping or longer windows.
Adjoint edge cases
Training mode modifies backward sensitivities for contacts with core distance below 1 mm and capsule pairs within 2° of parallel.
Hardware sensing
Motion tracking transferred to a physical Unitree G1 without real-world fine-tuning; terrain and object skills remain simulated with height scans or object-state inputs.
Why it matters
- Clip rare contact outliers per sample so one extreme trajectory cannot suppress the rest of the gradient batch.
- For articulated control, reuse costly physics windows by regressing the policy toward normalized, bounded action targets.
- Can terrain and box-interaction policies work with onboard perception instead of simulation-only height-scan and object-state inputs?
8 likes 11 slides, 3 min
4 days ago