Investigating the Effect of Relevance and Reachability Constraints on SAT Encodings of Planning

Biplav Srivastava

Abstract

Currently, Graphplan and Blackbox—which converts Graphplan's plan graph into a satisfiability (SAT) problem—are two of the most successful planning frameworks. While Graphplan gains its efficiency from the forward propagation of reachability-based mutual exclusion constraints (mutexes), it has been widely assumed that SAT encodings benefit similarly from these constraints. This paper investigates two primary questions: (1) Are mutual exclusions actually useful for solution extraction in SAT encodings? (2) Are there other useful constraints, such as those based on relevance, that can be propagated on the planning graph to assist SAT solvers? Our experiments with systematic solvers like Relsat and Satz show that while forward mutexes are generally beneficial, they can occasionally slow down search in specific domains. Furthermore, we introduce the notion of backward mutexes and their propagation based on relevance analysis. We find that adding relevance-based backward mutual exclusions significantly speeds up the Relsat solver across many standard planning problems.

Introduction

In automated planning, the objective is to find a sequence of actions that transitions a system from an initial state to a goal state. A landmark approach in this field is Graphplan, which utilizes a planning graph to identify mutual exclusion (mutex) relations—rules that dictate which actions or propositions cannot occur simultaneously. Traditionally, these mutexes are propagated forward from the initial state, representing "reachability" constraints: if two facts cannot be reached together from the start, they are mutually exclusive.

Modern high-performance planners often translate these planning graphs into SAT problems using systems like Blackbox. However, a fundamental difference exists between traditional search and SAT solving: SAT solvers are inherently "directionless." Unlike a forward-search algorithm, a SAT solver might assign a truth value to a goal-state variable before it ever considers the initial state. This research explores whether we can exploit this directionless nature by providing the solver with backward-looking "relevance" constraints in addition to standard forward-looking reachability constraints.

Methodology: Reachability vs. Relevance

The study categorizes constraints into three distinct types to evaluate their impact on SAT solver performance:

  1. Forward Mutex (Fmutex): These are standard reachability constraints. If two actions conflict or their preconditions are impossible to achieve simultaneously from the initial state, they are marked as fmutex.
  2. Backward Mutex (Bmutex): A novel relevance-based constraint. Bmutexes capture the idea that two actions or propositions may never be relevant at the same time to achieve a specific goal. For instance, if two different actions achieve the exact same set of facts at the next level, they may be considered bmutex, as a minimal plan would only require one of them.
  3. Inseparability (Insep): This relation identifies actions or propositions that must be relevant together or not at all. If Fact A is inseparable from Fact B, the solver can prune any branch of the search tree that considers one without the other.

The Power of Unit Propagation

One might assume that adding a quadratic number of new clauses (constraints) to a SAT formula would slow down the solver. However, the authors argue that these constraints actually simplify the problem. By providing a tighter "envelope" of the valid solution space, these constraints empower the solver’s unit-propagation engine. This allows the solver to identify contradictions and prune massive branches of the search tree much earlier than it would with a more permissive encoding.

Experimental Results

The researchers evaluated these concepts using standard benchmarks, including an 11-step logistics problem involving 73 actions, processed through the Blackbox planning system.

The Impact of Forward Mutexes

The results for forward mutexes were dramatic. In the logistics domain, including Fmutex constraints reduced the solve time for the Blackbox planner from 6 minutes and 30 seconds to just 7 seconds—a 60x speedup. This confirms that even for directionless SAT solvers, reachability information is vital for pruning the search space.

The Impact of Relevance Constraints

The results for the newly proposed backward mutexes and inseparability relations were more nuanced. While the addition of relevance-based Bmutexes helped speed up the Relsat solver in many instances, the overall results were described as "mixed." The primary challenge lies in the strictness of the propagation rules. Currently, for a Bmutex to be triggered, the conditions (such as two actions having identical effects) are quite narrow. In complex, real-world problems, these exact conditions occur less frequently, causing the relevance information to "taper off" after only a few levels of the planning graph.

Conclusion and Future Work

This research highlights a critical duality in automated planning: reachability ("Can I get there?") and relevance ("Do I need this to get there?"). While forward-propagated reachability is a well-established tool for efficiency, backward-propagated relevance offers a promising, if currently less mature, avenue for optimizing SAT-based planners.

Future work will focus on developing "looser" or more generalized versions of Bmutex and inseparability relations. By relaxing the strict requirements for these constraints, they may propagate further through the planning graph, potentially providing the same level of consistent, massive speedups currently seen with forward mutexes.

Summary updated

BibTeX
@inproceedings{srivastava1999investigating,
  author = {Biplav Srivastava},
  title = {{Investigating the Effect of Relevance and Reachability Constraints on SAT Encodings of Planning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {1999},
  url = {https://openreview.net/forum?id=SyX9KeZ_bB},
}
Figure