Abstract
Monitoring plan preconditions can allow for replanning when a precondition fails, generally far in advance of the point in the plan where the precondition is relevant. However, monitoring is generally costly, and some precondition failures have a very small impact on plan quality. We formulate a model for optimal precondition monitoring, using partially-observable Markov decisions processes, and describe methods for solving this model effectively, though approximately. Specifically, we show that the single-precondition monitoring problem is generally tractable, and the multiple-precondition monitoring policies can be effectively approximated using single-precondition solutions.
Introduction
In classical AI planning, environments are typically treated as deterministic. In practice, however, plan execution is subject to stochastic failures—a road may be blocked, or a necessary resource may become unavailable. To address this, agents can monitor plan preconditions to detect failures early. The challenge lies in "smart" monitoring: deciding when the cost of a sensor check is justified by the Value of Information (VoI), which represents the expected benefit of early detection for proactive replanning.
Problem Formulation
The optimal monitoring strategy can be framed as a Partially Observable Markov Decision Process (POMDP). However, for a plan with $n$ preconditions, the state space is $2^n$, rendering exact solutions intractable for plans beyond a few steps. The decision process involves interleaved monitoring reports, potential link failures, and subsequent monitoring or object-level decisions (e.g., continuing the plan or switching to an alternative).
Methodology
To overcome the intractability of the global POMDP, we propose a decomposition strategy:
- Single-Failure POMDPs: The problem is broken down into $n$ independent, 2-state POMDPs, each assuming only one specific precondition can fail. These are computationally trivial to solve.
- Naive Policy Combination (NPC): This online strategy monitors a condition if its corresponding single-failure sub-policy recommends it.
- Value-Adjusted Policy Combination (VAPC): A more sophisticated approach that uses a backward recursive pass to adjust the current plan's value by accounting for the cumulative probability of future failures. This better captures the "death by a thousand cuts" scenario where multiple small risks make a plan unviable.
Experimental Results
The proposed heuristic methods were evaluated using synthetic route-planning scenarios of varying complexity.
Scalability and Speed
The decomposition approach offers a massive computational advantage. While an exact POMDP solver required 2.7 hours for a simple 3-step plan, our approximation solved it in under 6 seconds. As shown in Figure 3, the CPU time scales gracefully with problem size, enabling the solution of plans with hundreds of stages.
Fidelity
In scenarios where optimal solutions could be computed for comparison, the heuristic methods remained within 5% of the optimal performance on average. VAPC, in particular, demonstrated up to a 28% improvement over the Naive (NPC) method in "sensitive" regions where the plan's viability was marginal.
Conclusion
By decomposing the plan monitoring problem into independent sub-problems, we achieve a scalable solution that maintains high fidelity to the optimal POMDP policy. Future work will explore handling correlated failures via Bayesian Networks and extending the model to partially-ordered plans.
Summary updated