Sample Complexity of Learning Heuristic Functions for Greedy-Best-First and A* Search
Not on the map. Why?
Abstract (arXiv)
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 textitdata-driven algorithm design and evaluate the textitpseudo-dimension of a class of utility functions that measure the performance of parameterized algorithms. Assuming that a vertex set of size n is fixed, we present O(nlg n) and O(n2lg 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) if every vertex has a degree of at most d and to O(n lg n) if edge weights are integers bounded by poly(n). We also give 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 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.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 11 of its 48 references that are in the map. First posted on arXiv 20 May 2022.
Builds on
11 of 48 references.
References · 11
- 2019Position-aware Graph Neural Networkscited by 203
- 2018Learning to Branchcited by 78
- 2020Retro*: Learning Retrosynthetic Planning with Neural Guided A* Searchcited by 76
- 2015A PAC Approach to Application-Specific Algorithm Selectioncited by 58
- 2020Path Planning using Neural A* Searchcited by 52
- 2017Learning Heuristic Search via Imitationcited by 34
- 2021Sample Complexity of Tree Search Configuration: Cutting Planes and Beyondcited by 33
- 2022Learning Predictions for Algorithms with Predictionscited by 25
- 2021Improved Sample Complexity Bounds for Branch-and-Cutcited by 13
- 2020Refined bounds for algorithm configuration: The knife-edge of dual class approximabilitycited by 12
- 2021Embeddings and labeling schemes for A*cited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 0; 2025: 2; 2026: 2.
6 papers.
- 2023Generalization Bound and Learning Methods for Data-Driven Projections in Linear Programmingcited by 10
- 2022Improved Generalization Bound and Learning of Sparsity Patterns for Data-Driven Low-Rank Approximationcited by 5
- 2025Learning Admissible Heuristics for A*: Theory and Practicecited by 2
- 2025Generalization Guarantees for Learning Branch-and-Cut Policies in Integer Programmingcited by 0
- 2026AAC: Admissible-by-Architecture Differentiable Landmark Compression for ALTcited by 0
- 2026Smoothed Analysis of Inconsistent A*cited by 0
- 2026Smoothed Analysis of Inconsistent A*20 Sep 2026
- 2026AAC: Admissible-by-Architecture Differentiable Landmark Compression for ALT22 Apr 2026
- 2025Learning Admissible Heuristics for A*: Theory and Practice26 Sep 2025
- 2025Generalization Guarantees for Learning Branch-and-Cut Policies in Integer Programming16 May 2025
- 2023Generalization Bound and Learning Methods for Data-Driven Projections in Linear Programming1 Sep 2023
- 2022Improved Generalization Bound and Learning of Sparsity Patterns for Data-Driven Low-Rank Approximation17 Sep 2022