AltAltp: Online Parallelization of Plans with Heuristic State Search

Romeo Sanchez Nigenda, Subbarao Kambhampati

This paper, published in the Journal of Artificial Intelligence Research in 2003, tackles a classic trade-off in automated planning: the speed of heuristic state-space search versus the efficiency of parallel plan execution.

TL;DR

AltAlt$^p$ is a planning system that brings the efficiency of parallel plans (where multiple actions occur simultaneously) to the high-performance world of heuristic state-space search. By using a greedy "online fattening" technique and a novel "Pushup" plan compression procedure, it generates high-quality parallel plans at a fraction of the computational cost required by traditional disjunctive planners.

What Problem Does This Paper Address?

In classical AI planning, we generally look for a sequence of actions to reach a goal. "Sequential" planners produce one action per time step. "Parallel" planners allow multiple non-interfering actions to happen at once, which reduces the makespan (the total number of time steps).

Historically, planners fell into two camps:

  1. Disjunctive Planners (e.g., Graphplan, SATPLAN): These are great at finding parallel plans but often struggle to scale to very large problems.
  2. Heuristic State-Space Search Planners (e.g., HSP, AltAlt): These are incredibly fast and scale well, but they have an "Achilles heel"—parallelism.

The reason is mathematical: if you have $n$ possible actions, a sequential planner branches $n$ ways. A parallel planner that considers all possible subsets of actions must branch $2^n$ ways. This exponential explosion makes direct parallel search in state-space nearly impossible.

Methods

The authors introduce AltAlt$^p$, a variant of the AltAlt planner. It avoids the $2^n$ branching factor by searching in the space of sequential plans but "parallelizing" them on the fly.

The architecture of AltAlt$^p$ showing the integration of parallel planning graphs and the online parallelization components.

Key components include:

  • Regression Search: The planner searches backward from the goal to the initial state.
  • Parallel Planning Graph Heuristics: It constructs a "Planning Graph" (a reachability analysis tool) to derive distance heuristics. Unlike the original AltAlt, which used a "serial" graph, AltAlt$^p$ uses a "parallel" graph to better estimate the cost of reaching goals when actions can happen concurrently.
  • Greedy Fattening: When the planner chooses a "pivot" action to regress a state, it doesn't stop there. It greedily tries to add other independent actions to that same time step. It only keeps these extra actions if they actually improve the heuristic estimate of the resulting state.
An example of the greedy fattening process where a pivot action is selected and independent actions are added based on heuristic improvement.
  • The Pushup Procedure: Because the "fattening" is greedy, it might make sub-optimal choices. The "Pushup" algorithm acts as an online plan compression tool. It attempts to shift actions to later stages of the plan (higher up in the regression tree) to see if they can be executed earlier in time, further shortening the plan.

Datasets

The authors evaluated AltAlt$^p$ using standard benchmarks from the International Planning Competitions (AIPS-98, AIPS-00, and AIPS-02). These include:

  • Logistics & DriverLog: Moving packages between locations using trucks and planes.
  • Gripper: A robot moving balls between rooms.
  • Elevator: Moving passengers between floors.
  • Satellite & ZenoTravel: Complex scheduling and transport tasks.
  • Schedule: A domain involving machining parts with various tools.

Key Insights and Ideas

  • Online vs. Offline Parallelization: Most state-space planners try to parallelize a plan after it's finished (post-processing). The authors show that parallelizing during the search is superior because the planner can discover shorter trajectories that a purely sequential search would never have explored.
  • Heuristic Guidance for Parallelism: The paper demonstrates that the $h_{AdjSum2M}$ heuristic, when derived from a parallel planning graph, provides a surprisingly accurate "compass" for which actions should be grouped together.
  • The "Pushup" Fix: Greedy algorithms are prone to short-sightedness. The "Pushup" procedure is a clever way to maintain the speed of a greedy search while recovering some of the plan quality typically reserved for much slower, optimal planners.

Key Results

  • Scalability: AltAlt$^p$ successfully solved problems that disjunctive planners (like STAN or Blackbox) couldn't touch. For example, in the Gripper domain, it scaled to 30 balls while others failed after 4-8.
  • Plan Quality: While not guaranteed to be optimal, the makespans produced by AltAlt$^p$ were often very close to those produced by optimal planners like Graphplan, and significantly better than those produced by other heuristic planners like LPG.
  • Efficiency: In the Logistics domain, AltAlt$^p$ produced plans with roughly half the makespan of sequential plans, while incurring almost zero additional computational overhead compared to the original sequential AltAlt.

Limitations and Future Work

  • Optimality: The greedy nature of the "fattening" process means the planner is not guaranteed to find the absolute shortest parallel plan.
  • Action Durations: The paper focuses on "classical" parallelism (all actions take 1 unit of time). The authors suggest that the next step is adapting these techniques to metric temporal planning, where actions have varying durations and resource constraints.
  • Search Strategy: The current implementation uses a hybrid of greedy depth-first and weighted A* search. Exploring how different search strategies interact with the Pushup procedure remains an open question.

Reference: Sanchez Nigenda, R., & Kambhampati, S. (2003). AltAlt$^p$: Online Parallelization of Plans with Heuristic State Search. Journal of Artificial Intelligence Research, 19, 631-657.

Summary updated

BibTeX
@article{nigenda2003altaltp,
  author = {Romeo Sanchez Nigenda and Subbarao Kambhampati},
  title = {{AltAltp: Online Parallelization of Plans with Heuristic State Search}},
  journal = {J. Artif. Intell. Res.},
  year = {2003},
  doi = {10.1613/jair.1168},
}
Figure