Abstract
This paper introduces a novel approach to "subgoal annihilation"—a classic problem in AI planning where solving one part of a task inadvertently undoes a previously completed step. We propose a two-phase system within the Commonsense Algorithms (CSA) framework: guardian clusters that utilize spontaneous computation for real-time violation detection, and a surgical rollback technique called unravelling. This approach allows for the dynamic re-ordering of conflicting plan segments without requiring a total system restart, promoting efficiency and modularity in plan synthesis.
Introduction
In automatic problem solving, complex goals are typically decomposed into smaller, manageable subgoals. Ideally, these subgoals are independent; however, in practice, they often interfere with one another. This phenomenon, known as subgoal annihilation, occurs when the actions required to satisfy one subgoal negate a state already achieved by another.
Traditional planners of the late 1970s often struggled with these interferences, either relying on rigid, pre-defined ordering or resorting to exhaustive backtracking—restarting the entire plan from scratch upon detecting a conflict. Rieger and London aim to overcome these limitations by creating a modular, "commonsense" solver. Their system allows sub-solvers to operate with autonomy while providing a global mechanism to detect and resolve interferences gracefully.
Methods and Framework
The proposed solution is built within the Commonsense Algorithms (CSA) framework. A key component of this framework is the representation of strategies as structured patterns containing variables, events, and causal links.
The system's approach to maintaining plan harmony relies on two primary mechanisms:
1. Spontaneous Computation (Detection)
The system employs "guardian clusters," which function as background triggers or "demons." When a subgoal is achieved, the synthesizer "plants" a guardian in a trigger tree. If any subsequent action in the plan synthesis process negates that protected state, the guardian "fires" immediately. This reactive, associative style of computing ensures that violations are caught at the earliest possible phase, preserving the "why" and "how" of the plan.
2. Unravelling (Correction)
Instead of a full restart, the system performs a "surgical" rollback. When a violation is detected, the plan "unravels" one level by reverting to the context that existed just before the protected state was achieved. The system then "splices" the conflicting brother-subgoal into the plan, allows it to complete, and subsequently attempts to re-achieve the original (unravelled) goal.
Additionally, the system utilizes Causal Selection Networks (CSNs) to select the most appropriate strategy based on the current environment, aiming for intelligent rather than arbitrary strategy selection.
Key Insights
A significant insight of this work is that effective subgoal protection requires a "rich inference system." For instance, to protect a state like "clean hands," the system must be able to infer that an action like "grasping a greasy sandwich" leads to "greasy hands." Without this predictive capability, the guardian clusters would lack the information necessary to trigger. Furthermore, the paper advocates for non-linear plan representations, a departure from the strictly sequential planners common in the early 1970s.
Results and Evaluation
The theory was evaluated using classic symbolic AI environments, specifically the Blocks World, and qualitative thought experiments like the "Midnight Snack" scenario.
In computer-simulated traces, the system successfully navigated blocks-world conflicts by managing an "unravel stack" to re-order actions. Qualitatively, the "unravelling" method proved more efficient than wholesale reordering or total resynthesis, as it only undoes the specific plan segments in conflict.
Limitations and Future Work
While effective for resolving bad orderings, the authors acknowledge that "inappropriate strategy selection"—choosing the wrong method to solve a goal—remains a more complex problem that may require radical resynthesis. Additionally, the system can occasionally suffer from a "myopic" view, potentially leading to infinite loops where two subgoals repeatedly unravel each other. Future work suggests the need for "meta-watchers" to monitor the unravelling process itself and further investigation into "subgoal infringement," where a goal is made harder but not impossible to achieve.
Summary updated