Skip to main content
QUICK REVIEW

[Paper Review] Motion Planning Transformers: A Motion Planning Framework for Mobile Robots

Jacob J. Johnson, Kalra, Uday S.|arXiv (Cornell University)|Jun 5, 2021
Machine Learning and AlgorithmsComputer Science6 citations
TL;DR

This paper proposes Motion Planning Transformers (MPT), a transformer-based framework that learns to predict high-probability regions for path planning, significantly reducing search space in sampling-based motion planners. By leveraging self-attention to model long-horizon dependencies, MPT reduces planning time by 7–25% and search nodes by 2–12 times compared to traditional planners, while generalizing across map sizes and supporting non-holonomic robots like Dubins cars.

ABSTRACT

Fast and efficient sampling-based motion planning (SMP) is an integral component of many robotic systems, such as autonomous cars. A popular technique to improve the efficiency of these planners is to restrict search space in the planning domain. Existing algorithms define parametric functions to bound the search space, but these do not extend to non-holonomic robotic systems. Recent learning-based methods use a combination of convolutional and fully connected networks to encode the planning space. However, these methods are restricted to fixed map sizes, which are often not realistic in the real world. In this paper, we introduce a transformer-based approach, Motion Planning Transformer, to restrict the search space by learning to discern regions with a valid path from prior data. The model learns not only to restrict search spaces for simple 2D systems but also for non-holonomic robotic systems. We validate our method on various randomly generated environments with different map sizes and plan trajectories for a physical non-holonomic robot. We also provide a ROS2 plugin of our method for the Nav2 planning stack. The results show that our method reduces search space nodes by 2-12 times compared to traditional planners and has better generalizability than recent learning-based planners.

Motivation & Objective

  • To address the limitations of traditional sampling-based motion planners that suffer from high computational cost and poor scalability across map sizes.
  • To overcome the fixed-map-size restriction of prior learning-based planners that use CNNs and MLPs.
  • To enable effective motion planning for non-holonomic robots by learning kinematically feasible path regions in SE(2) space.
  • To improve generalization across map sizes without retraining or fine-tuning, especially for larger environments.
  • To provide a ROS2-compatible plugin for integration into real-world robotic navigation stacks like Nav2.

Proposed method

  • A transformer-based model is trained to predict regions in the configuration space likely to contain valid paths, using prior motion plan data as supervision.
  • The model employs learnable position embeddings with random shifting during training to improve generalization to larger map sizes.
  • The framework extends to SE(2) robots by predicting orientation-aware anchor points, enabling planning in kinematically constrained spaces.
  • The MPT model acts as a region proposal network, guiding sampling-based planners like RRT* to focus on high-probability areas.
  • A novel training routine with randomized position encoding enhances model robustness and accuracy on unseen map sizes.
  • The method is integrated as a ROS2 plugin for the Nav2 navigation stack, enabling plug-and-play use with existing planners.

Experimental results

Research questions

  • RQ1Can a transformer-based model effectively reduce the search space in sampling-based motion planning without requiring fixed map sizes?
  • RQ2How does the MPT model generalize to larger, unseen map sizes compared to prior learning-based planners?
  • RQ3Can the MPT framework be extended to non-holonomic robots such as Dubins cars, and does it improve planning efficiency in SE(2) space?
  • RQ4To what extent does the MPT-aided planner outperform traditional and learning-based planners in terms of planning time, path quality, and node count?
  • RQ5Can the MPT model be deployed in real-world robotic systems with sim-to-real generalization?

Key findings

  • MPT-aided planners reduce the number of vertices in the search tree by 2–12 times compared to traditional RRT* and IRRT* planners.
  • Planning time is reduced by 7–25% across various environments, with the most significant gains in larger maps.
  • The model trained with randomized position encoding achieves 61% higher accuracy on larger maps compared to fixed-encoding baselines.
  • For Dubins car models, MPT-RRT* reduces planning time by 50% and vertices by 38% compared to RRT*, achieving 95.15% accuracy.
  • The MPT plugin for Nav2 enables real-time 10Hz planning on a physical RC Dubins car, demonstrating strong sim-to-real generalization.
  • MPT outperforms IRRT* and BIT* in larger environments, where their performance degrades due to increased search space.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.