cs.LGFeb 27, 2026

UPath: Universal Planner Across Topological Heterogeneity For Grid-Based Pathfinding

Authors: Aleksandr Ananikian, Daniil Drozdov, Konstantin Yakovlev

Organizations: Saint-Petersburg University

Abstract

The performance of search algorithms for grid-based pathfinding, e.g. A*, critically depends on the heuristic function that is used to focus the search. Recent studies have shown that informed heuristics that take the positions/shapes of the obstacles into account can be approximated with the deep neural networks. Unfortunately, the existing learning-based approaches mostly rely on the assumption that training and test grid maps are drawn from the same distribution (e.g., city maps, indoor maps, etc.) and perform poorly on out-of-distribution tasks. This naturally limits their application in practice when often a universal solver is needed that is capable of efficiently handling any problem instance. In this work, we close this gap by designing an universal heuristic predictor: a model trained once, but capable of generalizing across a full spectrum of unseen tasks. Our extensive empirical evaluation shows that the suggested approach halves the computational effort of A* by up to a factor of 2.2, while still providing solutions within 3% of the optimal cost on average altogether on the tasks that are completely different from the ones used for training \unicodex2013\unicode{x2013} a milestone reached for the first time by a learnable solver.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. The DeepXube Software Package for Solving Pathfinding Problems with Learned Heuristic Functions and Search

    Mar 25, 2026Forest AgostinelliAutomated Heuristic DesignGraph-Based Planning

  2. Key-Interval A*: Accelerating Grid Pathfinding via Structural Abstraction

    Jul 25, 2026Taiquan SuiGraph-Based Planning

  3. FlexPath: Learned Semantic Path Priors for Image-Based Planning

    Jun 8, 2026Taehyoung Kim, Tim Schoenbrod, David Eckel +1Motion Planning