Factored Planning

Eyal Amir, Barbara Engelhardt

Abstract

Classical AI planning often suffers from the "state space explosion" problem, where the search space grows exponentially with the number of objects and fluents. This paper introduces a method to automatically decompose complex planning problems into a tree of loosely coupled subdomains. By leveraging graph theory and a novel message-passing algorithm called PartPlan, the authors demonstrate that planning can scale linearly with the number of subdomains, bypassing traditional exponential bottlenecks.

Introduction

In classical AI planning, an agent seeks a sequence of actions to transition from an initial state to a goal state. As domains grow in complexity, the number of possible states increases exponentially, making exhaustive search intractable. While many real-world environments—such as factories with independent workstations or multi-room buildings—possess inherent structural modularity, traditional "black box" planners often fail to exploit this structure.

Previous attempts at domain decomposition frequently relied on manual partitioning or suffered from excessive backtracking, where a local plan in one subdomain inadvertently invalidates a plan in another. The challenge addressed here is how to automatically partition a domain and coordinate planning across these partitions without costly global restarts.

Methodology: Factoring and the PartPlan Algorithm

The proposed approach consists of two primary stages: automatic factoring and coordinated planning.

Automatic Factoring

The planning domain is first translated into a graph where vertices represent fluents (state variables) and edges represent actions linking them. Using graph decomposition techniques, the authors identify a "tree decomposition," organizing the domain into a tree of subdomains where the shared variables (links) between them are minimized. This minimizes the "width" of the interaction between components.

The PartPlan Algorithm

The core of the coordination is the PartPlan algorithm, a recursive procedure that processes the subdomain tree from leaves to root. Unlike simple message-passing schemes, PartPlan utilizes "interleaved capabilities." A subdomain does not just send a single plan; it communicates complex dependencies: "If I start with condition X, and you later provide resource Y, I can then guarantee effect Z."

The Charger and Robot domain illustrates the need for communicating interleaved capabilities between subdomains.

Once the root subdomain identifies a high-level plan using these abstract capabilities, the plan is expanded back down the tree into a sequence of original domain actions. This approach confines backtracking to local subdomains, preventing it from cascading across the entire system.

The PartPlan procedure coordinates planning across a tree of subdomains by passing capability messages.

Experimental Evaluation

The authors evaluated their approach using two primary scenarios:

  1. The Battery Charger Domain: A toy problem used to demonstrate why simple "If-Then" messages are insufficient and why interleaved preconditions/effects are necessary for completeness.
  2. The Ring of Rooms: A scalable benchmark where a robot must navigate $n$ rooms to lock all windows. This domain tests scaling as the number of rooms increases.

Using standard planners like IPP and FF as underlying engines, the authors compared standalone performance against the PartPlan-enhanced versions.

Key Results

  • Performance Scaling: In the "Ring of Rooms" experiment, standard planners like FF and IPP showed typical exponential growth in runtime as the number of rooms increased. In contrast, the PartPlan versions of these planners exhibited near-perfect linear scaling.
  • Soundness and Completeness: The authors provide a theoretical proof that their algorithm is guaranteed to find a valid plan if one exists (completeness) and that any plan it finds will be correct (soundness), provided the underlying black-box planner is also sound and complete.

Discussion and Future Work

The primary insight of this work is that planning complexity is tied to the treewidth of the domain graph. If interactions between subdomains remain sparse (low treewidth), total planning time grows linearly with the number of subdomains, even for massive problems.

However, a "width" bottleneck remains: the algorithm is still exponential relative to the size of the largest subdomain and the number of shared fluents. Highly interconnected domains offer little advantage for this method. Future work includes extending the framework to handle global goal distributions more efficiently and supporting richer planning languages that include nondeterministic actions and numerical parameters.

Summary updated

BibTeX
@inproceedings{amir2003factored,
  author = {Eyal Amir and Barbara Engelhardt},
  title = {{Factored Planning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2003},
}
Figure