A Novel Transition Based Encoding Scheme for Planning as Satisfiability

Ruoyun Huang, Yixin Chen, Weixiong ZhangAAAI 2010

Abstract

Planning as satisfiability is a principal approach to planning with many eminent advantages. The existing planning as satisfiability techniques usually use encodings compiled from the STRIPS formalism. We introduce a novel SAT encoding scheme based on the SAS+ formalism. It exploits the structural information in the SAS+ formalism, resulting in more compact SAT instances and reducing the number of clauses by up to 50 fold. Our results show that this encoding scheme improves upon the STRIPS-based encoding, in terms of both time and memory efficiency.

Introduction

In the "Planning as Satisfiability" (SAT-based planning) paradigm, a planning problem is converted into a massive Boolean formula. If a SAT solver finds a way to make the formula "true," that solution corresponds to a valid plan. Historically, these encodings have been based on the STRIPS formalism, which represents the world as a collection of binary "facts" (e.g., at(robot, roomA) is either true or false).

This approach has a major drawback: as problems grow in complexity, the number of actions and facts explodes, leading to gargantuan SAT instances that exhaust a computer's memory before a solver can even start. The authors address this "encoding blow-up" by moving away from binary facts and toward the SAS+ formalism, which uses multi-valued variables (e.g., location(robot) = {roomA, roomB, roomC}).

The SASE Approach: Transition-Based Encoding

The core innovation is the SAS+ Based SAT Encoding (SASE). Instead of modeling whether an action occurs at a specific time, SASE primarily models transitions—the change of a variable from one value to another.

Conceptual comparison between STRIPS action plans and SASE transition plans.

Key Components and Optimizations

  1. Two-Layered Variables: SASE uses transition variables ($U$) to track state changes and action variables ($V$) to represent the specific actions that cause those changes. This effectively splits the problem into a hierarchical search: the top level finds a valid sequence of transitions, while the lower level finds supporting actions.
  2. Transition Mutex Cliques: Instead of writing a clause for every pair of conflicting transitions ($O(n^2)$), SASE uses a compact $O(n \log n)$ representation.
  3. Action Reduction: The system identifies "unary transitions" (where only one action can cause a specific change) to eliminate redundant action variables entirely. In some domains like Zenotravel, this can eliminate 100% of action variables.

Experimental Evaluation

The authors evaluated SASE using standard benchmarks from the 4th and 5th International Planning Competitions (IPCs), including domains like Airport, Pipesworld, and Freecell. They compared SASE against SatPlan06 (the standard STRIPS-based SAT planner) and SatPlan06L (an enhanced version using long-distance mutual exclusions).

Performance comparison showing the number of instances solved over time for SatPlan06, SatPlan06L, and SASE.

Key Results

  • Memory Efficiency: SASE instances are remarkably compact. In many cases, they required only 6% to 10% of the memory used by SatPlan06. This allowed SASE to solve many large instances that caused memory limit errors in STRIPS-based planners.
  • Clause Reduction: The number of clauses was reduced by up to 50-fold in certain domains.
  • Search Performance: Despite having more variables in some instances, SASE was generally faster because the hierarchical structure allowed the SAT solver to prune the search space more effectively. As shown in the performance curves, SASE consistently solves more instances within the same time limits than its predecessors.

Conclusion

By focusing on transitions rather than actions, SASE leverages the inherent structure of the SAS+ formalism to create more efficient SAT encodings. This decoupling of state changes from specific actions significantly reduces the computational burden on SAT solvers, paving the way for more scalable automated planning. Future work will look to extend this transition-based approach to temporal planning and planning with preferences.

Summary updated

BibTeX
@inproceedings{huang2010novel,
  author = {Ruoyun Huang and Yixin Chen and Weixiong Zhang},
  title = {{A Novel Transition Based Encoding Scheme for Planning as Satisfiability}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2010},
  url = {https://openreview.net/forum?id=rJbElAe_-B},
}
Figure