Higher-Dimensional Potential Heuristics for Optimal Classical Planning

Florian Pommerening, Malte Helmert, Blai Bonet

Abstract

Potential heuristics for state-space search are defined as weighted sums over simple state features. Atomic features consider the value of a single state variable in a factored state representation, while binary features consider joint assignments to two state variables. Previous work showed that the set of all admissible and consistent potential heuristics using atomic features can be characterized by a compact set of linear constraints. We generalize this result to binary features and prove a hardness result for features of higher dimension. Furthermore, we prove a tractability result based on the treewidth of a new graphical structure we call the context-dependency graph. Finally, we study the relationship of potential heuristics to transition cost partitioning. Experimental results show that binary potential heuristics are significantly more informative than the previously considered atomic ones.

Introduction

In classical planning, the efficiency of state-space search for optimal solutions heavily relies on the quality of the heuristic function. Potential heuristics represent a promising class of heuristics, defined as a weighted sum of state features. Historically, research focused on atomic features, which evaluate single state variables independently. While computationally efficient via Linear Programming (LP), atomic features are fundamentally limited; they cannot exceed the accuracy of the State Equation (SEQ) heuristic.

To provide more precise guidance, planners must account for correlations between multiple variables—for instance, the joint state of a vehicle and its cargo. However, scaling to multi-variable features typically triggers an exponential explosion in the number of constraints required to maintain admissibility and consistency. This paper explores the theoretical and practical boundaries of higher-dimensional potential heuristics.

Methodology

The authors extend the framework of potential heuristics through several key contributions:

  1. Compact LP for Binary Features: The paper demonstrates that for binary features (pairs of variables), the exponential set of consistency constraints can be reduced to a polynomial-sized set of linear constraints. This enables the efficient computation of optimal binary potential heuristics.
  2. Complexity of Higher Dimensions: A critical theoretical boundary is established: characterizing potential heuristics for features involving three or more variables is coNP-complete.
  3. Tractability via Context-Dependency: To address this hardness, the authors introduce the context-dependency graph. They prove that if this graph has low treewidth, techniques like Bucket Elimination can generate a compact LP even for high-dimensional features.
  4. Unification with Cost Partitioning: The study proves a formal equivalence between potential heuristics over a set of abstractions and Optimal Transition Cost Partitioning (TCP), bridging two major areas of heuristic research.

Experimental Results

The approach was evaluated using benchmarks from the International Planning Competition (IPC) 1998–2014.

Heuristic Accuracy

Binary potential heuristics ($h^{pot}_2$) show a dramatic improvement in informativeness over atomic ones ($h^{pot}_1$). At the initial state of the planning tasks, $h^{pot}_2$ provided a perfect estimate of the true cost to the goal ($h^*$) in 63% of cases, compared to only 16% for $h^{pot}_1$.

Accuracy of binary potential heuristics ($h_2^{pot}$) compared to optimal costs ($h^*$) at the initial state. Many points lie on the diagonal, indicating perfect estimates.

Search Performance

The increased accuracy translates directly into search efficiency. In A* search, binary potential heuristics consistently resulted in significantly fewer state expansions than their atomic counterparts.

Comparison of state expansions for $h_1^{pot}$ vs. $h_2^{pot}$ (log scale). Points below the diagonal indicate that $h_2^{pot}$ requires fewer expansions to find an optimal solution.

Conclusion

Moving from atomic to binary features represents a significant leap in the power of potential heuristics. While a "hardness wall" exists at three variables, the use of structural properties like treewidth offers a path forward for even higher-dimensional features. Future work will focus on the automated selection of features and developing more efficient approximations for high-dimensional cost partitioning.

Summary updated

BibTeX
@inproceedings{pommerening2017higher,
  author = {Florian Pommerening and Malte Helmert and Blai Bonet},
  title = {{Higher-Dimensional Potential Heuristics for Optimal Classical Planning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  url = {https://openreview.net/forum?id=BJb3_6ldZH},
}
Figure