Abstract
Admissible heuristics are critical for effective domain-independent planning when optimal solutions must be guaranteed. Two useful heuristics are the $h^m$ heuristics, which generalize the reachability heuristic underlying the planning graph, and pattern database (PDB) heuristics. These heuristics, however, have serious limitations: reachability heuristics capture only the cost of critical paths in a relaxed problem, ignoring the cost of other relevant paths, while PDB heuristics cannot accommodate too many variables in patterns, and methods for automatically selecting patterns that produce good estimates are not known.
We introduce two refinements of these heuristics: First, the additive $h^m$ heuristic which yields an admissible sum of $h^m$ heuristics using a partitioning of the set of actions. Second, the constrained PDB heuristic which uses constraints from the original problem to strengthen the lower bounds obtained from abstractions. We also advance methods for automatically deriving these heuristics from STRIPS encodings. Evaluation shows improvement over existing heuristics in several domains, although no single heuristic dominates all others across all domains.
Introduction
In domain-independent planning, the goal is to find the cheapest sequence of actions to reach a goal. To do this efficiently, we use admissible heuristics—estimates of the remaining cost that are guaranteed never to overestimate. Existing heuristics often suffer from two major issues:
- The Critical Path Problem: Standard reachability heuristics like $h^m$ only consider the most expensive "critical path" to a goal, ignoring the cumulative cost of independent subgoals.
- The "Impossible State" Problem: PDBs simplify problems by ignoring variables, which often creates "impossible" shortcuts in the abstraction because the PDB lacks knowledge of physical constraints (mutexes) present in the real problem.
Methods
To address these limitations, we propose two main innovations:
- Additive $h^m$ via Cost Relaxation: We partition the set of all possible actions into disjoint groups. For each group, we calculate an $h^m$ heuristic where actions outside that group are treated as having zero cost. Summing these individual estimates remains admissible while capturing the combined cost of multiple subgoals.
- Constrained PDBs: When creating a PDB abstraction, we retain "at-most-one-atom" invariants (mutexes). This prevents the abstract search from utilizing impossible states, leading to more accurate lower bounds.
- Automatic Pattern Selection: We developed an iterative algorithm to choose which variables to group together. It starts with simple patterns, identifies where projected plans fail due to ignored variables, and merges patterns to resolve those conflicts.
Key Results
Our evaluation across several classic benchmarks, including Blocksworld and the 15-Puzzle, demonstrates the effectiveness of these refinements.
In Blocksworld, additive $h^2$ was the clear winner, providing significantly more accurate estimates than standard $h^2$ or PDBs. Conversely, in the 15-Puzzle, constrained PDBs were remarkably effective, outperforming additive $h^2$. Notably, standard $h^2$ failed to solve any 15-puzzle instances within the limits, while our new methods solved them efficiently.
Our iterative pattern selection method performed as well as, and often better than, the best of multiple random variable groupings, proving that high-quality heuristics can be derived automatically without human intervention.
Conclusion
While the new heuristics significantly reduce the number of nodes explored, they do introduce higher computational overhead per search node. Admissibility is preserved by splitting action costs, and the inclusion of mutex constraints in abstractions creates much "sharper" heuristics. Future work will focus on optimizing the partitioning logic and addressing memory constraints for PDBs in larger problem domains.
Summary updated