Understanding and Extending Graphplan

Subbarao Kambhampati, Eric Parker, Eric LambrechtECP 1997

TL;DR

This paper offers a novel reconstruction of the Graphplan algorithm, reframing it as a forward state-space refinement process. This perspective reveals Graphplan's strengths, particularly its ability to handle parallelism and find optimal plans, and opens doors for significant extensions, including making it goal-directed and improving its backward search with constraint satisfaction techniques.

What Problem Does This Paper Address?

Classical AI planning algorithms often struggle with efficiency and scalability, especially in domains with many actions. Graphplan, a popular planning algorithm, was a significant advancement, but its underlying mechanisms and sources of strength were not fully understood. This paper aims to demystify Graphplan by providing a clear reconstruction and then leveraging this understanding to propose and explore extensions that enhance its efficiency, expressiveness, and applicability to more complex planning problems.

Methods

The core of the paper is a reconstruction of Graphplan by viewing it through the lens of forward state-space refinement. Instead of treating Graphplan as a black box, the authors show how its planning graph can be understood as a compact, disjunctive representation of a forward state-space search tree.

Key methodological contributions include:

  • Reconstruction as Disjunctive State-Space Refinement: The planning graph is interpreted as a unioned representation of states at each level of a forward search, with "mutex" relations acting as a mechanism to prune illegal combinations of propositions, thus making the approximation finer.
  • Connection to Dynamic Constraint Satisfaction Problems (DCSP): The backward search phase of Graphplan is reframed as solving a DCSP, providing a new perspective on its operation and suggesting potential improvements.
  • Extensions: The paper proposes and discusses several extensions:
  • Goal-Directedness: Using operator graphs and adapting means-ends analysis (Mea-Graphplan) to focus the planning process on relevant actions.
  • Backward Mutex Propagation: Inferring mutex relations in the backward direction to improve efficiency.
  • Handling Expressive Actions: Extending Graphplan to manage conditional effects, negated literals, and disjunctive preconditions.
  • CSP-based Backward Search: Applying techniques like forward checking and dynamic variable ordering from CSP literature to enhance Graphplan's backward search.
  • Separating Planning and Scheduling: Decomposing the problem into distinct planning and scheduling phases to improve performance on resource-constrained problems.

Datasets

Not discussed in the paper. The paper uses a small example domain (blocksworld) for illustration and refers to benchmark problems (e.g., bw-large-a) used in other related work for performance evaluation of proposed extensions.

Key Insights and Ideas

  • Graphplan's core innovation is refining disjunctive partial plans: The paper argues that Graphplan's ability to refine disjunctive partial plans (represented by the planning graph) is more significant than action parallelism itself.
  • Mutexes are crucial for pruning illegal states: Mutex relations are not just an optimization; they are essential for making the planning graph a tighter approximation of the actual state space, thereby improving search efficiency.
  • Graphplan as a refinement planner: The reconstruction firmly places Graphplan within the broader category of refinement planners, offering a unified view of various planning approaches.
  • DCSP perspective unlocks new improvements: Viewing Graphplan's backward search as a DCSP opens the door to leveraging decades of research in constraint satisfaction for significant performance gains.
  • Goal-directedness is key for efficiency: In domains with many irrelevant actions, focusing the planning process on goal-relevant actions (via operator graphs or Mea-Graphplan) dramatically reduces planning time.

Key Results

  • The paper demonstrates through an example that making Graphplan goal-directed (Mea-Graphplan) can lead to significant performance improvements, particularly in blocks world problems, where it can solve larger instances that cause the standard Graphplan to run out of memory.
  • Preliminary studies suggest that backward mutex propagation can derive a substantial set of mutex relations, potentially aiding search control.
  • The paper posits that separating planning from scheduling can lead to dramatic improvements in plan generation efficiency, especially for resource-constrained problems.

Limitations and Future Work

  • Approximation limitations: The paper acknowledges that the "naive planning-graph" is an upper bound and that mutex relations, while helpful, only capture 2-sized illegal subsets, meaning some illegal projections might still remain.
  • Higher-order interactions: The effectiveness of 2-sized mutexes might diminish in domains with complex, higher-order interactions between actions (e.g., involving global resources).
  • Evaluation of extensions: While several extensions are proposed and discussed, the paper indicates that detailed evaluation and formalization of some of these (e.g., backward mutex propagation, CSP-based search, planning/scheduling separation) are ongoing or forthcoming.
  • Future work: The authors explicitly mention future work in formalizing and evaluating the separation of planning and scheduling, exploring the utility of CSP techniques for backward search, and further investigating backward mutex propagation.

Summary updated

BibTeX
@inproceedings{kambhampati1997understanding,
  author = {Subbarao Kambhampati and Eric Parker and Eric Lambrecht},
  title = {{Understanding and Extending Graphplan}},
  booktitle = {ECP},
  year = {1997},
  doi = {10.1007/3-540-63912-8\_91},
}
Figure