Eliminating Redundant Actions from Plans Using Classical Planning

Mauricio Salerno, Raquel Fuentetaja, Jendrik Seipp

Abstract

Satisficing planners are efficient at finding solutions to large-scale planning problems but often produce plans containing redundant actions or loops. This paper introduces a novel method for finding the Minimal Reduction (MR)—the cheapest subsequence of an original plan that still achieves the goal—by reformulating the task as a classical planning problem. By leveraging optimal planners and domain-independent pruning techniques such as landmarks and macro-actions, the proposed $\Pi^{skip}$ compilation matches or exceeds the performance of state-of-the-art MaxSAT-based solvers in both speed and coverage across diverse benchmarks.

Introduction

In automated planning, "satisficing" planners prioritize speed over optimality, frequently resulting in plans with unnecessary actions. Finding the Minimal Reduction (MR) is the process of identifying the cheapest subsequence of actions that preserves the original order and achieves the goal. While checking individual action redundancy is straightforward, finding the optimal set of actions to remove is NP-complete. Historically, this has been addressed using Maximum Satisfiability (MaxSAT) translations. This research explores an alternative: using classical planning itself to optimize existing plans.

Methodology

The authors propose the $\Pi^{skip}$ compilation, which transforms the MR problem into a new planning task. In this task, a state variable pos tracks progress through the original plan. For each action, the planner can choose to either "keep" it (at its original cost) or "skip" it (at zero cost). To manage the state space, the compilation introduces an "irrelevant" value ($\theta$) for variables not required for future goals or preconditions.

To enhance search efficiency, several pruning techniques are integrated:

  • Trivial Plan Action Landmarks (TPAL): Identifies actions that are essential for achieving specific goals or preconditions.
  • Fix-point Plan Action Landmarks (FPAL): An iterative method to identify necessary actions by analyzing how actions overwrite state variables.
  • Macro-actions: Sequences of necessary actions (FPALs) are grouped to reduce the search depth.

Experimental Results

The approach was evaluated on 700 tasks from the International Planning Competitions (IPC) 2014 and 2018. The results indicate that the planning-based approach is highly competitive with traditional MaxSAT methods.

Comparison of Minimal Reduction time between MaxSAT and the proposed planning-based approach.

As shown in Figure 1, the best planning configuration ($\Pi^{skip}_{FPAL+M}$) was significantly faster than MaxSAT on 663 out of 700 tasks. In the Visitall domain, the planning approach achieved a 1.4x speedup over the MaxSAT solver.

Detailed performance metrics across various planning domains.

Figure 2 provides a detailed breakdown of the results. The $\Pi^{skip}_{FPAL+M}$ configuration solved 687 tasks, matching the coverage of the state-of-the-art MaxSAT solver. On average, the method reduced plan costs by 5.4%, with specific domains like Hiking achieving reductions up to 14.3%. The effectiveness is domain-sensitive; domains with many landmarks, like Visitall, are solved almost instantly, while domains like Termes require more advanced heuristics like Saturated Cost Partitioning (SCP) to be solved efficiently.

Conclusion

This research demonstrates that classical planning is a powerful tool for plan optimization. By reformulating redundancy removal as a search problem, optimal planners can efficiently find minimal reductions. Future work includes extending this method to allow action reordering and integrating elimination techniques directly into anytime planners to improve plan quality during the initial search process.

Summary updated

BibTeX
@inproceedings{salerno2023eliminating,
  author = {Mauricio Salerno and Raquel Fuentetaja and Jendrik Seipp},
  title = {{Eliminating Redundant Actions from Plans Using Classical Planning}},
  booktitle = {KR},
  year = {2023},
  doi = {10.24963/kr.2023/80},
}
Figure