iA*: Imperative Learning-Based A* Search for Path Planning

Xiangyu Chen, Fan Yang, Chen Wang

TL;DR

This paper introduces iA, a novel self-supervised path planning framework that combines a neural network for predicting node costs with a differentiable A search. By leveraging "imperative learning" and bilevel optimization, iA* significantly reduces the search area and runtime compared to traditional and supervised learning methods, while maintaining near-optimal paths and demonstrating strong generalization to unseen environments.

What Problem Does This Paper Address?

Path planning, the task of finding a collision-free route between two points, is fundamental for robots and autonomous vehicles. Traditional methods like A* guarantee optimality but become computationally prohibitive on large maps. While learning-based approaches can speed up planning, they often require extensive labeled data, struggle with overfitting, and can lose theoretical optimality guarantees. This paper aims to bridge this gap by developing a self-supervised learning method that balances search efficiency, path optimality, and generalization without relying on pre-computed optimal paths for training.

Methods

The core innovation is the Imperative A (iA) framework, which employs Bilevel Optimization (BLO) and Imperative Learning (IL).

  • Bilevel Optimization: iA* frames path planning as a two-level optimization problem:
  • Lower-Level Optimization: A differentiable A search engine (dA) that finds a path within a predicted search area. This module is crucial for providing gradients back to the upper level.
  • Upper-Level Optimization: A neural network (specifically a U-Net architecture) that predicts a "cost kernel" or "prediction factor" for each node. This factor guides the dA* search, influencing the search area and balancing its size against path length.
  • Imperative Learning (IL): This is the key to self-supervision. Instead of using pre-computed optimal paths as ground truth (like supervised methods), iA's upper-level network is trained using the actual path planning results from the lower-level dA search. The loss function directly penalizes the search area and path length generated by the dA search. This allows the network to learn to predict search guidance that is useful for the A search itself, rather than just mimicking optimal paths. This dynamic feedback loop is what enables self-supervision and better generalization.
  • Differentiable A (dA): To enable backpropagation through the search process, the authors adapt A* to be differentiable. This involves representing graph structures and node states in matrix form and using techniques to allow gradients to flow through the node selection and expansion steps.

Datasets

The paper uses publicly available datasets for training and evaluation:

  • Motion Planning Dataset (MP Dataset): Contains binary maps with simple obstacle settings. Used for training and testing.
  • Maze Dataset: Features more complex mazes. Used for evaluation.
  • Matterport3D Dataset: Provides Truncated Signed Distance Function (TSDF) maps of indoor environments. Used for evaluation.

For training, start and goal positions are sampled uniformly from these maps. The MP dataset was used for training the supervised baselines (Neural A, FS+PPM, WA+CF), while Maze and Matterport3D were kept unseen during training to evaluate generalization.

Key Insights and Ideas

  • Self-Supervision via Bilevel Optimization: The most significant insight is using the output of the search process itself to train the predictive network. This avoids the need for expensive labeled data and directly optimizes for a better search strategy.
  • "Imperative" Guidance: The neural network doesn't just predict a static heuristic; it predicts guidance that imperatively influences the search engine's behavior in real-time. This makes the guidance more adaptive and effective.
  • Improved Generalization: By not relying on fixed optimal paths and instead learning to guide the search dynamically, iA* is less prone to overfitting and performs better on unseen maps.
  • Balancing Act: iA* explicitly optimizes for a trade-off between search area (efficiency) and path length (optimality), offering a more balanced solution than methods that prioritize one over the other.

Key Results

  • Significant Reduction in Search Area and Runtime: iA achieved an average reduction of 65.7% in search area and 54.4% in runtime compared to classical A.
  • Near-Optimal Paths: The method maintained near-optimal paths, with only a 3.8% increase in path length on average compared to classical A*.
  • Superior to Supervised Methods: Compared to the supervised baseline Neural A, iA reduced the average search area by 3.3% and saved 11.5% runtime, while achieving a 6.3% improvement in the trade-off between path length and search area.
  • Strong Generalization: iA* demonstrated consistent performance across diverse maps and sizes, outperforming methods that showed degradation on unseen environments.
  • Simulation Results: In simulated robot navigation tasks, iA showed substantial improvements in search area and time reduction (e.g., 52.04% time saving in the Indoor scenario) and better AL scores than Neural A.

Limitations and Future Work

  • Limitations:
    • The paper notes that transformer-based methods (FS+PPM, WA*+CF) were limited to 64x64 maps due to their network architecture requiring fixed input shapes, necessitating retraining for different sizes.
  • JPS was excluded from Rt (runtime) comparisons due to the lack of a GPU-accelerated batched version.
  • The paper acknowledges that while iA balances optimality and efficiency, it doesn't guarantee absolute optimality like classical A.
  • Future Work:
    • Extend iA* to high-dimensional path planning problems, where the neural model could help manage the computational explosion of the search space.
  • Enhance iA* with real-time replanning capabilities to improve its adaptability in dynamic environments.

Summary updated

BibTeX
@article{chen2025ia,
  author = {Xiangyu Chen and Fan Yang and Chen Wang},
  title = {{iA*: Imperative Learning-Based A* Search for Path Planning}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2025.3625500},
}
Figure