Generalizing Informed Sampling for Asymptotically Optimal Sampling-based Kinodynamic Planning via Markov Chain Monte Carlo

Daqing Yi, Rohan Thakker, Cole Gulino, Oren Salzman, Siddhartha SrinivasaarXiv 2017

Here is a concise, engaging summary of the paper.

TL;DR

When robots plan motions under complex physical constraints (kinodynamics), finding the optimal path quickly becomes a needle-in-a-haystack problem. This paper introduces a novel method that recasts the search for better trajectories as a uniform sampling problem within an implicit non-convex function, using Markov Chain Monte Carlo (MCMC) techniques. By leveraging the Hit-and-Run algorithm, the authors drastically accelerate the convergence rate of optimal motion planners in high-dimensional spaces.

What Problem Does This Paper Address?

In sampling-based motion planning, algorithms like RRT find an initial solution and then progressively improve it. To speed up this convergence, planners use "informed sampling"—restricting new samples to an informed set* ($X_{\text{inf}}$), which contains only the states capable of shortening the current best path.

For simple geometric planning (like finding the shortest path in a clear Euclidean space), this informed set is a neat, mathematically predictable ellipse. However, real-world robots have kinodynamic constraints—they must obey laws of physics like velocity limits, acceleration bounds, and momentum. In these non-Euclidean state spaces, the informed set becomes highly complex, non-convex, and often discontinuous.

Visualization of the discontinuity in the cost function for a double integrator.

State-of-the-art methods rely on rejection sampling (sampling randomly and throwing away states outside $X_{\text{inf}}$). As the planner finds better paths, the volume of $X_{\text{inf}}$ shrinks exponentially. In high-dimensional spaces, the planner ends up wasting almost all its computational time rejecting invalid samples rather than exploring the valid ones.

Methods

The authors propose a two-stage MCMC-based framework to sample uniformly inside these oddly shaped informed sets:

  1. Finding an Initial Sample: To kickstart the MCMC chain without a lengthy "burn-in" phase, the algorithm finds a valid starting state ($x_0 \in X_{\text{inf}}$). They achieve this by taking a random sample and using a root-finding algorithm (like Newton-Raphson gradient descent) to retract it directly onto the boundary of the informed set.
  2. Generating the Markov Chain: Once inside, they use an MCMC sampler to generate subsequent valid samples.

While the framework supports various MCMC methods, the authors highlight the Hit-and-Run (HNR) sampler. Given a current point, HNR chooses a random direction vector, generates a 1D line through the state space, and samples along that line. If a sample falls outside the informed set, the algorithm dynamically shrinks the line's boundaries. This effectively replaces expensive high-dimensional rejection sampling with ultra-fast 1D line searches.

Fig. 1: Algorithmic approach. Cost function is depicted using iso- contours (darker shades reflect lower cost) while the boundary of the informed set is depicted in purple. The root-finding and MCMC algorithms are depicted in red and turquoise, respectively.

Datasets

The method was evaluated using simulated physics environments across three distinct kinodynamic planning problems designed to test scalability:

  • 6D State Space: A 3-Degree-of-Freedom (DoF) Planar Manipulator moving from start to goal with zero boundary velocities.
  • 12D State Space: A 6-DoF Snake Arm tasked with hammering its end-effector into a wall.
  • 14D State Space: A 7-DoF WAM Arm (mounted on the HERB robot) performing a rapid sweeping motion to clear a cup off a table, starting at rest but ending with a non-zero velocity.

Key Insights and Ideas

  • Recasting the Problem: The core "aha!" moment is realizing that instead of trying to analytically derive the geometry of $X_{\text{inf}}$, it can be treated as a sub-level-set of an implicit non-convex function, making it perfectly suited for optimization-based sampling tools from the machine learning community.
  • Why Hit-and-Run Beats Metropolis-Hastings: Standard Metropolis-Hastings MCMC relies on a Gaussian proposal distribution. If the variance is too small, it explores too slowly; if it's too large, it constantly jumps outside the informed set and gets rejected. Hit-and-Run bypasses this by adapting its 1D search space, ensuring it never returns a sample outside the informed set once the chain has begun.

Key Results

The authors compared Hit-and-Run (HNR) against Rejection Sampling (RS), Hierarchical Rejection Sampling (HRS), and Metropolis-Hastings (MH).

  • Sampling Efficiency: As the informed set volume ratio dropped (making the problem harder), the time taken by RS and HRS skyrocketed. In contrast, HNR maintained a low, stable sampling time even when the informed set was less than $10^{-4}$ of the total state space.
  • Planning Convergence: In the lower-dimensional 6D problem, all samplers performed similarly. However, in the 12D and 14D problems, the advantages of HNR became stark. Planners utilizing the HNR sampler converged to lower-cost, higher-quality trajectories significantly faster than those using traditional rejection techniques.
Planning efficiency comparison across 6D, 12D, and 14D problems, showing HNR's superior convergence rate in higher dimensions.

Limitations and Future Work

A known drawback of MCMC approaches is that successive samples are mathematically correlated (dependent on the previous state), which can occasionally hurt uniform distribution quality if the chain gets stuck in a narrow corridor of the state space. Additionally, MCMC algorithms introduce hyperparameters (like step sizes or boundary thresholds) that typically require manual tuning, though the authors noted they left these untuned across their experiments to demonstrate general robustness.

Moving forward, the authors suggest integrating this MCMC framework with other advanced sampling planners like Batch Informed Trees (BIT*) and testing it across alternative, non-Euclidean state spaces.

Summary updated

BibTeX
@misc{yi2017generalizing,
  author = {Daqing Yi and Rohan Thakker and Cole Gulino and Oren Salzman and Siddhartha Srinivasa},
  title = {{Generalizing Informed Sampling for Asymptotically Optimal Sampling-based Kinodynamic Planning via Markov Chain Monte Carlo}},
  year = {2017},
  eprint = {1710.06092},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.06092},
}
Figure