UPath: Universal Planner Across Topological Heterogeneity For Grid-Based Pathfinding
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 a milestone reached for the first time by a learnable solver.
Figures & tables
| Optimal Found | Cost | Exp | |
|---|---|---|---|
| Ratio ( ) | Ratio ( ) | Ratio ( ) | |
| A* | 100.00 | 100.0 | 100.0 |
| UPath (Uniform) | 63.23 | 101.1 2.9 | 53.8 29.0 |
| UPath (Beta) | 55.24 | 105.1 16.2 | 45.3 31.9 |
| UPath (Beta+Fig) | 72.63 | 101.1 4.1 | 47.4 27.7 |
| WA*, w=2 | 32.35 | 103.7 4.9 | 54.6 30.1 |
| Skips | Masking | Optimal Found | Cost | Expansions |
|---|---|---|---|---|
| Ratio ( ) | Ratio ( ) | Ratio ( ) | ||
| 55.24 | 105.1 16.2 | 45.3 31.9 | ||
| 51.64 | 105.7 16.75 | 53.65 31.14 | ||
| 6.40 | 110.6 15.11 | 77.4 36.2 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Optimal Found | Length | Expansions | |
|---|---|---|---|
| Ratio ( ) | Ratio ( ) | Ratio ( ) | |
| A* | 100.00 | 100.0 | 100.0 |
| UPath (64x64) | 23.84 | 103.7 7.0 | 48.79 31.3 |
| UPath (128x128) | 54.20 | 102.4 6.9 | 44.0 28.7 |
| WA*, w=2 | 21.22 | 104.5 5.3 | 48.2 33.8 |
| WA*, w=5 | 7.17 | 109.2 9.2 | 41.4 33.4 |
Motion Planning
Motion planning finds safe, feasible paths and trajectories for robots and vehicles amid geometric, dynamic, and task constraints.
See all 404 papers