# RoboKit: Accelerating Parallel Differentiable Optimization for Robot Learning

Robotics.world

> Open toolkit makes GPU-parallel differentiable optimization fast enough for grasp, rendering, simulation and policy distillation/RL, replacing task-specific solvers across seven benchmarks.

**arXiv**: 2611.20185 · accepted · CORL

**Published**: 2026-11-15

**Authors**: Jianglong Ye, Xuanbin Peng, Conor Mc Gartoll, Changwei Jing, Lai Wei, Jiali Chen, Xueyan Zou, Xiaolong Wang

## AI summary

## Overview

**Research area:** Robotics — GPU-parallel differentiable optimization, robot kinematics, motion retargeting, grasp synthesis, differentiable rendering, and physics-based control, with ties to policy learning (distillation and reinforcement learning).

**Technical level:** Advanced. The paper assumes familiarity with inverse kinematics, trajectory optimization, Gauss-Newton/L-BFGS/MPPI solvers, signed distance fields, and policy distillation.

**Scope (one sentence):** RoboKit is a Warp-based, general-purpose GPU toolkit that unifies parallel multi-seed optimization, accelerated geometry/rendering/physics, and PyTorch-differentiable cost terms to speed up seven robot tasks and to distill optimization into fast policies.

## What This Paper Is About

Classical optimization (inverse kinematics, trajectory optimization, retargeting, grasp synthesis) is used throughout robot learning — during teleoperation, for large-scale data generation, and as supervision for policies — but existing toolkits each cover only part of the problem: CPU IK solvers stay IK-centered, motion planners target collision avoidance, sampling-based MPC frameworks target control alone, and PyRoKi unifies several tasks but is limited to kinematics and primitive geometries.

The goal is a single GPU-accelerated framework that is fast enough to keep pace with scaling, flexible enough to mix solvers and cost terms per task, and rich enough in geometry, rendering and physics to handle contact-rich and physics-in-the-loop tasks. A second goal is to make every cost term differentiable and PyTorch-native, so optimization can be plugged directly into policy learning.

## Key Contributions

1. **A high-performance parallel solver in Warp.** A task-agnostic framework pairing GPU-parallel multi-seed particle sampling with a library of low-level optimizers (first-order gradient descent and Adam, quasi-Newton L-BFGS, Gauss-Newton/Levenberg–Marquardt, and sampling-based MPPI), plus coordinate-format (COO) sparse Jacobian support that Warp lacks natively, so users can pick a solver per task.
2. **Accelerated geometry, rendering and physics.** Hybrid voxel-SDF plus near-surface mesh refinement, coarse-to-fine collision queries using per-link bounding spheres, a resolution pyramid for rendering-based calibration, and coarse-to-fine physics for MPC and RL — extending optimization beyond kinematics to contact-rich and simulation-in-the-loop tasks.
3. **Differentiable operators that plug into learning.** Every cost term is differentiable end to end, supporting a distillation framework with offline supervised learning, online gradient-based learning through the residuals (the solver is never unrolled), and a hybrid of the two.
4. **A unified task-coverage claim.** The paper's Table 1 positions RoboKit as the only listed tool covering hybrid geometry, geometry, rendering, physics, simulation, MPC, IK, trajectory optimization, hand and humanoid retargeting, grasp synthesis, and rendering-based calibration; no other entry covers all of these.

## Main Findings

- **Overall speed:** RoboKit runs 2–60× faster than task-specific baselines across seven tasks, and over 10× faster than PyRoKi on pure kinematic tasks.
- **Batched IK (7-DoF Franka Panda):** At batch 2000, 7.12 ms versus PyRoKi's 86.20 ms, with 99.91% versus 99.89% success. Both use Levenberg–Marquardt, 64 initial seeds refined to 4, and a 16-iteration budget; the authors attribute the gap to removing JAX's per-iteration framework overhead at large batch sizes. At batch 1 the comparison is 0.65 ms (RoboKit) versus 9.08 ms (PyRoKi) and 7.43 ms (cuRobo).
- **Trajectory optimization (Franka, cuRobo benchmark, L-BFGS for both):** 99.65% success versus cuRobo's 99.57%, mean plan time 16.3 ms versus 56.6 ms, and 98th-percentile plan time 40.5 ms versus 214.5 ms, with a shorter joint path (3.131 versus 3.145 rad) and lower max jerk (118.1 versus 146.2 rad/s³) at slightly longer motion time (1.189 versus 1.181 s). The authors note these obstacles are primitive boxes, so the geometry acceleration is not exercised here.
- **Hand retargeting (Shadow Hand):** 1.25 ms per frame, 6.05 mm position error, 99.7% pinch and 92.3% open success — 26.6× faster than PyRoKi (33.19 ms) and lower position error than the single-objective Dex-Retargeting specialists.
- **Humanoid retargeting (Unitree G1, AMASS SFU subset of 44 sequences):** 2.00 ms versus GMR's 7.91 ms (about 4×), with lower MPJPE (8.08 versus 9.26 cm) and lower WA-MPJPE (5.57 versus 9.21 cm).
- **Grasp synthesis (MANO on DexGraspNet):** 4,096 grasps in 2.97 s versus 178.45 s for Dex1B (60× faster), with higher success (46.83% versus 23.63%) and lower penetration (0.70 versus 1.06 mm); Dex1B retains a higher Q1 grasp quality (0.109 versus 0.077).
- **Rendering-based calibration (Panda, EasyHEC benchmark):** On the easy split (10 cm / 15° initial error, no added noise) 1.23 s versus 70.4 s (57× faster), both under 0.3 cm. On the realistic setting (35 cm / 45° error with sensor and calibration noise) RoboKit reaches 1.10 cm in 2.0 s, while EasyHEC does not converge (96.43 cm, 458.5 s).
- **Physics-based dexterous retargeting (five hands, SPIDER comparison):** ADD-AUC rises from 51.3 to 65.8 on OakInk and from 50.3 to 63.7 on GigaHands, running 5.6× and 2.2× faster (109 ms versus 610 ms, 57 ms versus 125 ms per frame); success rises from 59% to 86% on OakInk and 77% to 84% on GigaHands.
- **Distilled policies:** 9–240× faster than the optimizer at competitive accuracy. Trajectory optimization: 0.63 versus 150.61 ms per frame (239×) at 95.90% versus 96.72% success. Hand retargeting: 0.44 ms and *better* accuracy than the optimizer (4.80 versus 7.79 mm). Humanoid retargeting: 0.72 versus 10.86 ms (15×) with a modest accuracy drop. Grasp synthesis: the distilled policy beats UGG, Dex1B and the optimizer on success (71.3%) and penetration (0.18 cm).
- **RL on the same physics:** Training PPO with 4096 parallel environments on mjlab's tasks reaches mjlab's final score 1.3–2.1× sooner; for example Go1 Flat takes 3.2 minutes to 95% of mjlab's score versus 7.6 minutes.
- **Ablations:** Replacing Warp with PyTorch kernels slows Franka IK 77× (1.82 to 139.59 ms) and numerical Jacobians 10× (17.93 ms), both at 100% success; removing multi-seed sampling saves little time (1.64 ms) but drops success to 72.6%. Training offline on unfiltered solver output gives 23.83% grasp success versus 57.91% with simulation-based filtering. Mesh-BVH SDF queries take 16.61 s for the grasp batch versus 2.97 s for the voxel SDF (about 5.6×) at comparable success.
- **Online vs offline distillation:** Pure online distillation wins on the simpler hand-retargeting task (2.71 mm position error with direct gradient versus 4.71 mm offline), but pure online training diverges on grasp synthesis, where offline warm-up plus online fine-tuning is best (65.48% success versus 57.91% offline).

## Methodology in Plain English

RoboKit represents each problem as a set of variables — joint angles over time, plus Lie-group poses and auxiliary quantities like scale factors for retargeting — and a sum of squared residual terms, such as pose matching, joint limits, collision, smoothness, force closure and contact. Everything is written in Warp, NVIDIA's GPU programming framework, so thousands of problem instances run at once.

Rather than relying on one optimizer, the toolkit throws many random initial guesses at the problem on the GPU and then refines them with whichever optimizer suits the task: Gauss-Newton for IK, L-BFGS for trajectory optimization, MPPI for physics rollouts. Expensive pieces are made cheap by exploiting locality. For geometry, each object gets a precomputed voxel distance field, and only points inside a thin band near the surface (default 4 voxels) are re-queried against the exact mesh, preserving accurate contact normals. For collision, each robot link is wrapped in one bounding sphere so a single broad query can skip an entire link's worth of sphere checks when it is far from the scene. For calibration, rendering starts at low resolution with heavy blur and many seeds, then progressively sharpens and prunes to the best seeds. For physics, early MPC/RL iterations use a coarser scene, larger timesteps and fewer collision pairs.

For learning, the same cost terms become training signals. Offline distillation runs the solver over many task instances, optionally filters out failed or low-quality solutions, and trains a policy by regression. Online distillation backpropagates directly through the differentiable residuals into the policy weights, sampling fresh task instances each iteration without ever unrolling the solver. The recommended recipe is offline warm-up followed by online fine-tuning for hard, contact-rich tasks. RL policies train directly on the parallel simulator using mjlab's rewards, terminations, commands, curricula and observations.

## Why This Matters

**Impact on research.** The paper argues that optimization is still pervasive in robot learning — as a low-level skill, a data-generation engine, a physics-in-the-loop planner, and a source of supervision — and that a fast, unified, differentiable toolkit removes a practical bottleneck. It also provides evidence for *when* a learned policy beats a solver: on hand retargeting the distilled policy actually improves accuracy, while on grasp synthesis filtering and hybrid training are necessary.

**Real-world applications:**

- Real-time dexterous manipulation and teleoperation, where sub-millisecond retargeting policies (0.44 ms hand, 0.72 ms humanoid) replace per-frame optimization.
- Large-scale grasp data generation, with 4,096 grasps synthesized in 2.97 s instead of 178.45 s.
- Hand-eye calibration of real robot arms from rendered silhouettes, converging in 2.0 s where EasyHEC fails on the realistic setting.
- Human-to-humanoid motion retargeting for whole-body teleoperation and imitation, at 2.00 ms per frame versus GMR's 7.91 ms.
- Physics-based hand–object retargeting to train dexterous manipulation policies on five different robot hands.

**Industry relevance.** The toolkit spans IK, motion planning, retargeting, grasping, calibration and physics — a set of capabilities typically assembled from separate libraries (TracIK, pink, mink, TrajOpt, cuRobo, MJPC, PyRoKi). A single Warp/PyTorch-native stack that also trains RL policies on the same simulator is directly relevant to teams building manipulation pipelines, simulation-based data factories, and sim-to-real policy training.

## Future Directions

- **CPU and single-instance performance.** The authors state that kernel-launch overhead dominates for single-instance CPU kinematics, where a C++ solver would be faster — a natural target for a hybrid backend.
- **Graph search for trajectory optimization.** RoboKit has no graph-search stage, a gap the authors note current benchmarks do not stress, but which matters as scenes become more cluttered.
- **Inverse dynamics and richer dynamics operators.** Listed explicitly as missing, which would extend the toolkit from kinematics and sampling-based physics toward torque-level optimization.
- **Broader distillation and RL recipes.** The paper shows the offline/online balance depends on task complexity (online wins on hand retargeting, hybrid is required for grasping), leaving open how to choose or automate this schedule and how far distillation scales to harder contact-rich tasks.

## Target Audience

Robotics researchers and engineers working on manipulation, motion retargeting, grasp synthesis, or calibration who need fast GPU solvers; robot learning researchers who want to use optimization as supervision or as a baseline for policies; and practitioners building simulation-based data-generation or RL pipelines who would benefit from a single PyTorch-native stack covering kinematics, geometry, rendering and physics. Readers without background in optimization or GPU programming will find the system-level framing accessible but the method sections dense.

## Authors’ abstract

We present RoboKit, a high-performance, general-purpose toolkit for parallel differentiable optimization in robotics, built on three principles: (i) Performance and flexibility: GPU-parallel multi-seed solvers pair sampling with versatile optimizers, running 2-60$\times$ faster than task-specific baselines across seven tasks; (ii) Geometry, rendering and physics: hybrid and coarse-to-fine representations accelerate collision, differentiable rendering and simulation,…

[The full abstract on arXiv](https://arxiv.org/abs/2611.20185)

[Read the original paper](https://arxiv.org/abs/2611.20185)

## Related papers

- [HuG: Learning Humanoid Whole-Body Affordance-Aware Grasping with Active Perception](https://robotics.world/paper/hug-learning-humanoid-whole-body-affordance-aware-grasping-with-active-2611.01659) 2026-11-01 · cs.RO · Also by Jianglong Ye, Lai Wei +2
- [ReForce: Learning Force-aware Retargeting for Dexterous Manipulation](https://robotics.world/paper/reforce-learning-force-aware-retargeting-for-dexterous-manipulation-2608.15560) 2026-08-16 · cs.RO · Also by Changwei Jing, Jianglong Ye +1
- [AsymEEF: Bimanual Manipulation with Asymmetric End Effectors](https://robotics.world/paper/asymeef-bimanual-manipulation-with-asymmetric-end-effectors-2611.20557) 2026-11-16 · cs.RO · Also by Jianglong Ye, Xueyan Zou
- [ActiveAlign: Aligning Egocentric Manipulation via Active Perception](https://robotics.world/paper/activealign-aligning-egocentric-manipulation-via-active-perception-2610.36859) 2026-10-27 · cs.RO · Also by Xiaolong Wang
- [Compositional Humanoid Manipulation through Isomorphic Teleoperation and Independent Skill Routing](https://robotics.world/paper/compositional-humanoid-manipulation-through-isomorphic-teleoperation-2610.26169) 2026-10-19 · cs.RO · Also by Lai Wei

---

Canonical: https://robotics.world/paper/robokit-accelerating-parallel-differentiable-optimization-for-robot-2611.20185
