PAKR: Fast Asymptotically Optimal Kinodynamic Planning via Vectorization

Purdue University

Here we show 6d double integrator trajectories on a tree environment. As the cost threshold decreases, the planner finds more optimal solutions, narrowing the spread of the trajectories.

Abstract

Sampling-based motion planners have been shown to be effective for systems with complex kinodynamic constraints and high dimensionality. However, these algorithms struggle to achieve real-time performance, leading to recent efforts to parallelize planning. While GPU-accelerated planners have achieved significant speedups, existing approaches require specialized CUDA programming that limits accessibility and portability.

We present Parallel Asymptotically Optimal Kinodynamic RRT (PAKR), a massively parallel kinodynamic planner leveraging JAX and the XLA compiler to achieve GPU acceleration through standard Python tooling. By combining our parallel planner with the AO-x meta-algorithm, we achieve asymptotic optimality through fast iterative replanning.

We provide a theoretical analysis of probabilistic completeness, analyze the effects of batch size and branching factor on convergence, and demonstrate scalability to complex dynamics using the MuJoCo-XLA simulator. Experiments show competitive runtimes with state-of-the-art GPU planners and superior solution quality.

Video

Methodology

Utilizing the Python-JAX jit compiler, we compile the RRT planner into a single GPU kernel, minimizing device transfer overhead. The planner performs node selection, action sampling, forward simulation, and tree building in large batches, enabling efficient parallelism. With a fast single-solve time, we can iteratively replan with decreasing cost thresholds to achieve asymptotic optimality at high frequencies.

Results

KinoPAX Experiments

These environments were taking from KinoPAX, a CUDA implementation of accelerated kinodynamic planning. Three dynamics models are used: 6d double integrator, 6d dubins airplane, and 12d quadrotor.

Initial Tree

(a) Initial Tree

Initial Narrow

(b) Initial Narrow

Initial House

(c) Initial House

Final Tree

(d) Final Tree

Final Narrow

(e) Final Narrow

Final House

(f) Final House

Depiction of 10 initial and final solution trajectories (green lines) and 3d obstacle environments for PAKR, run with the double integrator model. The start and goal regions are represented by the blue and green spheres. Cost criterion is set to distance traveled to better visualize convergence.

DynoBench Experiments

To compare against optimal planners, we also evaluate against DynoBench's iDb-A* and SST* implementations. Four dynamics models are used: 3d unicycle with velocity control, 5d unicycle with acceleration control, 4d acrobot, and 12d quadrotor.

DynoBench results figure
Solutions for the 3D unicycle problem.

4d acrobot problem visualized in mujoco.

MJX Experiments

We also run our planner with the MuJoCo-XLA simulator, which provides GPU-accelerated physics simulation for complex dynamics. With MJX, we solve a 4d cartpole problem and a 10d block push problem. In addition, we use a soft growing vine simulator to demonstrate the ability of PAKR to handle complex, high-dimensional dynamics.

10d blockpush problem. Left has an easier start position.

Soft growing vine planning problem

Performance

We evaluate the performance of PAKR against KinoPAX, a gpu-accelerated planner, and two optimal planners: iDb-A* and SST*. We also analyze the convergence behavior of PAKR with respect to iterations and time, demonstrating its ability to find high-quality solutions efficiently.

PAKR convergence analysis — iterations
PAKR convergence analysis — time
PAKR convergence analysis showing median cost and interquartile range (IQR) across 100 runs for the double integrator in environment A with a cost threshold of 1.49.
Env A Env B Env C
Dynamics Planner Time Nodes Time Nodes Time Nodes
6D DI KinoPAX 5.0ms164k 3.5ms144k 6.3ms193k
PAKR 2.5ms9k 1.8ms21k 5.5ms19k
6D DA KinoPAX 4.4ms63k 3.7ms72k 7.6ms107k
PAKR 5.4ms19k 5.9ms32k 14.9ms57k
12D QC KinoPAX 17.8ms285k 17.8ms285k 24.6ms333k
PAKR 14.9ms71k 17.1ms147k 51.4ms173k
Comparison of PAKR vs. KinoPAX across dynamics models and environments. Bold denotes best per cell.
Environment A Environment B Environment C
Dynamics Time1Cost1TimefCostf Time1Cost1TimefCostf Time1Cost1TimefCostf
6D DI 2.3ms1.7628.0ms1.51 1.8ms2.0320.0ms1.54 4.9ms3.1145.0ms2.33
6D DA 4.8ms1.7122.0ms1.56 5.9ms1.696.0ms1.66 14.8ms3.4232.0ms2.98
12D QC 13.1ms2.1620.1ms1.98 17.1ms2.4231.0ms2.11 55.6ms3.98165.4ms3.62
Convergence results for PAKR on KinoPAX environments and models. Median times and costs of the initial and final solutions.
Problem Alg. SR% Time1 Cost1 Costf
Unicycle 1 iDb-A*100254ms5.80s5.10s
SST*100600ms8.34s4.41s
PAKR1001.3ms4.62s4.46s
Unicycle 2 iDb-A*124637ms8.70s8.70s
SST*100398ms14.15s6.95s
PAKR1001.4ms5.40s4.75s
Acrobot iDb-A*1001450ms5.24s4.96s
SST*743298ms4.36s3.39s
PAKR10013ms3.87s3.22s
Quadcopter iDb-A*1001387ms2.56s2.21s
SST*4185457ms9.64s9.42s
PAKR100175ms7.54s6.23s
DynoBench comparison against iDb-A* and SST*. Unicycle 1 uses velocity control; Unicycle 2 uses force control.
Branching Factor (A)
Batch Metric 21664128
4k Success (%)100.0100.099.094.0
Time (ms)19.516.126.741.9
Iters22.036.069.0104.0
Nodes37.6k57.7k107.5k168.1k
8k Success (%)100.0100.097.093.0
Time (ms)24.513.119.026.7
Iters15.021.039.057.0
Nodes54.3k70.9k124.9k181.9k
16k Success (%)100.0100.097.087.0
Time (ms)47.214.317.114.3
Iters12.014.025.025.0
Nodes89.9k103.8k162.7k163.3k
32k Success (%)100.0100.099.086.0
Time (ms)115.326.920.119.9
Iters10.012.017.020.0
Nodes154.6k175.5k232.3k277.0k
Batch size and branching factor sensitivity on 12D Quadcopter (Env A). Bold values are global minimums for time, iteration count, and tree size.

BibTeX (preprint)

@inproceedings{gao2026fastasymptoticallyoptimalkinodynamic,
      title={Fast Asymptotically Optimal Kinodynamic Planning via Vectorization}, 
      author={Gao, Yitian and Lu, Andrew and Kingston, Zachary},
      booktitle={Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
      year={2026},
      note={To appear},
      url={https://arxiv.org/abs/2607.03987}
      }