Lune

ICLR2026Top-tier venue

Learning Admissible Heuristics for A*: Theory and Practice

Ehsan Futuhi, Nathan R. Sturtevant

Abstract

Heuristic functions are central to the performance of search algorithms such as A*, where admissibility—the property of never overestimating the true shortest-path cost—guarantees solution optimality. Recent deep learning approaches often disregard full admissibility and provide limited guarantees on generalization beyond the training data. We address both of these limitations. First, we pose heuristic learning as a constrained optimization problem and introduce Cross-Entropy Admissibility (CEA), a loss function that enforces admissibility during training. When evaluated on the Rubik’s Cube domain, our method yields heuristics with near-perfect admissibility and significantly stronger guidance than compressed pattern database (PDB) heuristics. On the theoretical side, we derive a new upper bound on the expected suboptimality of A*. By leveraging PDB abstractions and the structural properties of graphs such as the Rubik’s Cube, we tighten the bound on the number of training samples needed for A* to generalize to unseen states. Replacing a general hypothesis class with a ReLU neural network gives bounds that depend primarily on the network’s width and depth, rather than on graph size. Using the same network, we also provide the first generalization guarantees for goal-dependent heuristics.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • TransPath: Learning Heuristics for Grid-Based Pathfinding via Transformers cites Path Planning using Neural A Search
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on14

  1. Path Planning using Neural A* SearchRyo Yonetani, Tatsunori Taniai, Mohammadamin Barekatain, Mai Nishimura et al.ICML 2021 · 134 citations
  2. SayCanPay: Heuristic Planning with Large Language Models Using Learnable Domain KnowledgeRishi Hazra, Pedro Zuidberg Dos Martires, Luc De RaedtAAAI 2024 · 74 citations
  3. Sample Complexity of Tree Search Configuration: Cutting Planes and BeyondMaria-Florina Balcan, Siddharth Prasad, Tuomas Sandholm, Ellen VitercikNeurIPS 2021 · 54 citations
  4. LLM-A*: Large Language Model Enhanced Incremental Heuristic Search on Path PlanningSilin Meng, Yiwei Wang, Cheng-Fu Yang, Nanyun Peng et al.EMNLP Findings 2024 · 37 citations
  5. TransPath: Learning Heuristics for Grid-Based Pathfinding via TransformersDaniil E. Kirilenko, Anton Andreychuk, Aleksandr Panov, Konstantin S. YakovlevAAAI 2023 · 34 citations

Related papers

  1. Sample Complexity of Learning Heuristic Functions for Greedy-Best-First and A* SearchShinsaku Sakaue, Taihei OkiNeurIPS 2022 · 8 citations
  2. A Training Data Recipe to Accelerate A* Search with Language ModelsDevaansh Gupta, Boyang LiEMNLP Findings 2024 · 1 citation
  3. Trajectory-Aware Heuristic Learning for Combinatorial SearchMustafa Seddiqi, Marta Kersten-Oertel, Tiberiu PopaICML 2026
  4. A machine learning approach that beats Rubik's cubesAlexander Chervov, Kirill Khoruzhii, Nikita Bukhal, Jalal Naghiyev et al.NeurIPS 2025 · 2 citations
  5. A Parallel CPU-GPU Framework for Batching Heuristic Operations in Depth-First Heuristic SearchEhsan Futuhi, Nathan R. SturtevantAAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines