Neural A*
A learned path planner that runs a differentiable A* search over a guidance map from a convolutional encoder.
Reinforcement learning and control · 13,656 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 391.4K
- Operations
- 13,656
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICML 2021
- Cited by
- 56 (as of 27 October 2026)
- Authors
- Ryo Yonetani, Tatsunori Taniai, Mohammadamin Barekatain and others
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18753
- Graph hash
- ffe4c5b2641704afd210923914f3faa7d7a1226bd9c21e8d099591a4219b3fb2
- Skeleton hash
- 288619c2464db517f79833b25c21a4748397923420c63ad081b5ab508ecaaf22
- Architecture hash
- 8baa0fb92a866203b2ede60cc9b679c8064a53a03d3a40d035efd54dd08b4781
- Diagram SHA-256
- d709d79b5df43e2e670a14b39e470aa893700bc64d2cd1770ffb789e5f26faff
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Neural A* is a path planner that learns: it turns the classic A* search algorithm into a differentiable module and pairs it with a convolutional encoder, so the whole planner trains end to end. The paper notes that machine learning for search-based planning is hard because search algorithms are discrete.
Given a problem instance, the encoder produces a guidance map, and the differentiable A* search then runs over that map. Training matches the search results to ground-truth paths provided by experts, which teaches the planner to trade off search optimality against efficiency. This model takes a binary obstacle map with one-hot start and goal maps, the shortest-path setting of the repository examples. The paper also reports that Neural A* predicted realistic human trajectories by searching directly on natural image inputs, and the repository includes code from Gated Path Planning Networks.
Key idea. Neural A* showed that making A* search differentiable lets a convolutional encoder learn guidance maps from expert paths, end to end.
- neural a*
- neural astar
- differentiable a* search
- path planning
- search-based planning
- shortest path
- learned planner
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{yonetani2021pathplanningusingneural,
title={Path Planning using Neural A* Search},
author={Ryo Yonetani and Tatsunori Taniai and Mohammadamin Barekatain and Mai Nishimura and Asako Kanezaki},
year={2021},
eprint={2009.07476},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2009.07476},
}