Abstract
Traditional robot planning systems often struggle with environmental failures, frequently requiring a complete restart of the planning process. This paper proposes a novel representation that records the logical process used to generate a plan. By maintaining a dual structure of hierarchical subgoals and decision dependencies, a robot can identify exactly which parts of a plan remain valid after a failure, allowing for efficient, surgical replanning.
Introduction
In early artificial intelligence, robot planning was notoriously brittle. When a robot encountered an unexpected obstacle—such as a locked door or a cancelled train—it typically faced two suboptimal choices: discarding the entire plan and starting from scratch, or blindly attempting to reuse parts of the old plan without understanding their original purpose.
Philip J. Hayes argues that for a robot to be resilient, its plan must reflect the "structure of the process which produced it." The core challenge is to distinguish between decisions that remain valid and those that must be discarded following a failure.
Methodology: Subgoal Trees and Decision Graphs
The proposed system utilizes a two-part data structure to represent a plan:
- The Subgoal Tree (jnodes): This structure provides a hierarchical breakdown of the task. For instance, a high-level goal like "Go to Nice" is decomposed into subgoals such as "Get to the Channel," "Cross the Channel," and "Get to Nice from the Channel." The leaves of this tree represent primitive, executable actions.
- The Decision Graph (dnodes): This graph tracks the logical dependencies between planning decisions. If choosing a specific boat crossing (Decision A) necessitates a specific train arrival time (Decision B), then B is marked as dependent on A.
The "UNDO" Mechanism
When a failure occurs, the system identifies the "unexecutable" jnode. It then uses the Decision Graph to trace back to the decision responsible for that node and "undoes" it. This triggers a recursive undoing of all dependent decisions while leaving logically independent parts of the plan—even those scheduled for later in time—completely intact. Each decision is associated with a "dfunction" (a specialized planning procedure), allowing the system to re-enter the planning process at the specific point of failure to find an alternative based on the updated world state.
Evaluation and Results
The system was implemented in POP-2 on an ICL 4130 computer and evaluated using a simulated transport network of 84 European centers. This network included over 500 town-to-town connections and 2,000 scheduled "primitive journeys" derived from real-world timetables.
The system demonstrated significant efficiency and resilience. Planning a six-step journey took approximately 20 seconds. In a simulated trip from Manchester to Nice, the system successfully handled "surprises" like withdrawn trains and cancelled boats. Notably, when a boat was cancelled, the system performed a "surgical repair": it discarded only the timings dependent on the sea crossing while preserving the logically independent routing decisions for the French rail portion of the trip.
Discussion
A key insight of this work is that logical dependence is more critical than chronological order. A robot might decide on the final leg of a journey before the first; if the first leg fails, the final leg's logic may still hold. Furthermore, this representation allows for concurrent levels of detail, where a robot maintains a granular plan for immediate actions and a skeletal plan for distant goals.
However, limitations remain. The system still relies on a backtracking regime, which, while more efficient here, does not solve the underlying search complexity. In highly interdependent environments, such as the "blocks world," the density of decision dependencies may reduce the amount of the plan that can be salvaged during an UNDO operation. Future work may explore how this representation facilitates multi-agent coordination through improved communication between planning processes.
Summary updated