Abstract
This paper investigates the computational complexity of propositional planning. By stripping planning down to its simplest form—propositional logic without variables—it identifies the specific constraints on operator preconditions and postconditions that determine whether a planning problem is tractable (polynomial time) or intractable (NP-complete or PSPACE-complete).
Introduction
In the late 1980s, the field of AI planning faced a significant challenge: while general-purpose planning systems were known to be "hard," the exact boundaries of this hardness were poorly understood. Previous research had shown that powerful planning systems like TWEAK were undecidable. This paper, authored by Tom Bylander, seeks to map the "computational minefield" of planning by analyzing a simplified model: propositional planning. By removing variables and indirect side effects, the study aims to find the dividing lines between problems that can be solved in real-time and those that are computationally prohibitive.
Methodology
The analysis focuses on Propositional Planning, a model where:
- States are represented as sets of literals (facts).
- Operators consist of preconditions (conditions that must be met to execute the action) and postconditions (the resulting changes to the state).
- Goals are sets of facts to be achieved.
The author employs computational complexity analysis through mathematical reductions. PSPACE-completeness is established by simulating a PSPACE Turing machine within the planning framework. NP-completeness is proven by reducing the 3SAT problem (Boolean satisfiability) to specific planning instances.
Complexity Hierarchy
The central contribution of the paper is a detailed hierarchy mapping operator constraints to complexity classes.
As shown in the figure, planning remains PSPACE-complete even under significant restrictions. For instance, having only one postcondition (regardless of the number of preconditions) or restricting operators to just two positive preconditions and two postconditions is sufficient to maintain PSPACE-completeness. This suggests that the "state space explosion"—the exponential number of ways simple facts can combine—is a primary source of difficulty.
The problem transitions to NP-complete when operators are restricted to positive postconditions, even with only a single precondition. Tractability (polynomial time) is achieved only under very specific conditions:
- Operators have only positive preconditions and exactly one postcondition.
- Operators have only one precondition and the number of goals is a small, fixed constant.
- Operators have no preconditions at all.
Case Study: Blocks World
While the paper is primarily theoretical, it uses the classic Blocks World benchmark to ground its findings. Blocks World involves stacking blocks in a specific configuration. The analysis reveals why Blocks World is often considered "easy" or tractable: it falls into a "safe zone" where operators typically have positive preconditions and a single postcondition. This alignment with the polynomial-time criteria explains why efficient algorithms exist for this specific domain despite the general hardness of planning.
Discussion and Limitations
The "propositional planning" model is an abstraction designed for theoretical clarity rather than direct software implementation. Real-world planners require variables and more complex representations. Furthermore, this analysis focuses on worst-case complexity. In practice, many "hard" problems are solved using heuristics. However, these heuristics offer no formal guarantees and their effectiveness varies across domains.
Bylander concludes that the diversity of algorithms required for different restricted planning problems suggests that a single, "universal" domain-independent planning algorithm may be an unrealistic goal. Instead, research should focus on matching specific algorithms to the constraints of particular domains.
Conclusion
This work provides a foundational map of the complexity of planning. It demonstrates that even the simplest forms of planning can be PSPACE-complete, and identifies the "Power of Two" (two preconditions/postconditions) as a threshold for intractability. By pinpointing the exact features that make planning hard—such as negative goals or multiple simultaneous postconditions—it offers a roadmap for developing more efficient, domain-specific planning systems.
Summary updated