GraphMP: Graph Neural Network-based Motion Planning with Efficient Graph Search

Xiao Zang, Miao Yin, Jinqi Xiao, Saman Zonouz, Bo YuanNeurIPS 2023

TL;DR

GraphMP is a novel motion planner that marries the pattern-recognition power of Graph Neural Networks (GNNs) with the cost-aware efficiency of A search. By introducing a differentiable A module, the authors enable end-to-end training that allows the model to learn optimal heuristics, resulting in paths that are up to 35% shorter and 42% faster to compute than previous state-of-the-art neural planners.

What Problem Does This Paper Address?

In robotics, motion planning—finding a collision-free path from point A to point B—is a classic but difficult problem, especially as the "degrees of freedom" (dimensions) of the robot increase.

Classical algorithms like A are great for finding short paths but struggle with high-dimensional spaces. Conversely, modern Learning-based planners (specifically those using GNNs) are excellent at recognizing environmental patterns but often lack a rigorous search mechanism. For example, previous GNN-based planners like GNN-Explorer rely on "edge priorities" to decide where to move next. The problem? These priorities often ignore the accumulated path cost*, leading the robot to take "greedy" local actions that result in long, winding, or suboptimal global paths.

Comparison of GNN-Explorer and GraphMP

The authors of GraphMP set out to bridge this gap: How can we use GNNs to understand the environment while maintaining the mathematical rigor of a cost-aware search algorithm?

Methods

GraphMP consists of three main components that work together to turn a raw graph of possible robot movements (a Random Geometric Graph, or RGG) into a high-quality path:

GraphMP Architecture and Pipeline
  1. Neural Collision Checker (NCC): A GNN that looks at the robot's environment and predicts which edges in the graph are likely to be collision-free. This "prunes" the search space significantly.
  2. Neural Heuristic Estimator (NHE): Another GNN that predicts the "cost-to-go" (heuristic) for every node in the graph. Unlike hand-crafted heuristics (like simple Euclidean distance), this learns to account for obstacles.
  3. Differentiable Graph-based A*: This is the core innovation. The authors reformulated the A* search algorithm into a differentiable format. This allows the NHE to be trained "end-to-end"—the network learns to produce heuristics that specifically minimize the final path cost produced by the search.

The Inference Pipeline: When faced with a new task, GraphMP predicts collisions, assigns learned heuristics to nodes, and then runs a classical A search on the resulting weighted graph. To ensure safety, it performs an "In-Search Collision Check" only on edges where the neural network is uncertain. Finally, it uses Lazy Node Removal (LNR)* to smooth out any unnecessary zig-zags in the path.

Datasets

The model was evaluated across six distinct robotic environments of increasing complexity:

  • Maze2: A 2D point-robot in a dense maze.
  • Ur5: A 6-degree-of-freedom (DoF) industrial arm.
  • Snake7: A 7-DoF snake-like robot.
  • Kuka7 & Kuka13: 7-DoF and 13-DoF robotic arms.
  • Kuka14: A dual-arm setup with 14 degrees of freedom, representing a highly complex coordination task.

The authors used 2,000 different workspaces for training and 1,000 unseen workspaces for testing each environment.

Key Insights and Ideas

  • Search > Priority: The "aha moment" here is that predicting where to look (priority) is less effective than predicting how much it costs to get there (heuristic). By integrating A*, the planner naturally considers the total path length, not just the next step.
  • Differentiability as a Bridge: By making the search algorithm differentiable, the authors turned a discrete logical process into a signal that can guide neural network weights. This ensures the GNN learns features that are actually useful for the search algorithm.
  • Efficiency through Uncertainty: The "In-Search Collision Check" is a clever compromise. Instead of checking every single edge for collisions (which is slow), it only checks edges where the NCC's confidence is low, balancing speed with safety.

Key Results

GraphMP demonstrates significant improvements over both classical (BIT, RRT) and learning-based (GNN-Explorer) baselines:

  • Path Quality: GraphMP produced paths that were 12.6% to 35.8% shorter than GNN-Explorer across various tasks.
  • Planning Speed: It achieved a speedup of 5% to 42% compared to GNN-Explorer. In the 14D Kuka dual-arm environment, it found paths in roughly 95ms, whereas classical planners like BIT* took over 200ms.
  • Success Rate: It maintained a near 100% success rate across all tested environments, proving that the neural approximations do not sacrifice the ability to find a valid solution.

Limitations and Future Work

While impressive, GraphMP has a few hurdles to clear:

  • Probabilistic Completeness: If the collision confidence threshold is set too low, the algorithm isn't mathematically guaranteed to find a path even if one exists (though it rarely fails in practice).
  • Fixed Graph Sampling: The efficiency is currently bottlenecked by the construction of the initial RGG. The authors suggest that moving from uniform sampling to "learned sampling" (placing nodes only where they are likely needed) could further boost performance.
  • Asymptotic Optimality: Because it searches a fixed graph, it finds the best path on that graph, which might not be the absolute theoretical optimum in continuous space.

Overall, GraphMP represents a significant step toward "Neural-Symbolic" robotics, where deep learning handles the messy perception and the search algorithm handles the logical execution.

Summary updated

BibTeX
@inproceedings{zang2023graphmp,
  author = {Xiao Zang and Miao Yin and Jinqi Xiao and Saman Zonouz and Bo Yuan},
  title = {{GraphMP: Graph Neural Network-based Motion Planning with Efficient Graph Search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=cQdc9Dyk4i},
}
Figure