Introduction
Traditional AI planning typically operates under a "replanning from failure" paradigm (replanning-F), where an agent only modifies its course of action when a plan becomes invalid due to environmental changes. However, in dynamic real-world environments, changes may occur that do not invalidate the current plan but instead present "opportunities"—shortcuts or more efficient paths that were previously unavailable.
Modern planners often prune actions whose static preconditions (facts the agent cannot change) are false in the initial state to keep search spaces manageable. For instance, a robot without a key will ignore an "unlock door" action, opting for a longer route. This paper introduces Plan-Based Opportunities (PBO), a proactive approach where agents identify and monitor specific environmental changes that would enable a lower-cost plan, bridging the gap between rigid execution and computationally expensive "replan-on-every-change" strategies.
Methodology: Plan-Based Opportunities (PBO)
The PBO framework consists of three primary stages designed to facilitate focused monitoring and opportunistic execution:
- Computing Opportunities: After an initial plan is generated, the system uses goal regression to identify actions that could have achieved the goal more efficiently but were discarded due to unmet static preconditions. These missing facts are labeled as "opportunities."
- Plan Augmentation: These identified opportunities are attached to relevant plan steps. Instead of monitoring the entire world state, the agent performs focused monitoring on only these specific facts.
- Opportunistic Replanning: During execution, if a monitored opportunity is detected (e.g., a key is dropped off), the agent triggers a replan. If the new plan utilizing the opportunity has a lower cost than the remainder of the original plan, the agent pivots to the new strategy.
Experimental Evaluation
The researchers evaluated PBO using the DOCUMENTS domain, where a robot must collect three documents. Initially, the robot lacks a key to a briefcase containing the documents and plans a long route to collect backup copies. The "opportunity" is the environmental appearance of the key during execution. The study scaled problem complexity from 5 to 40 rooms/documents to test scalability.
PBO was compared against Replan When Change (RWC), a baseline that triggers a full replan whenever any environmental change is detected, regardless of its relevance to the goal.
Key Results and Discussion
The experimental results highlight the efficiency and cost-effectiveness of the PBO approach across varying problem scales.
- Computational Efficiency: As shown in Figure 4(b), PBO's total time—including initial planning, monitoring, and replanning—was an order of magnitude faster than RWC. RWC suffers from high overhead because it generates new plans for every change, many of which do not improve goal efficiency.
- Execution Cost Reduction: PBO successfully reduced execution costs by 80–90% compared to the original plan when opportunities appeared early in the execution (Figure 4(d)).
- Scalability: The benefits of focused monitoring became more pronounced as problem complexity increased. By only "watching" for relevant facts, PBO avoids the performance degradation seen in general replanning strategies.
Conclusion
PBO demonstrates that focused monitoring through counterfactual reasoning—asking "what would I do if this were true?"—allows agents to remain agile in dynamic environments without the computational burden of constant replanning. Future work will explore integrating sensing actions to actively discover opportunities and refining cost-benefit analyses to ensure the overhead of replanning is always outweighed by the efficiency gains of the new plan.
Summary updated