TransPath: Learning Heuristics For Grid-Based Pathfinding via Transformers
Not on the map. Why?
Abstract (arXiv)
Heuristic search algorithms, e.g. A*, are the commonly used tools for pathfinding on grids, i.e. graphs of regular structure that are widely employed to represent environments in robotics, video games etc. Instance-independent heuristics for grid graphs, e.g. Manhattan distance, do not take the obstacles into account and, thus, the search led by such heuristics performs poorly in the obstacle-rich environments. To this end, we suggest learning the instance-dependent heuristic proxies that are supposed to notably increase the efficiency of the search. The first heuristic proxy we suggest to learn is the correction factor, i.e. the ratio between the instance independent cost-to-go estimate and the perfect one (computed offline at the training phase). Unlike learning the absolute values of the cost-to-go heuristic function, which was known before, when learning the correction factor the knowledge of the instance-independent heuristic is utilized. The second heuristic proxy is the path probability, which indicates how likely the grid cell is lying on the shortest path. This heuristic can be utilized in the Focal Search framework as the secondary heuristic, allowing us to preserve the guarantees on the bounded sub-optimality of the solution. We learn both suggested heuristics in a supervised fashion with the state-of-the-art neural networks containing attention blocks (transformers). We conduct a thorough empirical evaluation on a comprehensive dataset of planning tasks, showing that the suggested techniques i) reduce the computational effort of the A* up to a factor of 4x while producing the solutions, which costs exceed the costs of the optimal solutions by less than 0.3% on average; ii) outperform the competitors, which include the conventional techniques from the heuristic search, i.e. weighted A*, as well as the state-of-the-art learnable planners.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 18 of its 36 references that are in the map. First posted on arXiv 22 Dec 2022.
Builds on
18 of 36 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2022Planning with Diffusion for Flexible Behavior Synthesiscited by 1,061
- 2020A Survey on Visual Transformercited by 654
- 2019Differentiation of Blackbox Combinatorial Solverscited by 226
- 2017Super-Convergence: Very Fast Training of Neural Networks Using Large Learning Ratescited by 199
- 2018Combinatorial Optimization with Graph Convolutional Networks and Guided Tree Searchcited by 183
- 2016Value Iteration Networkscited by 160
- 2020Path Planning using Neural A* Searchcited by 52
6 more
- 2017Learning Heuristic Search via Imitationcited by 34
- 2014Theta*: Any-Angle Path Planning on Gridscited by 26
- 2020Learning Heuristic Selection with Dynamic Algorithm Configurationcited by 21
- 2022Learning Graph Search Heuristicscited by 7
- 2019Fully Convolutional Search Heuristic Learning for Rapid Path Plannerscited by 4
- 2019GAN Path Finder: Preliminary resultscited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 5; 2026: 4.
13 papers.
Sort:
By area:
- 2024Imperative Learning: A Self-supervised Neuro-Symbolic Learning Framework for Robot Autonomycited by 16
- 2025CayleyPy RL: Pathfinding and Reinforcement Learning on Cayley Graphscited by 6
- 2023Neural Potential Field for Obstacle-Aware Local Motion Planningcited by 4
- 2025Learning Admissible Heuristics for A*: Theory and Practicecited by 2
- 2024SLOPE: Search with Learned Optimal Pruning-based Expansioncited by 1
- 2024A Training Data Recipe to Accelerate A* Search with Language Modelscited by 1
- 2025DAA*: Deep Angular A Star for Image-based Path Planningcited by 1
- 2025CayleyPy Growth: Efficient growth computations and hundreds of new conjectures on Cayley graphs (Brief version)cited by 1
- 2025Contrastive Diffusion Guidance for Spatial Inverse Problemscited by 1
- 2026UPath: Universal Planner Across Topological Heterogeneity For Grid-Based Pathfindingcited by 1
- 2026NaviFormer: A Deep Reinforcement Learning Transformer-like Model to Holistically Solve the Navigation Problemcited by 0
- 2026AAC: Admissible-by-Architecture Differentiable Landmark Compression for ALTcited by 0
1 more
- 2026FlexPath: Adapting Learned Connectivity Guidance to Path Preferences8 Jun 2026
- 2026AAC: Admissible-by-Architecture Differentiable Landmark Compression for ALT22 Apr 2026
- 2026NaviFormer: A Deep Reinforcement Learning Transformer-like Model to Holistically Solve the Navigation Problem18 Apr 2026
- 2026UPath: Universal Planner Across Topological Heterogeneity For Grid-Based Pathfinding27 Feb 2026
- 2025Contrastive Diffusion Guidance for Spatial Inverse Problems30 Sep 2025
- 2025Learning Admissible Heuristics for A*: Theory and Practice26 Sep 2025
- 2025CayleyPy Growth: Efficient growth computations and hundreds of new conjectures on Cayley graphs (Brief version)23 Sep 2025
- 2025DAA*: Deep Angular A Star for Image-based Path Planning12 Jul 2025
- 2025CayleyPy RL: Pathfinding and Reinforcement Learning on Cayley Graphs25 Feb 2025
- 2024A Training Data Recipe to Accelerate A* Search with Language Models13 Jul 2024
- 2024Imperative Learning: A Self-supervised Neuro-Symbolic Learning Framework for Robot Autonomy23 Jun 2024
- 2024SLOPE: Search with Learned Optimal Pruning-based Expansion7 Jun 2024
1 more
- 2025Contrastive Diffusion Guidance for Spatial Inverse Problems30 Sep 2025
- 2023Neural Potential Field for Obstacle-Aware Local Motion Planningcited by 4
- 2025Learning Admissible Heuristics for A*: Theory and Practicecited by 2
- 2024SLOPE: Search with Learned Optimal Pruning-based Expansioncited by 1
- 2025CayleyPy Growth: Efficient growth computations and hundreds of new conjectures on Cayley graphs (Brief version)cited by 1
- 2026UPath: Universal Planner Across Topological Heterogeneity For Grid-Based Pathfindingcited by 1
- 2026AAC: Admissible-by-Architecture Differentiable Landmark Compression for ALTcited by 0
- 2026FlexPath: Adapting Learned Connectivity Guidance to Path Preferencescited by 0
- 2026FlexPath: Adapting Learned Connectivity Guidance to Path Preferences8 Jun 2026
- 2026AAC: Admissible-by-Architecture Differentiable Landmark Compression for ALT22 Apr 2026
- 2026UPath: Universal Planner Across Topological Heterogeneity For Grid-Based Pathfinding27 Feb 2026
- 2025Learning Admissible Heuristics for A*: Theory and Practice26 Sep 2025
- 2025CayleyPy Growth: Efficient growth computations and hundreds of new conjectures on Cayley graphs (Brief version)23 Sep 2025
- 2024SLOPE: Search with Learned Optimal Pruning-based Expansion7 Jun 2024
- 2023Neural Potential Field for Obstacle-Aware Local Motion Planning25 Oct 2023