Skip to main content

∇PO: Ultra-Efficient Policy Optimization
Through Environment Gradients

Many tasks. Minutes each.
All trained with ∇PO and the NablaEngine differentiable simulator, on one GPU.

Paper Project page NablaEngine License

Nine tasks trained with ∇PO, each with its training time: joystick + motion tracking 11 min, motion tracking 5 min, velocity tracking 3 min, BONES-SEED tracking 12.4 min, multi-terrain traversal 5.6 min, humanoid-object interaction 3.2 min, climb with hands 2.8 h, approach, sit, stand up 3.8 h, climbing stairs with a depth camera 32 min

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

LAFAN1 return against training time for ∇PO, InstantTrack, SuperMimic and PPO: ∇PO reaches 0.866 in 4.4 minutes, 41× faster than SuperMimic's reported 3 hours and 7.5× faster than InstantTrack

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

BONES-SEED failed motions against training minutes: ∇PO has 1.4× fewer failed motions than BlinkMimic 2 at 12.6 min (16.5 vs 22.5), is more than 14× faster than SuperMimic and 1.2× faster than BlinkMimic 2 as reported

The full BONES-SEED library, each motion played to the end in MuJoCo Warp; failed: motions with a fall. Lines: median over seeds; bands: the middle half. Minutes on one RTX PRO 6000 (∇PO trained on a B300, converted at the measured time per update). BlinkMimic 2: its code and released configuration, 3 seeds; reported: from its README. SuperMimic: read from its paper's figures. Multipliers: project page. BONES-SEED data scripts and training configuration: coming in 0.1.1.

🎛️ Not just humanoids: 16 control benchmarks

Sixteen DeepMind Control and Brax tasks on one V100: minutes to 80% of peak return for ∇PO and PPO on every task; 16 of 16 reach 80% of peak return faster than PPO, 14 of 16 highest final return, 16 of 16 ahead of SHAC

Minutes: V100 training time until the median seed reaches 80% of the best mean final return among single-configuration methods. Final return: mean over seeds of 10 deterministic episodes in the original simulator. Some tasks use settings tuned from the unified recipe. All methods trained in NablaEngine; SHAC and AHAC with their published settings.

📄 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)

Source distribution for nablapo 0.1.0
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)

Table of built distributions (wheels) for nablapo 0.1.0
File Interpreter ABI Platform Actions
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 log

Release 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 log

Security 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.

Select from 2 files

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 log

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page