Control of Refitting during Plan Reuse

Subbarao Kambhampati, James A. HendlerIJCAI 1989 · OpenReview

Abstract

Automated planning systems often benefit from reusing previous solutions to solve new, similar problems. However, the process of "refitting" a plan—modifying it to accommodate new constraints—can be computationally expensive due to cascading dependencies, known as the "ripple effect." This paper presents a conservative refitting strategy implemented in the PRIAR system. By utilizing task kernels, a local representation of plan dependencies, the system guides the modification process to minimize disruption to valid plan segments and reduce the overall cost of re-planning.

Introduction

In AI planning, the ability to adapt an existing plan is frequently more efficient than generating a new one from scratch. However, a significant challenge arises when a change in one part of the plan invalidates conditions required elsewhere. Without proper control, the computational effort of fixing these invalidations can exceed the cost of planning from first principles. The authors argue that a reuse strategy must be conservative, aiming to modify the existing plan as little as possible to maintain its structural integrity.

Methodology: Task Kernels and PRIAR

The authors implement their approach in PRIAR, a system built upon the hierarchical nonlinear planner NONLIN. PRIAR stores plans with detailed annotations that describe causal dependencies, such as which step achieves a specific goal and which conditions must persist throughout execution.

The Task Kernel Concept

When a plan segment requires replacement—referred to as a "refit-task"—the system computes a task kernel for the affected node. This kernel acts as a local proxy for the global plan structure, encapsulating three primary constraint types:

  1. External Effects (e-conds): Effects produced by the node that are required by other parts of the plan.
  2. Persistence Conditions (p-conds): Conditions that must remain true during the execution of this plan segment.
  3. External Preconditions (e-preconds): Conditions the segment expects to be true from preceding steps.
Figure 1: The dependency structure used to calculate task kernels within the PRIAR system.

Heuristic Ordering for Conservative Refitting

When multiple schemas (planning templates) are available to resolve a refit-task, PRIAR ranks them based on their ability to preserve kernel conditions. The priority is ordered as: e-conds > p-conds > e-preconds. This hierarchy ensures that the system first avoids breaking other parts of the plan, then avoids internal interference, and finally attempts to reuse existing work. By defining the kernel at the same level of abstraction as high-level plan steps, the system can prune unsuitable choices early, before investing time in low-level details.

Evaluation: The Blocks World Domain

The effectiveness of task kernels is demonstrated through qualitative examples in the "Blocks World" domain. A classic scenario involves adapting a plan for stacking three blocks (A, B, C) to a new four-block goal (I, J, K, L).

Figure 3: Detailed plan structure showing the refitting process and task kernels for a four-block problem.

In this example, the task kernel identifies a specific modification that fixes the plan while simultaneously achieving an additional goal (stacking the fourth block) without disrupting the existing stack. This "serendipity" occurs because the system's drive to preserve existing constraints naturally aligns with compatible new goals, allowing it to "accidentally" solve parts of the new problem while maintaining the old structure.

Discussion and Conclusion

The task kernel approach effectively localizes global constraints, allowing the planner to maintain plan integrity during modification. While the current strategy prioritizes planning efficiency (the speed of finding a fix) over execution efficiency (the optimality of the final plan), it provides a robust framework for conservative plan modification. Future work may involve weighting kernel conditions based on the estimated cost of repair if they are violated, further refining the system's ability to choose the most cost-effective path to plan reuse.

Summary updated

BibTeX
@inproceedings{kambhampati1989control,
  author = {Subbarao Kambhampati and James A. Hendler},
  title = {{Control of Refitting during Plan Reuse}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
  url = {https://openreview.net/forum?id=ryWbUQGu-B},
}

Loading related content...

Figure