∇PO: Ultra-Efficient Policy Optimization
Through Environment Gradients
Many tasks. Minutes each.
All trained with ∇PO and the NablaEngine differentiable simulator, on one GPU.
Minutes from the first update to each task's success criterion, on one GPU, mean over seeds. GPUs: A100 (joystick + tracking); RTX PRO 6000 or RTX PRO 6000-equivalent time (the others). Criteria: project page.
∇PO (NablaPO, pronounced "Napo") is a first-order policy optimization library: it backpropagates the return through an exact differentiable simulator (NablaEngine or a patched MuJoCo Warp), in JAX.
✨ Highlights
- Fast. One policy for all 40 LAFAN1 clips reaches PPO's 6-hour return in 1.2 minutes on one GPU: 220× faster.
- Scales. One policy tracks all 129,418 motions of BONES-SEED: every one of six seeds is below 20 failed motions within 12.4 minutes.
- Exact gradients. Per-sample gradient clipping and gradient-derived action targets make the simulator's own derivatives usable on contact-rich dynamics.
- One learner, many tasks. Motion tracking, joystick velocity control, joint joystick and tracking, multi-terrain locomotion, humanoid-object interaction and DeepMind Control / Brax tasks, all through one task interface.
- Powered by NablaEngine. 2.3M humanoid steps per second with gradients on one RTX PRO 6000.
- World-model switch.
[wm] mode = "backward"replaces the simulator's derivatives with those of a world model fit online, on every task. - NumPy deployment. A released policy is a weights file and a JSON specification; it runs with NumPy alone.
🏃 ∇Mimic: whole-body motion tracking on LAFAN1
Training time to reach each return level: 220× faster than PPO, 41× faster than SuperMimic's reported 3 hours, 18.7× faster than InstantTrack.
| Return level | ∇PO | InstantTrack | SuperMimic | PPO |
|---|---|---|---|---|
| 0.721, PPO's return after 6 hours | 1.2 min | 1.5 min | 16.1 min | 4.4 h |
| 0.866, SuperMimic's reported 3-hour score | 4.4 min | 33.2 min | 3 h (paper) | not reached |
| 0.890, InstantTrack's plateau | 8.3 min | 2.6 h | not reached | not reached |
| 0.938, ∇PO's plateau | 81.4 min | not reached | not reached | not reached |
Full-clip return over all 40 LAFAN1 clips, scored in MuJoCo Warp; after a fall the rest of the clip scores zero. 3 seeds per method, all trained on one RTX PRO 6000. PPO: BeyondMimic's configuration, plateau 0.782. InstantTrack v1.4 and SuperMimic: official code.
📈 BONES-SEED: 129,418 motions, learned in 12 minutes
🎛️ Not just humanoids: 16 control benchmarks
📄 Paper · 🌐 Project page · ⚙️ NablaEngine
🛠️ Installation
Linux x86_64, an NVIDIA GPU with a CUDA 12 driver, Python 3.12, and the nvcc of a CUDA 12.x toolkit (12.8 or newer
for Blackwell GPUs) for NablaEngine's one-time build.
git clone https://github.com/sailab-ai/NablaPO && cd NablaPO
bash scripts/setup_env.sh # .venv: pinned versions, patched MuJoCo Warp, Menagerie's G1, NablaEngine, nablapo
source .venv/bin/activate
Only the policy loader: pip install nablapo (NumPy only). Details: docs/installation.md.
🚀 Quick start
export XLA_PYTHON_CLIENT_PREALLOCATE=false
nablapo-train configs/bench/default.toml --out runs/cheetah --set task.env=cheetah-run # DeepMind Control
bash scripts/download_lafan1.sh && export LAFAN1_G1_DIR=$PWD/data/lafan1_g1 # LAFAN1 (CC BY-NC-ND 4.0)
nablapo-train configs/demos/tracking_lafan1.toml --out runs/tracking # G1 motion tracking
nablapo-train configs/demos/joystick_early.toml --out runs/joystick # G1 velocity commands
nablapo-eval runs/tracking # evaluate checkpoints -> runs/tracking/eval_*.json
nablapo-export-policy runs/joystick --out release/joystick # actor.npz + policy_spec.json
Options after the config override it (--set run.seed=1); a stopped run continues with nablapo-train --out DIR --resume latest. The demos and their results: docs/demos.md.
🤖 Deployment
import nablapo.policy
pol = nablapo.policy.load("release/joystick") # NumPy only, no simulator
a = pol.act(history, goal) # observation history and goal -> action
q = pol.targets(a) # joint setpoints for the PD controller
The observation layout, PD gains, joint order and control timestep are in policy_spec.json
(docs/policy.md). The released policies (the joystick base and the 16 bench policies) follow in a
later release; src/nablapo/data/models.toml lists them with the sha256 of every file.
📚 Documentation
docs/README.md: installation, configuration, writing a task, each task family, the learner, samplers, WM mode, evaluation, policy format, extensions, and the public API (docs/api.md).
📝 Citation
@article{lu2026nablapo,
title = {$\nabla$PO: Ultra-Efficient Policy Optimization Through Environment Gradients},
author = {Lu, Weyl and Zhu, Gao and Lai, Weijie and Xia, Zaishuo and Chen, Yubei},
journal = {arXiv preprint arXiv:2611.39503},
year = {2026}
}
@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}
}
🙏 Acknowledgments
Policy averaging, residual actions and the structured residual world model of the WM mode (it) with its mirror augmentation follow InstantTrack.
📄 License
Apache License 2.0 (LICENSE, NOTICE); third-party code, models and data: THIRD_PARTY_NOTICES.md.
Metadata
Release files for nablapo 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nablapo-0.1.0.tar.gz | 258.7 kB | With provenance | Details for nablapo-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nablapo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nablapo-0.1.0-py3-none-any.whl |
Total release size: 541.2 kB
Release files / nablapo-0.1.0.tar.gz
| Download URL | nablapo-0.1.0.tar.gz |
|---|---|
| Size | 258.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ed92a97dcf42ed29daa685fd6a03e5c16685a6c02be4819995e61272784b9aa
|
|
BLAKE2b-256 checksum How to use checksums |
61f1e0e4c7aef9c6ee59e1c5032195b4b5fdd6fdc612e2dae9673bc4e8943e42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logRelease files / nablapo-0.1.0-py3-none-any.whl
| Download URL | nablapo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 282.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e412bcc48e58221cd234d5370c60c9d0aa58c919fddfa7886d25397eafabd3b2
|
|
BLAKE2b-256 checksum How to use checksums |
e047eaae794391c64807c1454ba76ac7cb5f6ae7b608085d7a71f4c6da2b4787
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logSecurity for nablapo 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for nablapo-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.