Inside cuRobo: How GPU-Parallelized Motion Solvers Plan Collision-Free Trajectories in Milliseconds
For over a decade, the default recipe for robotic arm motion planning looked roughly the same: call a sampling-based planner like RRT-Connect inside OMPL/MoveIt, wait anywhere from 300 ms to several seconds for a jagged piecewise-linear path, and then run a post-processing smoother to make it executable without shaking the hardware apart. That latency is tolerable for static pick-and-place cells. It completely breaks down for reactive manipulation, dynamic obstacle avoidance, or high-throughput data generation for robot learning.
cuRobo (Sundaralingam et al., NVIDIA Research, arXiv:2310.17274) flipped that script by asking a hardware-first question: what does motion generation look like if you design every single stage — kinematics, collision geometry, and trajectory optimization — from the ground up to saturate thousands of GPU threads in parallel? The result is collision-free, minimum-jerk trajectories in tens of milliseconds (~60× faster than classical CPU stacks). Here is how that architecture actually works under the hood.

Why Classical Motion Planners Hit a Wall
To see why cuRobo is so fast, look at the two bottlenecks that dominate classical CPU planners:
- Sequential exploration with expensive geometry queries. Sampling-based planners build trees one valid edge at a time, calling mesh-to-mesh collision libraries (like FCL) sequentially. Even when a path is found, it is rarely smooth — requiring separate shortcutting and time-parameterization passes that can re-introduce collisions.
- Local minima in single-seed trajectory optimization. Classical trajectory optimizers (CHOMP, TrajOpt) produce smooth, fast trajectories when initialized well, yet a single gradient-based optimization run routinely gets stuck behind an obstacle in non-convex 7-DoF configuration space.
cuRobo’s central insight is disarmingly clean: trajectory optimization is only brittle when you run one seed. If you can evaluate forward kinematics, collision distances, and gradients for hundreds of candidate trajectories simultaneously on a GPU, you get the global exploration of multi-start search and the smoothness of numerical optimization in one unified pipeline.
The Four Building Blocks of a cuRobo-Style Solver
1. Sphere-Approximated Robots + Differentiable Signed Distance Fields
Exact triangle-mesh collision checking is branch-heavy and awkward to differentiate on a GPU. Instead, cuRobo-style solvers approximate every robot link offline as a tight union of bounding spheres (typically 30–60 spheres for a 7-DoF arm + gripper).
At runtime, collision checking becomes an embarrassingly parallel distance lookup:
- Self-collision: Pairwise Euclidean distance checks between non-adjacent link spheres, fused directly into a single CUDA kernel.
- World collision: Each sphere center $p_k(q) \in \mathbb{R}^3$ queries the environment’s Euclidean Signed Distance Field (ESDF) or analytic primitive set (cuboids, meshes, depth-fused voxel grids) to get both the signed distance $d(p_k)$ and its spatial gradient $\nabla d(p_k)$ in $O(1)$ time.
Penetration cost for sphere $k$ with radius $r_k$ and safety margin $\eta$ is simply a smooth hinge penalty:
\[c_{\text{col}}(p_k) \;=\; \max\!\big(0,\; r_k + \eta - d(p_k)\big)\]Because $p_k(q)$ comes from batched forward kinematics, backpropagating \(\nabla_q c_{\text{col}}\) through the kinematic chain gives smooth, collision-pushing joint gradients across every timestep and every parallel seed simultaneously.
2. Batched Collision-Free Inverse Kinematics
Before planning a trajectory to a Cartesian goal pose $T_{\text{goal}} \in SE(3)$, you need a valid, collision-free goal configuration $q_{\text{goal}}$. Classical IK solvers run one seed at a time and discard colliding solutions. cuRobo runs parallelized IK over dozens or hundreds of quasi-random Halton sequence seeds in one batch, solving pose error + joint limits + sphere collision costs jointly with custom batched L-BFGS / Levenberg-Marquardt updates. Multiple distinct collision-free IK solutions come back in a few milliseconds — giving the trajectory optimizer multiple valid goal configurations to aim for.
3. Two-Stage Parallel Trajectory Optimization: MPPI → L-BFGS
This is the heart of the solver. Given start configuration $q_0$ and candidate goal(s) $q_T$, represent a trajectory as a sequence of $H$ discrete joint waypoints \(\mathbf{q} = (q_1, \dots, q_H)\) (with velocity, acceleration, and jerk computed via finite differences) and minimize a composite cost:
\[J(\mathbf{q}) \;=\; w_{\text{goal}}\, C_{\text{goal}} + w_{\text{col}}\, C_{\text{col}}(\mathbf{q}) + w_{\text{lim}}\, C_{\text{lim}}(\mathbf{q}) + w_{\text{smooth}}\sum_{t=1}^{H}\big(\|\dot{q}_t\|^2 + \|\ddot{q}_t\|^2 + \|\dddot{q}_t\|^2\big)\]Minimizing jerk (\(\|\dddot{q}_t\|^2\)) directly inside the objective is why trajectories come out immediately smooth and hardware-friendly without a messy post-hoc smoother.
To avoid local minima without losing second-order convergence speed, cuRobo runs a two-stage parallel cascade across $B$ seeds (e.g., linear interpolations plus perturbed trajectories):
- Stage 1 — Parallel Particle Optimization (MPPI / STORM-style): Building directly on NVIDIA’s earlier reactive MPC solver STORM (Bhardwaj et al., arXiv:2104.13542), hundreds of perturbed trajectory rollouts are evaluated in parallel and combined via exponential importance weighting (Model Predictive Path Integral updates). Because MPPI is derivative-free and samples broadly, it jumps cleanly over non-convex obstacle barriers that trap gradient descent.
- Stage 2 — Batched L-BFGS Refinement: The top particle seeds feed directly into a custom GPU-batched L-BFGS optimizer with Wolfe/Armijo line search. Quasi-Newton curvature information drives pose error, collision penetration, and jerk rapidly to zero in a handful of iterations.

4. Geometric Graph Fallback & Reactive MPC
In truly labyrinthine narrow passages (like reaching deep inside a cluttered shelf), even multi-start trajectory optimization can fail to find a zero-collision seed. When none of the parallel optimization seeds clear collision checks, cuRobo falls back seamlessly to a GPU-parallelized geometric graph planner (PRM-like sampling with batched edge collision checks) to find a rough collision-free seed path, and then immediately hands that path back to batched L-BFGS to turn it into a smooth minimum-jerk trajectory.
And because the exact same MPPI + L-BFGS machinery solves receding-horizon problems in under 10–20 ms, the solver also doubles as a reactive joint-space MPC that continuously re-optimizes as obstacles or target poses move in real time.
GPU Optimization vs. CPU SIMD Sampling (VAMP). Massive GPU parallelism is not the only way to break the classical planning bottleneck. VAMP (Thomason, Kingston, & Kavraki, arXiv:2309.14545, ICRA 2024) accelerates classical sampling-based planners (RRT-Connect) by 500× on standard CPUs using SIMD vectorization (AVX2/NEON) over sphere-approximated kinematics and collision checks — finding geometric paths in microseconds without a discrete GPU. The trade-off is clean: VAMP wins on ultra-low-latency CPU-only geometric search, while cuRobo-style GPU optimizers shine when you want smooth, dynamic-constraint-aware minimum-jerk trajectories, batched IK, or thousands of trajectories in parallel for RL / imitation data generation.
Why This Matters for Robot Learning
In robot learning and embodied intelligence, fast motion solvers are no longer just a classical-robotics utility — they are infrastructure:
- Synthetic demonstration generation: Generating tens of thousands of collision-free manipulation trajectories in simulation (e.g., Isaac Sim) requires batched planning that scales with GPU compute rather than bottlenecking on a single CPU thread.
- Safe action execution for VLAs & high-level policies: High-level visuomotor or VLM policies often output coarse 6-DoF end-effector waypoints or subgoals. Running a cuRobo-style reactive solver underneath turns noisy semantic subgoals into smooth, collision-free, joint-limit-respecting motions on real hardware at control rates.
- Dynamic constraints & torque awareness: Newer iterations (such as torque-limited and payload-aware GPU trajectory optimizers) push this even further — ensuring that learned behaviors respect physical actuator limits before they ever touch the machine.
References
- B. Sundaralingam, S. K. S. Hari, A. Fishman, C. Garrett, K. Van Wyk, V. Blukis, A. Millane, H. Oleynikova, A. Handa, F. Ramos, N. Ratliff, and D. Fox. cuRobo: Parallelized Collision-Free Minimum-Jerk Robot Motion Generation. ICRA, 2023. arXiv:2310.17274
- M. Bhardwaj, B. Sundaralingam, A. Mousavian, N. D. Ratliff, D. Fox, F. Ramos, and B. Boots. STORM: An Integrated Framework for Fast Joint-Space Model-Predictive Control for Reactive Manipulation. CoRL, 2021. arXiv:2104.13542
- W. Thomason, Z. Kingston, and L. E. Kavraki. Motions in Microseconds via Vectorized Sampling-Based Planning (VAMP). ICRA, 2024. arXiv:2309.14545