Parallelizing State Space Plans Online

Romeo Sanchez Nigenda, Subbarao KambhampatiIJCAI 2003

Abstract

Searching for parallel solutions in state space planners is a challenging problem, because it would require the planners to branch on all possible subsets of parallel actions, exponentially increasing their branching factor. We introduce a variant of our heuristic state search planner AltAlt, which generates parallel plans by using greedy online parallelization of partial plans. Empirical results show that our online approach outperforms post-processing (offline) techniques in terms of the quality of the solutions returned.

Introduction

In automated planning, a sequential plan executes one action at a time, while a parallel plan allows multiple independent actions to occur simultaneously. Parallel plans are highly desirable because they reduce the total time required to reach a goal, known as the "makespan."

However, planners that search through state space face a significant challenge when trying to parallelize. If a planner has $N$ possible actions at a given step, a sequential planner branches $N$ ways. A parallel planner, however, must consider every possible subset of those actions, leading to $2^N$ branches. This exponential growth makes direct parallel search computationally infeasible for complex problems. The standard workaround—generating a sequential plan first and then "de-ordering" it as a post-processing step—is often sub-optimal because the post-processor is limited by the specific sequential path the planner initially discovered.

Methodology: The AltAlt$^p$ Planner

The authors introduce AltAlt$^p$, a variant of the existing AltAlt planner that combines Graphplan-based heuristics with regression state-space search. The core of the approach involves two main components:

Greedy Online Parallelization ("Fattening")

Instead of branching on every possible subset of actions, the planner only considers actions that individually improve the heuristic estimate (i.e., they bring the planner closer to the start state in regression search). It greedily bundles these "good" actions together into a single parallel step. This leverages the fact that modern heuristics are already effective at identifying relevant actions, avoiding the exponential branching factor without missing promising parallel combinations.

Plan Compression via the PushUp Algorithm

Greedy choices can sometimes be short-sighted. To mitigate this, the authors developed the PushUp procedure. Before expanding a new node in the search tree, the algorithm checks if any actions in the current step can be "pushed up" to an earlier point in the plan.

The PushUp algorithm for online plan compression.

The algorithm identifies the highest ancestor node where an action is still valid and independent of other actions, then moves the action there and recomputes the affected parts of the search branch. By performing this rearrangement during the search, the planner effectively optimizes the plan structure on the fly, ensuring it remains as compact as possible.

Experimental Evaluation

The researchers evaluated AltAlt$^p$ using the ZenoTravel domain from the AIPS-2002 Planning Competition. This domain involves transporting people between cities using aircraft with varying speeds and fuel requirements, making it a standard benchmark for testing concurrent activities.

Key Results

The study compared three configurations: the original sequential AltAlt, AltAlt with post-processing (using Backstrom’s Minimal De-ordering Algorithm), and the new AltAlt$^p$.

Comparison of plan quality (number of steps) across different problem instances in the ZenoTravel domain.
  • Superior Plan Quality: As shown in Figure 2, AltAlt$^p$ consistently produced plans with a shorter makespan (fewer time steps) than both the sequential and post-processed versions.
  • Efficiency: Despite the added complexity of the PushUp algorithm, AltAlt$^p$ did not incur significant additional run-time overhead compared to the base AltAlt planner.
  • Effectiveness of Online Parallelization: The results confirm that "fattening" a plan during search is fundamentally more effective than trying to fix a sequential plan after the fact.

Conclusion and Future Work

The most significant insight from this work is that parallelization should not be an afterthought. By parallelizing during the search, the planner can discover efficient structures that post-processing methods cannot reach.

Future research directions include adapting AltAlt$^p$ for metric temporal domains where actions have specific durations and continuous resource constraints (e.g., fuel). Additionally, investigating more powerful heuristics that specifically account for resource usage could further improve how the planner selects actions for parallelization.

Summary updated

BibTeX
@inproceedings{nigenda2003parallelizing,
  author = {Romeo Sanchez Nigenda and Subbarao Kambhampati},
  title = {{Parallelizing State Space Plans Online}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2003},
  url = {https://openreview.net/forum?id=r1EQOSMOZr},
}
Figure