This 1995 paper from Steve Hanks and Daniel Weld is a foundational piece of AI planning literature. It bridges the gap between "case-based reasoning" (reusing old solutions) and "generative planning" (building solutions from scratch) by introducing a formally rigorous, domain-independent algorithm.
TL;DR
The authors present SPA (Systematic Plan Adaptor), the first domain-independent algorithm for plan adaptation that is formally sound, complete, and systematic. By treating adaptation as a search through a graph of partial plans—allowing the agent to both add and retract constraints—the paper proves that recycling old plans can be significantly more efficient than starting from scratch, provided the old plan is a "close enough" fit.
What Problem Does This Paper Address?
In the early 90s, automated planning was a tale of two worlds. Generative planners built plans from first principles but suffered from "state-space explosion" (the time required grows exponentially with problem size). Meanwhile, Case-Based Planners (like the famous CHEF system) tried to mimic human intelligence by reusing successful past plans.
However, these case-based systems were usually "black boxes" tailored to specific domains (like cooking or medicine). They lacked formal guarantees: How do you know the adapted plan is actually correct? How do you ensure the system doesn't get stuck in an infinite loop? This paper addresses the need for a general-purpose algorithm that can adapt plans in any domain while maintaining the mathematical rigor of generative planning.
Methods
The authors built SPA on top of SNLP, a standard "partial-order" generative planner. The core innovation is how SPA views the search space:
- Planning as Search: Imagine a giant graph where every node is a "partial plan." Generative planning starts at the "Null Plan" and moves "down" the graph by adding steps and constraints (refinement).
- The Up-and-Down Search: SPA starts at an arbitrary point in the graph (a retrieved library plan). It can move down (adding steps to fix flaws) or up (retracting old steps or constraints that no longer fit the new goal).
- Reason Structures: To make retraction possible without breaking everything, SPA tags every constraint with a "reason." If a step is removed, the system knows exactly which dependent constraints must also be purged.
- Systematicity: The algorithm is designed to never visit the same partial plan twice, ensuring it eventually finds a solution if one exists without redundant work.
Datasets
The authors evaluated SPA using the Blocksworld domain, a classic AI benchmark involving a robotic arm moving blocks.
- 3BS to 12BS: Problems involving 3 to 12 blocks.
- Scenarios: They tested "refit" tasks where a solution for one configuration (e.g., 3 blocks on a table) is adapted to solve a larger or different configuration (e.g., stacking those blocks).
- Comparison: They compared SPA against PRIAR (a contemporary hierarchical re-planner) and generative planning from scratch.
Key Insights and Ideas
- Adaptation is just Search: The most profound insight is that adaptation isn't a "special" kind of reasoning; it’s just searching the same graph as generative planning, but starting from the middle instead of the root.
- The "When to Adapt" Formula: The authors provide a heuristic to decide if adaptation is worth it. If $b$ is the branching factor, $n$ is the length of a plan from scratch, and $k$ is the number of modifications needed to an old plan, adaptation is faster only if $(b+1)^k < b^n$.
- Formalizing Heuristics: The paper takes the "repair strategies" from the domain-specific CHEF system and shows they can be decomposed into SPA’s formal "refine" and "retract" primitives. This turned "black box" AI into "white box" logic.
Key Results
- Soundness and Completeness: The authors mathematically prove that if a solution exists, SPA will find it, and any plan it returns is guaranteed to be correct.
- Empirical Speedup: In Blocksworld tests, SPA consistently outperformed generative planning when the library plan was a good match. For example, in many cases, SPA achieved a 40% to 60% speedup over planning from scratch.
- SPA vs. PRIAR: While PRIAR (which used more complex validation structures) was faster on very large problems, SPA was faster on smaller, simpler problems and was much easier to analyze formally.
Limitations and Future Work
- The Retrieval Gap: SPA assumes you already have a "good" plan from a library. It doesn't solve the problem of how to find that plan in a massive database efficiently.
- STRIPS Limitation: The algorithm relies on the STRIPS representation (simple "if-then" actions). It doesn't handle complex variables, continuous time, or resources (like fuel or money) well.
- Heuristic Control: While the algorithm is systematic, it still needs better "search control" (heuristics) to decide which flaw to fix first in highly complex real-world domains.
The authors suggest that future work should focus on integrating domain-specific "control knowledge" into this domain-independent framework to handle more realistic, large-scale engineering tasks.
Summary updated