Adriana Lopez and Fahiem Bacchus
University of Toronto
Abstract
This paper presents CSP-PLAN, a novel approach to automated planning that encodes problems directly as Constraint Satisfaction Problems (CSPs). By leveraging Successor State Axioms and logical transformations, CSP-PLAN identifies richer problem structures than traditional planning graph-based methods like GraphPlan. Experimental results demonstrate that CSP-PLAN outperforms standard GraphPlan and is competitive with state-of-the-art SAT-based planners, while offering superior performance and plan quality in complex resource management domains.
Introduction
In the late 1990s, the GraphPlan algorithm revolutionized automated planning by introducing the "planning graph" to prune search spaces via mutual exclusion (mutex) constraints. However, subsequent advancements often treated the planning graph as an intermediate step, translating it into SAT or CSP formats for solving. This paper identifies a missed opportunity: the planning graph is merely one structural representation. By translating planning problems directly into a CSP, researchers can utilize well-established constraint satisfaction techniques to uncover deeper pruning opportunities and handle non-boolean resources, such as fuel or currency, more naturally.
Methodology
CSP-PLAN operates through three primary phases:
- BASE-CSP Encoding: Planning problems are represented using boolean variables for propositions and actions at each time step. Unlike GraphPlan's "no-op" actions, CSP-PLAN utilizes Successor State Axioms from Situation Calculus to manage state transitions elegantly.
- Logical Transformations: This core innovation applies logical reductions directly to the CSP. The authors formally prove that these transformations subsume GraphPlan's reachability and mutex analysis, finding all constraints GraphPlan would identify plus additional ones it misses.
- Incremental Solving: The system searches for a plan of length k. If no solution is found, k is incremented, ensuring the discovery of the shortest possible plan.
Key Insights
- GraphPlan as a CSP Subset: The authors demonstrate that the structural analysis performed by planning graphs is a specific form of CSP consistency checking. The CSP framework thus provides GraphPlan's benefits inherently while enabling more powerful inferences.
- Symbolic Reduction: Before the search begins, symbolic logic simplifies constraints. Propagating initial state information allows the system to prune variables and constraints early.
- BSEARCH Heuristic: While standard solvers use general heuristics, the authors developed BSEARCH, a variable ordering heuristic that exploits the temporal structure of planning problems, resulting in significant performance gains.
Experimental Results
Evaluation was conducted using standard benchmarks from the International Planning Competitions (IPC), including STRIPS domains (e.g., BlocksWorld, Logistics) and resource-intensive domains.
Performance Comparison
CSP-PLAN demonstrated clear superiority over the original GraphPlan and GP-CSP. As shown in the comparative data, CSP-PLAN remains competitive with highly optimized SAT-based planners like Blackbox, which utilizes the zChaff solver.
Resource Planning and Plan Quality
In domains requiring numeric resource tracking (e.g., fuel in DriverLog), CSP-PLAN consistently produced higher-quality, shorter plans than MIPS, a leading resource planner of the era. Because CSP-PLAN is an optimal planner by design, it avoids the sub-optimal plan lengths often found by heuristic-driven resource planners.
Conclusion
CSP-PLAN proves that a direct CSP formulation is a powerful alternative to graph-based planning. While the prototype faced scalability challenges on the largest logistics problems compared to specialized SAT solvers, its ability to handle complex resources and find optimal plans marks a significant advancement. Future work may involve integrating local search or more sophisticated admissible heuristics to further enhance scalability.
Summary updated