[Paper Review] Towards Rational Deployment of Multiple Heuristics in A*
This paper proposes Lazy A* and Rational Lazy A*, two methods to reduce heuristic computation time in A* search by deferring evaluation of expensive heuristics. Lazy A* computes heuristics only when needed during search, while Rational Lazy A* uses a value-of-information criterion to decide whether to compute the second heuristic at all, achieving state-of-the-art performance with significant speedups in planning and 15-puzzle domains.
The obvious way to use several admissible heuristics in A* is to take their maximum. In this paper we aim to reduce the time spent on computing heuristics. We discuss Lazy A*, a variant of A* where heuristics are evaluated lazily: only when they are essential to a decision to be made in the A* search process. We present a new rational meta-reasoning based scheme, rational lazy A*, which decides whether to compute the more expensive heuristics at all, based on a myopic value of information estimate. Both methods are examined theoretically. Empirical evaluation on several domains supports the theoretical results, and shows that lazy A* and rational lazy A* are state-of-the-art heuristic combination methods.
Motivation & Objective
- To reduce the computational cost of evaluating multiple admissible heuristics in A* search without sacrificing optimality.
- To address the inefficiency of naively computing all heuristics for every node, especially when some heuristics are expensive to compute.
- To develop a method that intelligently decides whether to compute a more expensive heuristic based on expected information gain.
- To improve search efficiency by trading off a small increase in node expansions for a significant reduction in heuristic evaluation time.
- To provide a practical, rational meta-reasoning framework for heuristic selection in A* that outperforms existing online learning and randomization approaches.
Proposed method
- Lazy A* evaluates heuristics on-demand: only the faster heuristic $h_1$ is computed when a node is first generated, and the more expensive $h_2$ is computed only when the node re-emerges at the front of Open.
- The algorithm maintains $f(n) = g(n) + h_1(n)$ initially, and updates to $f_{\text{max}}(n) = g(n) + \max(h_1(n), h_2(n))$ only when $h_2(n)$ is computed.
- Rational Lazy A* uses a myopic value-of-information estimate to decide whether to compute $h_2(n)$ at the time of re-entry into Open, based on expected benefit versus computation cost.
- The decision in Rational Lazy A* is based on comparing the expected improvement in $f$-value against the cost $t_2$ of computing $h_2$, using a rational meta-reasoning framework.
- The method is designed to be simpler to implement than Sel-MAX while making more informed decisions, as it leverages the fact that $f_1(n) \leq C^*$ when the node is re-visited.
- Both methods are theoretically analyzed and empirically evaluated on 15-puzzle and planning domains, with performance measured in node expansions, heuristic evaluations, and runtime.
Experimental results
Research questions
- RQ1Can lazy evaluation of heuristics reduce total search time in A* without sacrificing optimality?
- RQ2How does the performance of Lazy A* compare to standard A* with maximum heuristic combination in terms of node expansions and runtime?
- RQ3Can a rational meta-reasoning approach that evaluates the value of information from computing $h_2$ lead to further reductions in heuristic computation time?
- RQ4In what domains does Rational Lazy A* outperform existing methods like Sel-MAX or random heuristic selection?
- RQ5What conditions (e.g., heuristic cost disparity, non-uniform operator costs) maximize the benefit of lazy and rational heuristic evaluation?
Key findings
- Lazy A* reduces heuristic evaluations by up to 28% in the 15-puzzle with $\Delta x$ and $\Delta y$ heuristics, saving time when $t_2$ is significantly larger than $t_1$.
- In domains where $h_2$ dominates $h_1$ (e.g., 7-8 PDB vs. Manhattan distance), Lazy A* achieves only 4% good nodes, indicating limited benefit when $h_2$ is always needed early.
- Rational Lazy A* outperforms Sel-MAX in planning domains by making more informed decisions, as it evaluates the value of $h_2$ only after seeing $f_1(n)$, unlike Sel-MAX which decides at node generation.
- On weighted 15-puzzle and planning domains, Rational Lazy A* achieves state-of-the-art performance by reducing heuristic computation time while expanding only slightly more nodes than $A^*_{\text{MAX}}$.
- The combination of Lazy A* with HBP (Heuristic Branching Pruning) reduces the number of good nodes from 28% to 11% in the $\Delta x/\Delta y$ experiment, showing that pruning reduces the scope for lazy evaluation.
- In experiments with fast heuristics (e.g., $\Delta x/\Delta y$), the time savings from lazy evaluation were negligible due to low $t_2$, but became substantial when $h_2$ was expensive (e.g., 7-8 PDB), confirming the method's dependence on heuristic cost disparity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.