Differentiable Gaussian Process Motion Planning

Mohak Bhardwaj, Byron Boots, Mustafa Mukadam

Introduction

Trajectory optimization is a fundamental component of modern robotics, enabling autonomous systems to navigate complex environments by finding smooth, collision-free paths in real-time. Among these, Gaussian Process Motion Planning (GPMP2) stands out for its efficiency. However, GPMP2 and similar algorithms rely heavily on sensitive hyperparameters—specifically the "covariances" that balance the trade-off between path smoothness and obstacle avoidance.

In practice, a planner tuned for a "forest" (many small, scattered obstacles) often fails in a "tarpit" (large, dense clusters), and vice versa. Manually tuning these parameters is an arduous, time-consuming process that lacks a formal mathematical framework. To address this, researchers have introduced dGPMP2 (Differentiable GPMP2), transforming the motion planner into a fully differentiable computational graph that can learn to adapt its own parameters from data.

The dGPMP2 Framework

The core innovation of dGPMP2 is treating the entire optimization process as a differentiable layer within a neural network. This allows the system to use backpropagation to update internal planning parameters based on the final trajectory's performance.

The dGPMP2 architecture consists of a trainable module (W) that predicts parameters for a differentiable planning module (P).

As shown in the architecture above, the system is divided into two primary components:

  1. The Planning Module (P): This module implements the GPMP2 algorithm by formulating motion planning as probabilistic inference on a factor graph. Every step—including linearizing the cost function, constructing the linear system ($A\delta\theta = b$), and solving it—is mathematically differentiable.
  2. The Trainable Module (W): A convolutional neural network (CNN) that processes the environment (represented as a bitmap and Signed Distance Field) and the current trajectory. It outputs the optimal planning covariances ($\phi_L$) tailored to the specific scenario.

Learning and Adaptation

By keeping the "structure" of a motion planner (the factor graph) while learning the "parameters," the model remains interpretable. Unlike "black-box" end-to-end policies, we can observe exactly how learned covariances influence the robot's behavior. The model is trained using a combination of Imitation Loss (matching an expert planner like RRT) and Task Loss* (penalizing collisions and lack of smoothness).

A trajectory generated by dGPMP2 in a "forest" environment, navigating through scattered obstacles.

Key Results

The approach was evaluated on simulated 2D navigation tasks across diverse datasets, including "Forest" and "Tarpit" environments. Key findings include:

  • Consistency: On mixed datasets where fixed-parameter GPMP2 success rates fluctuated wildly (52% to 74%), dGPMP2 maintained a stable and high success rate of approximately 68%.
  • Efficiency: dGPMP2 converged in significantly fewer iterations (50.00) compared to the best-tuned GPMP2 baselines (up to 86.74 iterations), indicating that the learned parameters create a more efficient optimization landscape.
  • Constraint Satisfaction: The model successfully learned to respect velocity limits. When trained with tight constraints, it produced valid trajectories 98% of the time, whereas non-adaptive models failed under the same conditions.

Conclusion and Future Work

dGPMP2 demonstrates that structured learning can overcome the brittleness of traditional motion planners. By distilling global planning knowledge into a local, differentiable optimizer, robots can navigate diverse environments more reliably. Future research will focus on addressing gradient instability over longer optimization horizons and extending the framework to high-dimensional articulated robots in 3D space.

Summary updated

BibTeX
@inproceedings{bhardwaj2020differentiable,
  author = {Mohak Bhardwaj and Byron Boots and Mustafa Mukadam},
  title = {{Differentiable Gaussian Process Motion Planning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2020},
  doi = {10.1109/icra40945.2020.9197260},
}
Figure