DERSNLP+EBL constructs explanations for retrieval failures through the use of explanation-based learning techniques which allow the planner to explain the failures of individual plans in the planner's search space. A leaf node plan represents an analytical failure when it contains a set of inconsistent constraints which prevent the plan from being further refined into a solution. An analytical failure is explained in terms of these constraints [24]. Leaf node failure explanations identify a minimal set of constraints in the plan which are together inconsistent. DERSNLP+EBL forms explanations for each of the analytical failures that occur in the subtree directly under the skeletal plan. These are regressed up the failing search paths and are collected at the root of the tree to form a reason for the retrieval failure (See Figure 9a). The regressed explanation is in terms of the new problem specification. It contains a subset of interacting goals, as well as initial state conditions relevant to those goals.
Since a plan failure is explained by a subset of its
constraints, failure explanations are represented
in the same manner as the plan itself.
Recall that DERSNLP+EBL represents its plans as a 6-tuple,
(See Section 2).
The explanation for the failure occurring at a leaf node
contains only the constraints which contribute to an
inconsistency.
These inconsistencies appear when new constraints are added
which conflict with existing constraints.
As discussed in Section 2,
DERSNLP+EBL makes two types of decisions, establishment
and resolution. Each type of decision
may result in a plan failure.
An
establishment decision represents a choice as to a
method of achieving
an open condition, either through a new/existing step, or by adding
a causal link from the initial state.
When an attempt is made to
achieve a condition by linking to an initial state effect,
and this condition is not satisfied in the initial state,
the plan then contains a contradiction.
An explanation for the failure is constructed which identifies the two
conflicting constraints:
The precondition of a resolution decision is a threat to a causal link. DERSNLP+EBL uses two methods of resolving a threat, promotion and demotion, each of which adds a step ordering to the plan. When either decision adds an ordering which conflicts with an existing ordering, an explanation of the failure identifies the conflict:
Each of the conflicting constraints in the failure explanation is regressed through the final decision, and the results are sorted according to type to form the new regressed explanation. This process is illustrated graphically in Figure 9b. In this example, a new link from the initial state results in a failure. The explanation, e1 is: