Saturated Post-hoc Optimization for Classical Planning

Jendrik Seipp, Thomas Keller, Malte Helmert

Abstract

In classical planning, finding optimal solutions efficiently depends on the quality of admissible heuristics. While multiple heuristics can be combined to improve guidance, standard methods like Post-hoc Optimization (PhO) often fail to fully exploit the available action costs. This paper introduces Saturated Post-hoc Optimization ($h^{SPhO}$), a novel heuristic that integrates the concept of saturated costs into a Linear Programming (LP) framework. By replacing original action costs with saturated costs, $h^{SPhO}$ generates tighter constraints, leading to more accurate estimates. Theoretical analysis proves that $h^{SPhO}$ dominates standard PhO, and empirical results on International Planning Competition (IPC) benchmarks show significant improvements in problem coverage and search efficiency.

Introduction

Classical planning aims to identify the least-cost sequence of actions to reach a goal state. Planners utilize heuristics—functions that estimate the remaining cost—to prune the search space. To ensure optimality, these heuristics must be admissible, never overestimating the true cost. When multiple heuristics are available, the challenge lies in combining them without "double-counting" action costs, which would violate admissibility.

Cost partitioning provides a formal framework for distributing action costs among heuristics. Existing techniques like Post-hoc Optimization (PhO) use LP to find a weighted combination of heuristics. However, PhO is often conservative because it does not account for the fact that a heuristic might only require a fraction of an action's cost to maintain its estimate.

Methodology: Integrating Saturated Costs

The authors propose a synergy between two powerful concepts:

  1. Post-hoc Optimization (PhO): An LP-based approach that assigns weights to heuristics based on the actions that affect them.
  2. Saturated Cost Partitioning (SCP): The realization that for any heuristic, there exists a "saturated cost"—the minimum cost per action needed to preserve the heuristic's current estimate. Any cost assigned beyond this point is effectively wasted.

The Innovation: The Saturated Post-hoc Optimization ($h^{SPhO}$) heuristic replaces the original action costs in the PhO linear program with saturated costs. Since saturated costs are always less than or equal to original costs, the LP constraints become tighter. In a minimization context, tighter constraints yield higher, more accurate heuristic values while strictly maintaining admissibility.

Figure 5: Comparison of search effort between standard PhO and Saturated PhO. Points below the diagonal indicate superior performance by the saturated version.

Key Insights and Theoretical Dominance

  • Implicit Logic: Unlike traditional PhO, which requires manual definition of which actions "affect" a heuristic, $h^{SPhO}$ handles this automatically. If an action does not affect a heuristic, its saturated cost is zero, and the LP naturally ignores it.
  • Theoretical Dominance: The paper provides a formal proof that $h^{SPhO}$ theoretically dominates $h^{PhO}$. It is mathematically impossible for the new method to provide a lower estimate than the original PhO.
  • Cost Recovery: By capping the contribution of an action at its saturated cost, the LP can "reinvest" saved costs into other heuristics, significantly boosting the total estimate.

Experimental Evaluation

The researchers implemented $h^{SPhO}$ in the Fast Downward planning system and tested it against 1827 tasks from the optimal sequential tracks of the IPC 1998–2018. They evaluated four heuristic sets: Pattern Databases (HC, SYS), Cartesian abstractions (CART), and a combination of all three (COMB).

Figure 6: Detailed coverage results across various heuristic sets. The bold numbers indicate the significant gains achieved by Saturated PhO over standard methods.

Key Results

  • Massive Coverage Gains: $h^{SPhO}$ solved significantly more tasks than standard $h^{PhO}$ across all settings. The most dramatic improvement occurred with Cartesian Abstractions (CART), which saw an increase of +176 tasks solved. The Combined (COMB) setting saw an increase of +171 tasks.
  • Search Efficiency: The increased accuracy often reduced the number of states explored by orders of magnitude. In 52 tasks, $h^{SPhO}$ provided "perfect" guidance, allowing the planner to reach the goal without any unnecessary exploration.

Conclusion

Saturated Post-hoc Optimization represents a significant advancement in heuristic combination for classical planning. By leveraging saturated costs, the method provides a tighter, theoretically superior admissible heuristic that translates into substantial performance gains on standard benchmarks. Future work may explore extending this approach to non-abstraction-based heuristics, such as landmarks or flow-based heuristics, to further broaden its applicability.

Summary updated

BibTeX
@inproceedings{seipp2021saturated,
  author = {Jendrik Seipp and Thomas Keller and Malte Helmert},
  title = {{Saturated Post-hoc Optimization for Classical Planning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i13.17419},
}
Figure