The Metrics Matter! On the Incompatibility of Different Flavors of Replanning

Kartik Talamadupula, David E. Smith, Subbarao KambhampatiarXiv 2014

Abstract

Autonomous agents operating in dynamic environments must frequently replan when initial assumptions fail. While various replanning strategies exist—prioritizing speed, plan stability, or agent commitments—they are often treated as interchangeable surrogates. This paper challenges this "surrogate myth" by introducing a unified compilation framework to compare these metrics directly. Our empirical evaluation in a complex warehouse domain demonstrates that optimizing for one metric, such as action similarity, often significantly degrades others, such as commitment satisfaction. We conclude that replanning should be treated as a multi-objective optimization problem rather than a simple computational shortcut.

Introduction

In real-world applications, plans rarely survive execution without modification. When environment changes or hardware failures occur, agents must replan. Historically, the AI planning community has viewed replanning primarily as a computational challenge: finding a new valid plan as quickly as possible. However, newer "flavors" of replanning have emerged that prioritize different qualities, such as plan stability (minimizing changes to avoid confusing human collaborators) or respecting commitments (maintaining dependencies relied upon by other agents).

Despite the proliferation of these techniques, the field has lacked a rigorous comparison. An implicit assumption—the "surrogate myth"—suggests that a technique designed for one metric (e.g., stability) will likely perform well on others (e.g., commitments). This research tests that assumption by evaluating different replanning motivations within a single unified framework.

Methodology: A Unified Compilation Substrate

To ensure a fair comparison, we treat replanning as a distinct problem: solving a new planning task under constraints derived from a previous plan. We formally define and compare three primary models:

  1. Replanning as Restart: Prioritizing speed by finding any valid plan from the current state.
  2. Replanning for Similarity: Reducing verification or cognitive costs by maximizing action similarity to the original plan.
  3. Replanning for Commitments: Ensuring the new plan respects previous inter-agent dependencies.

We developed a compilation method that transforms similarity and commitment constraints into "soft goals" or preferences using the PDDL3 language. This allows us to use a single underlying engine, the SGPlan5 planner, to evaluate all three strategies, ensuring that observed differences stem from the metrics themselves rather than algorithmic variations.

Experimental Evaluation

We evaluated these strategies using a new Warehouses Domain benchmark. This domain involves a grid-based environment where forklifts and transport robots move packages to packaging stations. To trigger replanning, we introduced stochastic events such as packages falling or robot breakdowns. We tested 48 problem instances of increasing complexity.

Performance and Computational Cost

Our results show that the choice of metric has a profound impact on computational efficiency. "Replanning as Restart" consistently outperformed other methods, often by several orders of magnitude.

Figure 3: Time to replan across different problem instances. Note the log scale on the Y-axis, showing that Restart is significantly faster than constrained methods.

As shown in Figure 3, the search space for "similar" or "commitment-respecting" plans is significantly harder to navigate than simply starting from scratch. The missing data points for Similarity in larger problem instances further highlight the computational burden of stability constraints.

The Incompatibility of Metrics

The most critical finding is the fundamental incompatibility between different replanning flavors. Specifically, we found that maximizing action similarity is a poor proxy for preserving commitments.

Figure 5: Number of violated commitments for each strategy. Similarity-based replanning often results in more violations than even the basic Restart approach.

As illustrated in Figure 5, similarity-preserving methods often violated the most commitments. This occurs because commitments are tied to the state of the world (e.g., a package being at a specific location), whereas similarity metrics often focus on the names of actions. When a plan must change, forcing the use of "similar" actions can lead to state-level conflicts that break dependencies.

Discussion and Conclusion

Our study demonstrates that replanning metrics are not effective surrogates for one another. Optimizing for plan stability (similarity) can actively harm the reliability of multi-agent systems (commitments) and incurs a high computational cost.

Future work should explore the re-use of search effort from original plan generation to see if it mitigates these trade-offs. Additionally, expanding this evaluation to a broader range of International Planning Competition (IPC) domains will help generalize these findings. Ultimately, researchers and practitioners must carefully select replanning metrics based on the specific needs of their application, rather than assuming one "good" plan is as good as any other.

Summary updated

BibTeX
@misc{talamadupula2014metrics,
  author = {Kartik Talamadupula and David E. Smith and Subbarao Kambhampati},
  title = {{The Metrics Matter! On the Incompatibility of Different Flavors of Replanning}},
  year = {2014},
  eprint = {1405.2883},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1405.2883},
}
Figure