Continuous-time Gaussian process motion planning via probabilistic inference

Mustafa Mukadam, Jing Dong, Xinyan Yan, Frank Dellaert, Byron Boots

TL;DR

This paper reframes robot motion planning as a probabilistic inference problem on factor graphs, leveraging the mathematical elegance and sparsity of Gaussian Process (GP) models. The resulting algorithm, GPMP2, and its incremental variant iGPMP2, deliver smooth, continuous-time trajectories significantly faster than state-of-the-art methods while enabling near-instantaneous replanning in dynamic environments.

What Problem Does This Paper Address?

Motion planning is the fundamental robotic task of finding a path from A to B that is both feasible (collision-free) and optimal (smooth). Traditionally, planners fall into two camps:

  1. Sampling-based methods (like RRTs): Robust in complex spaces but often produce jerky, redundant paths that require heavy post-processing.
  2. Trajectory optimization methods (like CHOMP or TrajOpt): Produce smooth paths but suffer from a major efficiency bottleneck—they require fine discretization. To ensure a robot doesn't clip a thin obstacle, you must check many points along the path, which is computationally expensive.

Furthermore, when a goal moves or a new obstacle appears mid-execution, most planners must start over from scratch. The authors seek a unified framework that is continuous, efficient, and capable of rapid replanning.

Methods

The core innovation is viewing a trajectory not as a sequence of discrete points, but as a continuous function sampled from a Gaussian Process (GP).

  • Sparse GP Models: By employing structured kernels (Gauss-Markov models) generated by linear time-varying stochastic differential equations, the authors ensure the trajectory's precision matrix (the inverse of the covariance) is exactly block-tridiagonal. This sparsity is the "secret sauce" for computational speed.
  • GP Interpolation: Because the trajectory is continuous, it can be queried at any time point in $O(1)$ time. This allows the optimizer to use a small number of "support states" to define the path while performing collision checking at a much higher resolution without the usual overhead.
  • Factor Graph Inference (GPMP2): The planning problem is mapped onto a factor graph—a graphical model common in SLAM (Simultaneous Localization and Mapping). Smoothness is encoded as a GP prior, and collision avoidance is a likelihood factor. Finding the best path becomes a Maximum A Posteriori (MAP) inference problem, solved via efficient sparse nonlinear least squares.
  • Incremental Replanning (iGPMP2): By using the Bayes tree data structure (borrowed from the iSAM2 algorithm used in SLAM), the planner can perform incremental updates. When the environment changes, only the affected parts of the trajectory "tree" are re-calculated.
Figure 3: Querying the trajectory at different resolutions allows for sparse optimization with dense collision checking.

Datasets

The algorithms were benchmarked against leading sampling and optimization planners on two primary datasets:

  • 7-DOF WAM Arm Dataset: 24 unique planning problems in a laboratory environment.
  • 7-DOF PR2 Arm Dataset: 198 unique planning problems across four diverse environments, including bookshelves and industrial settings. The authors also validated successful trajectories on a physical 7-DOF WAM arm.

Key Insights and Ideas

  • The SLAM-Planning Duality: The most profound insight is that motion planning and SLAM are mathematically two sides of the same coin. The tools developed for efficient mapping (factor graphs, sparse Cholesky decomposition) are perfectly suited for planning when trajectories are viewed as sparse GPs.
  • Sparsity is Speed: By choosing a Gauss-Markov motion model, efficiency is "baked in." The resulting tridiagonal structure allows for quadratic convergence rates that are much faster than the linear convergence of previous gradient-based methods.
  • Continuous-Time Safety: Traditional methods risk "missing" obstacles between discrete time steps. GP interpolation provides a principled way to ensure safety at any resolution without increasing the number of optimization variables.
Figure 4: GP interpolation propagates cost information from dense check-points back to sparse support states.

Key Results

  • Speed: GPMP2 is consistently faster than its competitors. On the PR2 dataset, it was 30 times faster than RRT-Connect and significantly faster than TrajOpt and CHOMP.
  • Success Rates: GPMP2 achieved high success rates (e.g., ~92% on the WAM dataset), often outperforming other optimization-based methods that struggled with local minima.
  • Replanning Performance: The incremental iGPMP2 algorithm solved replanning tasks an order of magnitude faster than solving from scratch, often reaching solutions in under 10 milliseconds.
Figure 1: GPMP2 generating successful trajectories for WAM and PR2 robots in various simulated and real environments.

Limitations and Future Work

  • Local Minima: Like all trajectory optimizers, GPMP2 can get stuck in local minima (e.g., the "wrong side" of an obstacle). The authors suggest that combining it with global sampling-based methods could mitigate this.
  • Soft Constraints: Currently, constraints like joint limits are handled as "soft" penalties (priors with small variance). While effective in practice, they don't provide the hard guarantees required for some safety-critical applications.
  • Future Directions: The authors propose integrating Sequential Quadratic Programming (SQP) to better handle hard nonlinear inequality constraints and extending the framework to more complex, non-linear system dynamics.

Summary updated

BibTeX
@article{mukadam2018continuous,
  author = {Mustafa Mukadam and Jing Dong and Xinyan Yan and Frank Dellaert and Byron Boots},
  title = {{Continuous-time Gaussian process motion planning via probabilistic inference}},
  journal = {Int. J. Robotics Res.},
  year = {2018},
  doi = {10.1177/0278364918790369},
}
Figure