Proceedings

The FastMap Algorithm for Shortest Path Computations

Download BibTeX Cite

Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence. Main track. Pages 1427-1433.

https://doi.org/10.24963/ijcai.2018/198

Abstract

We present a new preprocessing algorithm for embedding the nodes of a given edge-weighted undirected graph into a Euclidean space. The Euclidean distance between any two nodes in this space approximates the length of the shortest path between them in the given graph. Later, at runtime, a shortest path between any two nodes can be computed with an A* search using the Euclidean distances as heuristic. Our preprocessing algorithm, called FastMap, is inspired by the data-mining algorithm of the same name and runs in near-linear time. Hence, FastMap is orders of magnitude faster than competing approaches that produce a Euclidean embedding using Semidefinite Programming. FastMap also produces admissible and consistent heuristics and therefore guarantees the generation of shortest paths. Moreover, FastMap applies to general undirected graphs for which many traditional heuristics, such as the Manhattan Distance heuristic, are not well defined. Empirically, we demonstrate that A* search using the FastMap heuristic is competitive with A* search using other state-of-the-art heuristics, such as the Differential heuristic.

  1. Map 'lak503d' 'brc300d' 'maze512-32-0' FM-WINS 570 DH-WINS 329 FM+DH-WINS 101 FM-WINS 846 DH-WINS 147 FM+DH-WINS 7 FM-WINS 382 DH-WINS 507 FM+DH-WINS 111 Med MAD Med MAD Med MAD Med MAD Med MAD Med MAD Med MAD Med MAD Med MAD FM(10) 261 112 465 319 2,222 1,111 205 105 285 149 894 472 1,649 747 11,440 9,861 33,734 13,748 DH(10) 358 215 278 156 885 370 217 119 200 129 277 75 3,107 2,569 2,859 2,194 8,156 4,431 FM(5)+DH(5) 303 160 323 170 610 264 206 105 267 135 249 73 2,685 2,091 3,896 2,992 7,439 4,247 References
  2. [Alpaydin, 2010] Ethem Alpaydin. Introduction to Machine Learning. The MIT Press, 2nd edition, 2010.
  3. [Björnsson and Halldórsson, 2006] Yngv Björnsson and Kári Halldórsson. Improved heuristics for optimal path-finding on game maps. In Proceedings of the 6th AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 2006.
  4. [Botea and Harabor, 2013] Adi Botea and Daniel Harabor. Path planning with compressed all-pairs shortest paths data. In Proceedings of the 23rd International Conference on Automated Planning and Scheduling, 2013.
  5. [Botea et al., 2004] Adi Botea, Martin Müller, and Jonathan Schaeffer. Near optimal hierarchical path-finding. Journal of Game Development, 1:7-28, 2004.
  6. [Cazenave, 2006] Tristan Cazenave. Optimizations of data structures, heuristics and algorithms for path-finding on maps. In Proceedings of the IEEE Symposium on Com- putational Intelligence and Games, 2006.
  7. [Dijkstra, 1959] Edsger W. Dijkstra. A note on two prob- lems in connexion with graphs. Numerische Mathematik, 1(1):269-271, 1959.
  8. [Faloutsos and Lin, 1995] Christos Faloutsos and King-Ip Lin. Fastmap: A fast algorithm for indexing, data-mining and visualization of traditional and multimedia datasets. In Proceedings of the ACM SIGMOD International Con- ference on Management of Data, 1995.
  9. [Fredman and Tarjan, 1984] Michael Fredman and Robert Tarjan. Fibonacci heaps and their uses in improved net- work optimization algorithms. In Proceedings of the 25th Annual Symposium on Foundations of Computer Science, 1984.
  10. [Geisberger et al., 2008] Robert Geisberger, Peter Sanders, Dominik Schultes, and Daniel Delling. Contraction hi- erarchies: Faster and simpler hierarchical routing in road networks. In Proceedings of the 7th International Confer- ence on Experimental Algorithms, 2008.
  11. [Goldenberg et al., 2010] Meir Goldenberg, Ariel Felner, Nathan Sturtevant, and Jonathan Schaeffer. Portal-based true-distance heuristics for path finding. In Proceedings of the 3rd Annual Symposium on Combinatorial Search, 2010.
  12. [Goldenberg et al., 2011] Meir Goldenberg, Nathan Sturte- vant, Ariel Felner, and Jonathan Schaeffer. The com- pressed differential heuristic. In Proceedings of the 25th AAAI Conference on Artificial Intelligence, 2011.
  13. [Hart et al., 1968] Peter E. Hart, Nils J. Nilsson, and Bertram Raphael. A formal basis for the heuristic determination of minimum cost paths. IEEE Transactions on Systems, Science, and Cybernetics, SSC-4(2):100-107, 1968.
  14. [Holte et al., 1994] Robert Holte, Chris Drummond, M. B. Perez, Robert Zimmer, and Alan Macdonald. Searching with abstractions: A unifying framework and new high- performance algorithm. In Proceedings of the 10th Cana- dian Conference on Artificial Intelligence, 1994. [Leighton et al., 2008] Michael Leighton, Wheeler Ruml, and Robert Holte. Faster optimal and suboptimal hier- archical search. In Proceedings of the 1st International Symposium on Combinatorial Search, 2008.
  15. [Pochter et al., 2010] Nir Pochter, Aviv Zohar, Jeffery Rosenschein, and Ariel Felner. Search space reduction us- ing swamp hierarchies. In Proceedings of the 24th AAAI Conference on Artificial Intelligence, 2010.
  16. [Rayner et al., 2011] Chris Rayner, Michael Bowling, and Nathan Sturtevant. Euclidean heuristic optimization. In Proceedings of the 25th AAAI Conference on Artificial In- telligence, 2011.
  17. [Russell and Norvig, 2009] Stuart J. Russell and Peter Norvig. Artificial Intelligence: A Modern Approach. Pren- tice Hall, 2009.
  18. [Storandt, 2013] Sabine Storandt. Contraction hierarchies on grid graphs. In Proceedings of KI: the 36th Annual Ger- man Conference on Artificial Intelligence, 2013.
  19. [Strasser et al., 2015] Ben Strasser, Adi Botea, and Daniel Harabor. Compressing optimal paths with run length encoding. Journal of Artificial Intelligence Research, 54:593-629, 2015.
  20. [Sturtevant and Buro, 2005] Nathan Sturtevant and Michael Buro. Partial pathfinding using map abstraction and re- finement. In Proceedings of the 20th AAAI Conference on Artificial Intelligence, 2005.
  21. [Sturtevant et al., 2009] Nathan Sturtevant, Ariel Felner, Max Barrer, Jonathan Schaeffer, and Neil Burch. Memory- based heuristics for explicit state spaces. In Proceedings of the 21st International Joint Conference on Artificial In- telligence, 2009.
  22. [Sturtevant, 2012] Nathan Sturtevant. Benchmarks for grid- based pathfinding. Transactions on Computational Intelli- gence and AI in Games, 4(2):144-148, 2012.
  23. [Torgerson, 1952] Warren S. Torgerson. Multidimensional scaling: I. theory and method. Psychometrika, 17(4):401- 419, 1952.
  24. [Uras and Koenig, 2014] Tansel Uras and Sven Koenig. Identifying hierarchies for fast optimal search. In Proceed- ings of the 28th AAAI Conference on Artificial Intelligence, 2014.
  25. [Uras and Koenig, 2015] Tansel Uras and Sven Koenig. Sub- goal graphs for fast optimal pathfinding. In Steve Rabin, editor, Game AI Pro 2: Collected Wisdom of Game AI Pro- fessionals, chapter 15, pages 145-159.
  26. A K Peters/CRC Press, 2015.
  27. [Vandenberghe and Boyd, 1996] Lieven Vandenberghe and Stephen Boyd. Semidefinite programming. SIAM Review, 38:49-95, 1996.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards