Abstract
Case-Based Planning (CBP) is often motivated by the intuition that modifying an existing plan is more efficient than generating one from scratch. This paper provides a rigorous parameterized complexity analysis of the plan reuse problem, specifically the CASEMOD problem. By examining parameters such as the length of the modification, the number of actions, and the number of variables, the authors identify the structural constraints that lead to fixed-parameter tractability (FPT). The results reveal that limiting the diversity of modifications—specifically the set of actions or the combination of variables and values—is more critical for efficiency than simply limiting the number of steps added.
Introduction
In AI planning, finding a sequence of actions to reach a goal is notoriously difficult, typically classified as PSPACE-complete. A popular heuristic to circumvent this complexity is Case-Based Planning (CBP): instead of starting from scratch, a system retrieves a successful plan from a similar previous task and adapts it to the new situation. The intuitive assumption is that if the tasks are similar, the required modifications should be small, making the process efficient.
However, previous classical complexity results suggested that plan reuse is not necessarily faster than plan generation in the worst case. This paper addresses the gap between intuition and theory by asking: Under what specific structural constraints (parameters) does plan reuse actually become provably tractable?
Methodology: Parameterized Complexity
The authors utilize the framework of Parameterized Complexity to analyze the CASEMOD problem. In this problem, given an old plan, the goal is to determine if a "glue" sequence of actions can be added to solve a new problem. Rather than measuring complexity solely based on the total input size ($n$), they examine four primary parameters ($k$) that describe the "smallness" or "diversity" of the modification:
- L: The maximum number of steps in the "glue" sequence.
- A: The size of the set of actions allowed for the modification.
- V: The number of variables affected by the modification.
- D: The number of distinct values these variables can take.
By performing mathematical reductions from known hard problems (such as HITTING-SET or PARTITIONED-CLIQUE), the authors map which combinations of these parameters lead to Fixed-Parameter Tractability (FPT)—meaning the problem can be solved efficiently if the parameters remain small, regardless of the overall domain size.
The Complexity Landscape
The core contribution of the paper is a complete "map" of the complexity landscape for plan reuse. This map identifies the boundaries between tractability (FPT) and various levels of intractability within the W-hierarchy.
As shown in the figure above, the transition to tractability is not driven by the length of the patch (L) alone. Instead, it is the restriction of the action set (A) or the combination of variables and values (V and D) that brings the problem into the FPT realm.
Key Results and Insights
The detailed results of the analysis are summarized in the table below, which maps specific parameter sets to their complexity classes and corresponding proofs.
The "Small Change" Trap
One of the most significant findings is that limiting the number of additional steps (L) is insufficient for efficiency. Even if only a few steps are needed, finding which steps to add from a large set of possible actions remains $W[2]$-complete. This suggests that the common intuition of "small modification = easy" is a fallacy in the context of planning.
Variety over Quantity
Tractability is primarily driven by the diversity of the modification. If a heuristic can successfully narrow down a small "relevant" set of actions (A) or limit the scope of variables (V, D) involved in the patch, plan reuse becomes provably efficient. This highlights that the power of CBP lies in its ability to focus the search space on a subset of the domain's mechanics.
Syntactic vs. Semantic Reuse
The authors also distinguish between CASEMOD (which uses state information) and PLANMOD (which treats plans as mere action sequences). They find that ignoring state information makes the problem significantly harder ($W[P]$-complete), suggesting that the semantic state information attached to a "case" is vital for efficient reuse.
Conclusion
This research provides a necessary "reality check" for the CBP community. It demonstrates that for plan reuse to be computationally advantageous, adaptation techniques must do more than just limit the number of steps; they must effectively restrict the variety of actions and variables considered. Future work may extend these findings to more expressive planning formalisms, such as those involving temporal constraints or continuous variables, to see if these "diversity vs. quantity" rules persist.
Summary updated