Abstract
The Blackbox planning system unifies the planning as satisfiability framework (Kautz and Selman 1992, 1996) with the plan graph approach to STRIPS planning (Blum and Furst 1995). We show that STRIPS problems can be directly translated into SAT and efficiently solved using new randomized systematic solvers. For certain computationally challenging benchmark problems this unified approach outperforms both SATPLAN and Graphplan alone. We also demonstrate that polynomial-time SAT simplification algorithms applied to the encoded problem instances are a powerful complement to the "mutex" propagation algorithm that works directly on the plan graph.
Introduction
In the 1990s, AI planning was divided between two successful but distinct philosophies. SATPLAN treated planning as a general logical deduction problem (Satisfiability), while Graphplan used a specialized "plan graph" to prune the search space using mutual exclusion (mutex) relationships. Neither was strictly superior: SATPLAN excelled in complex logistics, while Graphplan was faster in other domains. Furthermore, SATPLAN required labor-intensive, hand-crafted logical axioms to be efficient. The Blackbox system seeks to create a unified framework that automatically generates efficient SAT encodings from standard planning descriptions (STRIPS) while retaining the structural benefits of the plan graph.
The Blackbox Pipeline
The Blackbox system operates in a multi-phase pipeline designed to leverage the strengths of both graph-based pruning and SAT-based search:
- Graph Generation: Converts a STRIPS problem into a plan graph of length $k$ and computes "mutexes" (actions or facts that cannot happen simultaneously).
- Translation: Converts this graph and its mutexes directly into a Conjunctive Normal Form (CNF) formula.
- Simplification: Applies general-purpose logic simplification algorithms, specifically the failed literal rule, to prune the formula.
- Randomized Search: Solves the formula using a variety of SAT engines, such as Walksat or satz.
Randomized Search and the Heavy-Tail Phenomenon
A key innovation in Blackbox is the use of randomized restarts in systematic solvers (e.g., satz-rand). Systematic solvers often suffer from "heavy-tailed" distributions, where they get "stuck" on a bad early branch for hours. By adding a small amount of randomness to the heuristic and restarting frequently, the authors dramatically reduced the average time to find a solution.
As shown in Figure 1, there is often an optimal "cutoff" point for restarts that minimizes the total number of backtracks required to find a solution. This strategy transforms a potentially infinite search into a series of manageable attempts, effectively bypassing the heavy-tail problem.
Empirical Evaluation
The system was evaluated on several "critically constrained" benchmark problems, including logistics domains and the Blocks World. The results demonstrate that the unified approach often significantly outperforms standalone systems.
As seen in Table 1, Blackbox (particularly using the satz-rand solver) consistently achieves faster solution times than Graphplan or IPP on larger logistics problems like log.d. For instance, on log.d, Blackbox with satz-rand took only 28 seconds, whereas the original SATPLAN required significantly more time when accounting for both creation and search phases.
Key Insights
- The Plan Graph as a Pre-processor: The plan graph is a powerful tool for instantiating and simplifying a problem before it hits a solver. It prunes unreachable states more effectively than a direct translation from STRIPS to SAT.
- Automatic vs. Hand-crafted: Automatically generated SAT encodings from the plan graph are competitive with—and sometimes faster than—carefully hand-tuned SATPLAN axioms.
- The Power of Negative Information: Mutexes translated to SAT become negative binary clauses that significantly speed up the propagation phase of SAT solvers.
Conclusion and Future Work
Blackbox demonstrates that general-purpose reasoning engines can outperform specialized planning algorithms when provided with structured encodings. While highly effective, the system faces challenges in purely sequential domains and memory limitations during graph generation. Future work includes moving toward "lifted" SAT solvers and incorporating domain-specific control knowledge to further guide the search.
Summary updated