Using Available Memory to Transform Graphplan's Search

Terry Zimmerman, Subbarao KambhampatiIJCAI 2003

Abstract

We present a major variant of the Graphplan algorithm that employs available memory to transform the depth-first nature of Graphplan's search into an iterative state space view in which heuristics can be used to traverse the search space. When the planner, PEGG, is set to conduct exhaustive search, it produces guaranteed optimal parallel plans 2 to 90 times faster than a version of Graphplan enhanced with CSP speedup methods. By heuristically pruning this search space, PEGG produces plans comparable to Graphplan's in makespan, at speeds approaching state-of-the-art heuristic serial planners.

Introduction

In automated planning, Graphplan is a classic algorithm renowned for its ability to find optimal parallel plans—plans where multiple non-interfering actions can occur simultaneously. It achieves this through an Iterative Deepening A (IDA) search style. However, IDA* is inherently "forgetful." To conserve memory, it discards nearly all information learned in one iteration before beginning the next. This leads to a significant computational redundancy, often referred to as the "Groundhog Day" effect: if a solution is not found at level 10, the planner starts level 11 by re-proving almost every failure it already encountered. This paper introduces PEGG, a system designed to break this cycle by utilizing available memory to store and reuse the search space across iterations.

Methodology

PEGG (Planning with Enhanced Graphplan Graph) introduces three primary innovations to transform Graphplan's search:

  1. Search Trace (ST): Instead of discarding nodes, PEGG stores a linked set of "search segments" (states and the actions used to reach them) that represent the search space visited in previous episodes.
  2. Transposition: The authors recognize that a set of subgoals reached at level $k$ will inevitably be reached again at level $k+1$. PEGG "transposes" the existing search trace upward by one level for each new iteration, providing the planner with a pre-mapped starting point for its search.
  3. Heuristic Transformation: By maintaining a persistent trace of the state space, PEGG can abandon Graphplan's default depth-first search in favor of heuristic-driven exploration. It utilizes state-space heuristics, such as the "adjusted sum" heuristic, to rank nodes in the trace and prioritize the most promising areas.
State space view of Graphplan's search space showing consecutive episodes and action assignments.

The system operates in two distinct modes: so-PEGG, a step-optimal mode that visits all segments but orders them by heuristic merit, and PEGG, a faster "beam search" mode that explores only the top 20% of search segments, sacrificing optimality for speed.

Evaluation and Results

The researchers evaluated PEGG using standard benchmarks from the International Planning Competitions (AIPS '98, '00, and '02), including domains like Blocksworld, Logistics, Gripper, and Depot. PEGG demonstrated dramatic performance improvements over both standard Graphplan and an enhanced version (GP-e) incorporating modern CSP speedup methods.

In the so-PEGG mode, the system produced guaranteed optimal plans 2 to 90 times faster than GP-e. Extreme scaling was observed in specific problems; for instance, in the ztravel-3-8a problem, PEGG was over 423x faster than the enhanced Graphplan. The pruned PEGG mode achieved speeds comparable to state-of-the-art serial planners while still finding optimal or near-optimal plan lengths in nearly every test case.

Comprehensive performance comparison of PEGG against standard and enhanced Graphplan across various IPC benchmarks.

Conclusion

PEGG demonstrates that the planning graph can serve as a compact representation for caching search traces, effectively bridging the gap between symbolic Graphplan approaches and modern heuristic state-space search. While memory constraints remain a consideration for extremely large problems, the use of available memory to eliminate search redundancy offers a significant leap in planning efficiency. Future work will explore the integration of additional state-of-the-art heuristics and further refine the trade-offs between search pruning and plan optimality.

Summary updated

BibTeX
@inproceedings{zimmerman2003using,
  author = {Terry Zimmerman and Subbarao Kambhampati},
  title = {{Using Available Memory to Transform Graphplan's Search}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2003},
  url = {https://openreview.net/forum?id=rk-z_SGOZB},
}
Figure