Lune

NeurIPS2022Top-tier venue

Sample Complexity of Learning Heuristic Functions for Greedy-Best-First and A* Search

Shinsaku Sakaue, Taihei Oki

2022Year
8Citations
4Top-tier citations

Abstract

Greedy best-first search (GBFS) and A* search (A*) are popular algorithms for path-finding on large graphs. Both use so-called heuristic functions, which estimate how close a vertex is to the goal. While heuristic functions have been handcrafted using domain knowledge, recent studies demonstrate that learning heuristic functions from data is effective in many applications. Motivated by this emerging approach, we study the sample complexity of learning heuristic functions for GBFS and A*. We build on a recent framework called data-driven algorithm design and evaluate the pseudo-dimension of a class of utility functions that measure the performance of parameterized algorithms. Assuming that a vertex set of size nn is fixed, we present O(nlg⁡n)\mathrm{O}(n\lg n) and O(n2lg⁡n)\mathrm{O}(n^2\lg n) upper bounds on the pseudo-dimensions for GBFS and A*, respectively, parameterized by heuristic function values. The upper bound for A* can be improved to O(n2lg⁡d)\mathrm{O}(n^2\lg d) if every vertex has a degree of at most dd and to O(nlg⁡n)\mathrm{O}(n \lg n) if edge weights are integers bounded by poly(n)\mathrm{poly}(n). We also give Ω(n)\Omega(n) lower bounds for GBFS and A*, which imply that our bounds for GBFS and A* under the integer-weight condition are tight up to a lg⁡n\lg n factor. Finally, we discuss a case where the performance of A* is measured by the suboptimality and show that we can sometimes obtain a better guarantee by combining a parameter-dependent worst-case bound with a sample complexity bound.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 46539dc7-bf33-4d93-aab6-4f0a0e5ec9cb

Cited by top-tier papers4

Ask how each one uses it

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines