| { |
| "paper_id": "H93-1033", |
| "header": { |
| "generated_with": "S2ORC 1.0.0", |
| "date_generated": "2023-01-19T03:30:23.187814Z" |
| }, |
| "title": "Generic Plan Recognition for Dialogue Systems", |
| "authors": [ |
| { |
| "first": "George", |
| "middle": [], |
| "last": "Ferguson", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "University of Rochester Rochester", |
| "location": { |
| "postCode": "14627-0226", |
| "region": "NY" |
| } |
| }, |
| "email": "" |
| }, |
| { |
| "first": "James", |
| "middle": [ |
| "F" |
| ], |
| "last": "Allen", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "University of Rochester Rochester", |
| "location": { |
| "postCode": "14627-0226", |
| "region": "NY" |
| } |
| }, |
| "email": "" |
| } |
| ], |
| "year": "", |
| "venue": null, |
| "identifiers": {}, |
| "abstract": "We describe a general framework for encoding rich domain models and sophisticated plan reasoning capabilities. The approach uses graph-basedreasoning to address a wide range of tasks that typically arise in dialogue systems. The graphical plan representation is independent of but connected to the underlying representation of action and time. We describe types of plan recognition that are needed, illustrating these with examples from dialogues collected as part of the TRAINS project. The algorithms for the tasks are presented, and issues in the formalization of the reasoning processes are discussed.", |
| "pdf_parse": { |
| "paper_id": "H93-1033", |
| "_pdf_hash": "", |
| "abstract": [ |
| { |
| "text": "We describe a general framework for encoding rich domain models and sophisticated plan reasoning capabilities. The approach uses graph-basedreasoning to address a wide range of tasks that typically arise in dialogue systems. The graphical plan representation is independent of but connected to the underlying representation of action and time. We describe types of plan recognition that are needed, illustrating these with examples from dialogues collected as part of the TRAINS project. The algorithms for the tasks are presented, and issues in the formalization of the reasoning processes are discussed.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Abstract", |
| "sec_num": null |
| } |
| ], |
| "body_text": [ |
| { |
| "text": "Plan recognition is an essential part of any dialogue system. Traditional approaches to plan recognition are inadequate in one of two ways. Those that are formally well-specified tend to be highly restricted in the phenomena they can accomodate and are therefore unsuitable for a general purpose dialogue system. On the other hand, the heuristically-motivated systems have been difficult to formalize and hence to understand. In both cases, the representation of plans is insufficient for a collaborative dialogue-based system.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "The research reported here is part of the TRAINS project [1] . The goal of this project is an intelligent planning assistant that is conversationally proficient in natural language. In this paper we concentrate on the plan recognition procedures of the domain plan reasoner component of the system.", |
| "cite_spans": [ |
| { |
| "start": 57, |
| "end": 60, |
| "text": "[1]", |
| "ref_id": "BIBREF0" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "As examples of the phenomena that arise in discourse and affect plan recognition, consider the following utterances gathered from TRAINS dialogues:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "1. Utterances that suggest courses of action, e.g., This is the prototypical case studied in the literature, and most systems are limited to handling only this case.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "2. Utterances that identify relevant objects to use, e.g., The second sentence is an example of an indirect suggestion to use the OJ factory.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "3. Utterances that identify relevant constraints, e.g., (a) We must get the oranges there by 3 PM.", |
| "cite_spans": [ |
| { |
| "start": 56, |
| "end": 59, |
| "text": "(a)", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "(b) Engine E2 cannot pull more than 3 carloads at a time. 4 . Utterances that identify relevant lines of inference, e.g.,", |
| "cite_spans": [ |
| { |
| "start": 58, |
| "end": 59, |
| "text": "4", |
| "ref_id": "BIBREF3" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "(a) The car will be there because is it attached to engine El.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "5. Utterances that identify goals of the plan, e.g.,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "(a) We have to make OJ. 6 . Utterances that introduce complex relations, e.g., purpose clauses such as (a) Use E3 to pick up the car.", |
| "cite_spans": [ |
| { |
| "start": 24, |
| "end": 25, |
| "text": "6", |
| "ref_id": "BIBREF5" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "(b) Send engine E3 to Dansville to pick up the oranges.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "Our approach to plan reasoning is motivated by examples such as these. It is a generic approach because the details of the algorithms do not depend directly on properties of the underlying knowledge representation. Rather, the approach assumes that certain operations are exported by the underlying reasoner (such as entailment, ~), and it uses these to validate plan reasoning steps.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "We first describe our representation of plans and its connection to the underlying knowledge representation scheme. We then present plan recognition algorithms for the dialogue phenomena and we discuss how they interact with other modules of the system. Finally, we discuss related and future work.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "We assume that the underlying knowledge representation formalism can be effectively partitioned into two types of formulas:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "\u2022 Event formulas state that something happened that (possibly) resulted in a change in the world.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "\u2022 Fact formulas are everything else, but typically describe properties of the world (possibly temporally qualified).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "In our temporal logic, 1 the former are of the form Occurs(e) and the latter are, for example, At(eng3, dansville, now). For formalisms where there are no explicit events (e.g., the situation calculus), we can extend the language--an example of this is given below.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "We then define a graphical notion of plans, based on viewing them as arguments that a certain course of events under certain explicit conditions will achieve certain explicit goals. A plan graph is a graph over two types of nodes: event nodes are labelled with event formulas,fact nodes are labeled with fact formulas. These can be connected by four types of arcs: event-fact: Achievement fact-event: Enablement event-event: Generation fact-fact: Inferential", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "The link types correspond roughly to an intuitive classification of the possible relations between events and facts (cf., [5] ). The goal nodes of a plan graph are its sinks, the premise nodes are its sources.", |
| "cite_spans": [ |
| { |
| "start": 122, |
| "end": 125, |
| "text": "[5]", |
| "ref_id": "BIBREF4" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "For example, using the temporal logic, we might have a plan graph like that shown in Figure l A plan graph makes no claim to either correctness or completeness. It represents an argument from its premises to its goals, and as such can be \"correct,\" \"incorrect,\" or neither.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 85, |
| "end": 93, |
| "text": "Figure l", |
| "ref_id": null |
| } |
| ], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "The previous examples are intuitively correct, for example, but are incomplete since they don't specify that the block being stacked must also be clear for the stacking to be successful.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "A translation of plan graphs into a first-order logic with quotation is straightforward. With this, one can declaratively define properties of plans represented by plan graphs (such as \"correct\") relative to the underlying representation's entailment relation. For example, a node n in a plan graph P might be supported if its preconditions (nodes with arcs incident on n) are sufficient to ensure the truth of n, formally:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "supported(n, P) =- A {rc 13n'.(n',n) ~ P ^ rc = Label(n')} ~ Label(n)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "ZSpace precludes a detailed description of this representation, see [2, 3, 4] . In what follows, we will rely on intuitive descriptions of the relevant aspects of the logic.", |
| "cite_spans": [ |
| { |
| "start": 68, |
| "end": 71, |
| "text": "[2,", |
| "ref_id": "BIBREF1" |
| }, |
| { |
| "start": 72, |
| "end": 74, |
| "text": "3,", |
| "ref_id": "BIBREF2" |
| }, |
| { |
| "start": 75, |
| "end": 77, |
| "text": "4]", |
| "ref_id": "BIBREF3" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "The antecent of the entailment must, of course, also be consistent.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "Unfortunately, such an analysis is not particularly illuminating in the case of plans arising from dialogue since such plans are often too poorly specified to meet such criteria. In par-Ocular, they are often based on assumptions that the system makes in the course of its interpretation of the manager's statements. We feel that making such assumptions explicit is crucial since they often drive the discourse. To illustrate this, we will present the algorithms used by the TRAINS plan reasoner to reason with plan graphs. We will return to the issue of axiomatizing them in the final section.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graphs", |
| "sec_num": "2." |
| }, |
| { |
| "text": "We characterize plan reasoning for dialogue systems as search through a space of plan graphs. The termination criterion for the search depends on the type of recognition being done, as will be described presently. Since the plan graph formalism sanctions arbitrarily complex graphs labelled with arbitrarily complex formulas, searching all possible plan graphs is impossible. We therefore rely on additional properties of the underlying representation to restrict the search.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graph Algorithms", |
| "sec_num": "3." |
| }, |
| { |
| "text": "First, we assume the ability to test whether two objects (including events and facts) unify and, optionally, to determine assumptions under which they would unify. Simple objects use simple equality. In the temporal logic, two events are equal if their roles are equal. Two facts unify if there are assumptions that make them logically equivalent. This use of equality and inequality corresponds to the posting of codesignation constraints in traditional planners.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graph Algorithms", |
| "sec_num": "3." |
| }, |
| { |
| "text": "Second, we assume that events be defined using relations corresponding to enablers, effects, and generators. This should not be controversial. In the temporal logic, these descriptions can be obtained from the event definition axioms. For a STRIPS system, they correspond to the add-and deletelists. Existing plan recognition systems use an event taxonomy, which corresponds to the generators slot. There can be multiple definitions of an event type, thereby allowing alternative decompositions or conditional effects.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graph Algorithms", |
| "sec_num": "3." |
| }, |
| { |
| "text": "The search then only considers plan graphs that reflect the structure of the event definitions, we call such plan graphs acceptable. In this respect, the search will only find plan graphs that agree with the assumed-shared \"event library.\" However, information returned from failed searches can be used to guide the repair of apparent incompatibilities at the discourse level.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Plan Graph Algorithms", |
| "sec_num": "3." |
| }, |
| { |
| "text": "Plan recognition using plan graphs operates by searching the space of acceptable plan graphs breadth-first. The search Figure 2 . The use of breadth-first search implements a \"shortest-path\" heuristic--we prefer the simplest connection to the existing plan. The plan reasoner exports several interfaces to the basic search routine, each motivated by the discourse phenomena noted at the outset. The discourse module of the system invokes these procedures to perform domain reasoning.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 119, |
| "end": 127, |
| "text": "Figure 2", |
| "ref_id": "FIGREF5" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Incorporation", |
| "sec_num": "3.1." |
| }, |
| { |
| "text": "The procedure incorp-event takes as parameters a plan graph and an event (a term or a lambda expression representing an event type). For example, sentence (la) results in the following call:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Incorporation", |
| "sec_num": "3.1." |
| }, |
| { |
| "text": "(incorp-event (lambda ?e'Move-Engine (And (Eq (eng ?e) ENG3) (Eq (dst ?e) DANSVILLE))) THE-PLAN)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Incorporation", |
| "sec_num": "3.1." |
| }, |
| { |
| "text": "where ?e'Move-Engine is an event variable of type Move-Engine.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Incorporation", |
| "sec_num": "3.1." |
| }, |
| { |
| "text": "The plan reasoner first checks if the given event unifies with an event already in the plan. If so, the plan reasoner signals that nothing needed to be added to the plan (except possibly unifying assumptions, which are also indicated). Otherwise, it attempts to add an event node to the plan graph labelled with (an instance of) the event. The search continues until one or more unifying event nodes are found. 2 An example of the search in progress for the previous call is given in Figure 3 , assuming that the plan already includes moving some oranges to Dansville (event el). At this point (two levels of search), the given Move-Engine event unties uniquely with a leaf node, so the search terminates successfully. The connecting path (double arrows) indicates that moving the engine is done to move a car that will contain the oranges, thus moving them. Note that we do not know yet which car this will be.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 484, |
| "end": 492, |
| "text": "Figure 3", |
| "ref_id": "FIGREF6" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Incorporation", |
| "sec_num": "3.1." |
| }, |
| { |
| "text": "Zln fact. we also use a depth bound, based on the intuition that if the connection is not relatively short, the user's utterance has probably been misinterpreted.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Incorporation", |
| "sec_num": "3.1." |
| }, |
| { |
| "text": "If more than one match is found at the same depth, the plan reasoner signals the ambiguity to the discourse module for resolution. Otherwise the connecting path is returned as a list of things that need to be added to the plan to incorporate the given event. These are usually interpreted by the discourse module as being implicatures of the user's utterance. They are added to a plan context and are used both for subsequent planning and plan recognition steps and to generate utterances when the system gets the turn.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Incorporation", |
| "sec_num": "3.1." |
| }, |
| { |
| "text": "The procedure ineorp-role-filler is used for statements that mention objects to be used in the plan (example (2) previously). In this case, the termination criterion for the search is an event node labelled by an event that has a role that unities with the given object (a term or lambda expression). For example, the sample sentences result in the following calls: Finally, there is the procedure incorp-fact that searches for a fact node that would unify with the given one. This is used for utterances like the examples (3) and (4), since the plan graph representation supports inferential (fact-fact) links. Again however, the search space of potential unifying formulas is infinite. We therefore only consider certain candidates, based on syntactic considerations. These include facts that the underlying reasoning system is particularly good at, such as temporal constraints or location reasoning. Continued use of the system will identify which inferences need to be made at this level, and which are best left to management by higher-level discourse manager routines.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Incorporation", |
| "sec_num": "3.1." |
| }, |
| { |
| "text": "These incorp-routines all take an existing plan graph as argument and expand it. This could come from an initial speecification, but utterances like example (5) require that the plan reasoner be able to incorporate goals, There is therefore an incorp-goal procedure that takes a sentence and a (possibly function expand-graph (g p) foreach n E leaf nodes ofg if n is an event node then e ~ Label(n) foreach f ~ Enablers(Type(e))", |
| "cite_spans": [ |
| { |
| "start": 157, |
| "end": 160, |
| "text": "(5)", |
| "ref_id": "BIBREF4" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Goals", |
| "sec_num": "3.2." |
| }, |
| { |
| "text": "add (plan-enabler f, e p) to g foreach e\" e Generators(Type(e)) add (plan-generates e\" e p) to g else f <--Label(n)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Goals", |
| "sec_num": "3.2." |
| }, |
| { |
| "text": "foreach event type T foreaeh f\" e Effects(T) s.t. Unify(f,f', ~) add (plan-enables (lambda T ~) f p) to g then the plan graph is searched for a matching event node. If one is found, then the plan reasoner returns relevant assumptions and marks the node as a goal. Otherwise, a new event node is added to the plan and marked as a goal. Similar processing is done for fact goals. In our dialogues, the user often begins by communicating a goal that the rest of the dialogue is concerned with achieving. There is no point in doing much work for goals (beyond checking consistency) since it is likely to be immediately elaborated upon in subsequent utterances. Proper treatment of subgoals expressed as goals is part of our current work on subplans.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Goals", |
| "sec_num": "3.2." |
| }, |
| { |
| "text": "One construction that uses subgoals and subplans and that arises repeatedly in collaborative dialogue is the use of purpose clauses, such as example sentences (6) . To accomodate these, the incorp-functions all accept an optional \"purpose\" argument (an event). For example, the sample sentences result in the following calls: If the purpose argument is present, it is first incorporated using incorp-event. If this fails, then the discourse module is notified--presumably this is some kind of presupposition failure requiring discourse-level action. If it succeeds, then the original item is incorporated but with the search restricted to the (sub-)plan graph rooted at the purpose event.", |
| "cite_spans": [ |
| { |
| "start": 159, |
| "end": 162, |
| "text": "(6)", |
| "ref_id": "BIBREF5" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Purpose clauses", |
| "sec_num": "3.3." |
| }, |
| { |
| "text": "(", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Purpose clauses", |
| "sec_num": "3.3." |
| }, |
| { |
| "text": "This simple modification of the basic plan recognition algorithms is effective at reducing the ambiguity that would oth-erwise be detected if the entire plan graph were searched. It is likely not adequate for all types of purpose or rationale clause, in particular those that involve the mental state of the agent rather than domain events. However, the generality of the plan graph formalism does allow it to handle many of the cases arising in our dialogues.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Purpose clauses", |
| "sec_num": "3.3." |
| }, |
| { |
| "text": "To further illustrate our approach to plan reasoning, we present a sample TRAINS dialogue and describe how it is processed by the system. This dialogue was gathered from simulations where a person played the role of the system. A previous version of the TRAINS system processed the dialogue correctly--the current implementation will also once it is completed.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "The manager starts by communicating her goals, making several statements, and asking a question. The system replies and makes a proposal, which is then accepted by the manager. The complete transcript is as follows: The manager's first utterance results in the following call to the plan reasoner:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "(incorp-goal (lambda ?e*Make-OJ (Eq (agent ?e) SYSHUM)) THE-PLAN)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "As described above, this results in an event node begin added to the (formerly empty) plan.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "Utterance (2) could be intelpreted simply as statements about the world. However, since the system already knows these (incorp-role-filler ol THE-PLAN) (incorp-role-filler fl THE-PLAN)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "The constants ol and fl are determined by the scope and reference module.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "For the first call, the Make-0J event has a role for some oranges, but there is a constraint that they must be at the location of the factory. While the system does not yet know which factory this will be, it can deduce that Avon cannot be that city since there is no factory there. Since the system knows only that the oranges are at Avon now (by assumption), they cannot be used directly for the Make-0J. The plan reasoner therefore searches the space of acceptable plan graphs breadth-first, as described above. A connection is found by assuming that the oranges will be moved from Avon to the factory (wherever it turns out to be) via a Move-0ranges event. A description of this path (with assumptions) is returned to the discourse module. For the second call, the factory is acceptable as a role of the Make-0J event, so only the required equality assumption is returned. This has the additional effect of determining to where the oranges are shipped (Bath).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "Utterance (3) is also non-trivial to connect to the plan. We presume that the system already knows of E3's imminent arrival in the form of a sentence like (Occurs e0*Arrive). Again therefore, the statement is therefore taken to suggest the use of E3 in the plan. The system can reason about the effects of the Arrive event, in this case that E3 will be at Avon at 3pro. Even so, there is no event with a role for an engine in the plan yet, so the space of acceptable plans is again searched breadth-first. In this case, a connection is possible by postulating a MoveCar event that generates the previouslyadded Move-0ranges event, and a Move-Engine event that generates the Move-Car.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "The manager then makes the query (4), thereby relinquishing the turn. The dialogue module evaluates the query by calling the plan reasoner with:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "(incorp-event (lambda ?e'Move-Oranges (Eq? (oranges ?e) oi)) THE-PLAN)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "The plan reasoner finds the Move-0ranges event added a result of utterance (2), and indicates this to the discourse module. The system therefore replies with utterance (5), implicitly accepting the rest of the plan as well.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "The plan reasoner is then called to elaborate the plan, during which it performs fairly traditional means-ends planning to attempt to flesh out the plan. In so doing, it attempts to satisfy or assume preconditions and bind roles to objects in order to generate a supported plan. It freely makes consistent persistence assumptions by assuming inclusion of one unconstrained temporal interval within another known one. It can ignore some details of the plan, for example the exact route an engine should take. These can be reasoned about if necessary (i.e., if the human mentions them) but can be left up to the agents otherwise.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "In the example scenario, many things can be determined unambiguously. For example, the oranges should be unloaded at Bath at the appropriate time, leading to an event of type Unload. The choice of car for transporting the oranges, however, is ambiguous: in the scenario, there is an empty car at Avon as well as one attached to E3. The plan reasoner sig-nals the ambiguity to the discourse module, which chooses one alternative and proposes it, leading to utterance (6) .", |
| "cite_spans": [ |
| { |
| "start": 466, |
| "end": 469, |
| "text": "(6)", |
| "ref_id": "BIBREF5" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "At this point the manager regains the turn and the dialogue continues until the system believes it has a mutually agreed upon plan. In this example, the manager accepts the system's suggestion, and the plan reasoner determines that the plan is ready for execution by the agents in the simulated TRAINS world.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Example", |
| "sec_num": "4." |
| }, |
| { |
| "text": "Graph-based approaches to representing plans date back to the very beginnings of work on automated planning, from Sacerdoti's procedural nets [6] to SIPE's representation of plans [7] . Often these representations reflected a combination of temporal information and knowledge about the plan. In our view, the temporal reasoning is provided by the underlying knowledge representation and the plan graph represents an argument that a certain course of action under conditions will achieve certain explicit goals. The earlier systems' inability to separate the plan representations from their use as data structures in planners made it difficult to predict and explain their behaviour. The plan graph formalism achieves such a separation, but the price we pay is the inability to use directly the efficient algorithms developed previously. Some of the results from the planning community on efficient algorithms can be adapted to the temporally explicit logic of events (c.f., [2] ). We are developing a theory of plan graphs that will provide a formal basis for many of the heuristic procedures developed previously.", |
| "cite_spans": [ |
| { |
| "start": 142, |
| "end": 145, |
| "text": "[6]", |
| "ref_id": "BIBREF5" |
| }, |
| { |
| "start": 180, |
| "end": 183, |
| "text": "[7]", |
| "ref_id": "BIBREF6" |
| }, |
| { |
| "start": 974, |
| "end": 977, |
| "text": "[2]", |
| "ref_id": "BIBREF1" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussion", |
| "sec_num": "5." |
| }, |
| { |
| "text": "With respect to plan recognition, Kautz's work [8, 9] provides a formal basis for plan recognition but only dealt with observed events fitting into a hierarchy of event types. Pollack [10] uses a formalism similar to our underlying temporal logic, but includes representations of belief and intention that are not the focus of this paper. We believe that there is a structure to plans independent of the intentions of agents, and that plan graphs seen as arguments provide the proper perspective for reasoning about them at that level.", |
| "cite_spans": [ |
| { |
| "start": 47, |
| "end": 50, |
| "text": "[8,", |
| "ref_id": "BIBREF7" |
| }, |
| { |
| "start": 51, |
| "end": 53, |
| "text": "9]", |
| "ref_id": "BIBREF8" |
| }, |
| { |
| "start": 184, |
| "end": 188, |
| "text": "[10]", |
| "ref_id": "BIBREF9" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussion", |
| "sec_num": "5." |
| }, |
| { |
| "text": "Carberry [11] describes a model for incremental plan inference in task-related information-seeking dialogues. It uses a \"context model\" consisting of a tree of goals, with associated plans. Since we see the overall structure of a plan as an argument, there is no such separation in our approach, although we do treat goals specially as described previously. Her \"current focused\" goal and plan are analogous to our :purpose mechanism and to the techniques used by the language and discourse modules for determining focus. The system also uses breadth-first search with \"focusing heuristics,\" several of which correspond to our heuristics described previously. However, the approach lacks a formal description that we believe can be provided by the plan graph formalism.", |
| "cite_spans": [ |
| { |
| "start": 9, |
| "end": 13, |
| "text": "[11]", |
| "ref_id": "BIBREF10" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussion", |
| "sec_num": "5." |
| }, |
| { |
| "text": "Several recent approaches to plan recognition [12, 13] rely on the use of a powerful terminological reasoner to place event types in a virtual lattice. This has the advantage that subsumption relationships (corresponding to our unification procedure) can be automatically and incrementally computed. Existing terminological reasoners, however, typically either do not allow complex objects (roles) and equality, or draw only the conclusions about subsumption that are deductively (necessarily) entailed. Neither do they compute the assumptions that would unify facts.", |
| "cite_spans": [ |
| { |
| "start": 46, |
| "end": 50, |
| "text": "[12,", |
| "ref_id": "BIBREF11" |
| }, |
| { |
| "start": 51, |
| "end": 54, |
| "text": "13]", |
| "ref_id": "BIBREF13" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussion", |
| "sec_num": "5." |
| }, |
| { |
| "text": "No existing system is as ambitious as the TRAINS domain plan reasoner in providing services required to support dialogue, from representing complex, partial and incorrect plans to providing incremental and interleaved planning and plan recognition. We are currently completing a new implementation of the procedures based on this paper. It is part of our current research to apply work on argument systems directly to justifying these plan graph algorithms in terms of a formal theory of plan graphs.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussion", |
| "sec_num": "5." |
| } |
| ], |
| "back_matter": [], |
| "bib_entries": { |
| "BIBREF0": { |
| "ref_id": "b0", |
| "title": "TbeTRAINS project. TRAINS Technical Note 91-1", |
| "authors": [ |
| { |
| "first": "", |
| "middle": [], |
| "last": "Jameseallenandlenhartk", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Schubert", |
| "suffix": "" |
| } |
| ], |
| "year": 1991, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "JamesEAllenandLenhartK. Schubert. TbeTRAINS project. TRAINS Technical Note 91-1, Dept. of Computer Science, University of Rochester, Rochester, NY, 1991.", |
| "links": null |
| }, |
| "BIBREF1": { |
| "ref_id": "b1", |
| "title": "Temporal reasoning and planning", |
| "authors": [ |
| { |
| "first": "", |
| "middle": [], |
| "last": "James E Allen", |
| "suffix": "" |
| } |
| ], |
| "year": 1991, |
| "venue": "Reasoning about Plans", |
| "volume": "", |
| "issue": "", |
| "pages": "1--68", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "James E Allen. Temporal reasoning and planning. In Reason- ing about Plans, pages 1-68. Morgan Kaufmann, 1991.", |
| "links": null |
| }, |
| "BIBREF2": { |
| "ref_id": "b2", |
| "title": "Explicit representation of events, actions, and plans for assumption-based plan reasoning", |
| "authors": [ |
| { |
| "first": "George", |
| "middle": [], |
| "last": "Ferguson", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "George Ferguson. Explicit representation of events, actions, and plans for assumption-based plan reasoning. Technical Re- port 428, Dept. of Computer Science, University of Rochester, Rochester, NY, June 1992.", |
| "links": null |
| }, |
| "BIBREF3": { |
| "ref_id": "b3", |
| "title": "Action in interval temporal logic", |
| "authors": [ |
| { |
| "first": "E", |
| "middle": [], |
| "last": "James", |
| "suffix": "" |
| }, |
| { |
| "first": "George", |
| "middle": [], |
| "last": "Allen", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Ferguson", |
| "suffix": "" |
| } |
| ], |
| "year": 1993, |
| "venue": "Proceedings of the Second Symposium on Logical Formalizations of Commonsense Reasoning", |
| "volume": "", |
| "issue": "", |
| "pages": "11--13", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "James E Allen and George Ferguson. Action in interval tem- poral logic. In Proceedings of the Second Symposium on Logi- cal Formalizations of Commonsense Reasoning, pages 12-22, Austin, TX, 11-13 January 1993.", |
| "links": null |
| }, |
| "BIBREF4": { |
| "ref_id": "b4", |
| "title": "A Theory of Human Action", |
| "authors": [ |
| { |
| "first": "A", |
| "middle": [ |
| "I" |
| ], |
| "last": "Goldman", |
| "suffix": "" |
| } |
| ], |
| "year": 1970, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "A.I. Goldman. A Theory of Human Action. Prentice-Hall, 1970.", |
| "links": null |
| }, |
| "BIBREF5": { |
| "ref_id": "b5", |
| "title": "A Structure for Plans and Behaviour", |
| "authors": [ |
| { |
| "first": "E", |
| "middle": [ |
| "D" |
| ], |
| "last": "Sacerdoti", |
| "suffix": "" |
| } |
| ], |
| "year": 1977, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "E.D. Sacerdoti. A Structure for Plans and Behaviour. Elsevier, North-Holland, 1977.", |
| "links": null |
| }, |
| "BIBREF6": { |
| "ref_id": "b6", |
| "title": "Praetical Planning: Extending the ClassicaI Al Planning Paradigm", |
| "authors": [ |
| { |
| "first": "D", |
| "middle": [ |
| "E" |
| ], |
| "last": "Wilkins", |
| "suffix": "" |
| } |
| ], |
| "year": 1988, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "D.E. Wilkins. Praetical Planning: Extending the ClassicaI Al Planning Paradigm. Morgan Kaufmann, 1988.", |
| "links": null |
| }, |
| "BIBREF7": { |
| "ref_id": "b7", |
| "title": "A Formal Theory of Plan Recognition", |
| "authors": [ |
| { |
| "first": "A", |
| "middle": [], |
| "last": "Henry", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Kautz", |
| "suffix": "" |
| } |
| ], |
| "year": 1987, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Henry A. Kautz. A Formal Theory of Plan Recognition. PhD thesis, Dept. of Computer Science, University of Rochester, Rochester, NY, May 1987. Available as TR 215.", |
| "links": null |
| }, |
| "BIBREF8": { |
| "ref_id": "b8", |
| "title": "A formal theory of plan recognition and its implementation", |
| "authors": [ |
| { |
| "first": "A", |
| "middle": [], |
| "last": "Henry", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Kautz", |
| "suffix": "" |
| } |
| ], |
| "year": 1991, |
| "venue": "Reasoning about Plans", |
| "volume": "", |
| "issue": "", |
| "pages": "69--126", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Henry A. Kautz. A formal theory of plan recognition and its implementation. In Reasoning about Plans, pages 69-126. Morgan Kaufmann, 1991.", |
| "links": null |
| }, |
| "BIBREF9": { |
| "ref_id": "b9", |
| "title": "Plans as complex mental attitudes", |
| "authors": [ |
| { |
| "first": "Martha", |
| "middle": [ |
| "E" |
| ], |
| "last": "Pollack", |
| "suffix": "" |
| } |
| ], |
| "year": 1990, |
| "venue": "Intentions in Communication. M1T Press", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Martha E. Pollack. Plans as complex mental attitudes. In P.R. Cohen, J. Morgan, and M.E. Pollack, editors, Intentions in Communication. M1T Press, 1990.", |
| "links": null |
| }, |
| "BIBREF10": { |
| "ref_id": "b10", |
| "title": "Plan Recgnition in Natural Language", |
| "authors": [ |
| { |
| "first": "Sandra", |
| "middle": [], |
| "last": "Carberry", |
| "suffix": "" |
| } |
| ], |
| "year": 1990, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Sandra Carberry. Plan Recgnition in Natural Language. MIT Press, 1990.", |
| "links": null |
| }, |
| "BIBREF11": { |
| "ref_id": "b11", |
| "title": "Plan recognition in understanding instructions", |
| "authors": [ |
| { |
| "first": "Barbara", |
| "middle": [ |
| "Di" |
| ], |
| "last": "", |
| "suffix": "" |
| }, |
| { |
| "first": "Eugenio", |
| "middle": [], |
| "last": "", |
| "suffix": "" |
| }, |
| { |
| "first": "Bonnie", |
| "middle": [], |
| "last": "Webber", |
| "suffix": "" |
| } |
| ], |
| "year": null, |
| "venue": "Proceedings of the First Intl", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Barbara Di Eugenio and Bonnie Webber. Plan recognition in understanding instructions. In Proceedings of the First Intl.", |
| "links": null |
| }, |
| "BIBREF12": { |
| "ref_id": "b12", |
| "title": "Conf. on AI Planning Systems", |
| "authors": [], |
| "year": 1992, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "15--17", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Conf. on AI Planning Systems, pages 52-61, 15-17 June 1992.", |
| "links": null |
| }, |
| "BIBREF13": { |
| "ref_id": "b13", |
| "title": "Terminological reasoning with constraint networks and an application to plan recognition", |
| "authors": [ |
| { |
| "first": "Robert", |
| "middle": [], |
| "last": "Weida", |
| "suffix": "" |
| }, |
| { |
| "first": "Diane", |
| "middle": [], |
| "last": "Litman", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "Proceedings of KR92", |
| "volume": "", |
| "issue": "", |
| "pages": "25--29", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Robert Weida and Diane Litman. Terminological reasoning with constraint networks and an application to plan recogni- tion. In Proceedings of KR92, pages 282-293, Boston, MA, 25-29 October 1992.", |
| "links": null |
| } |
| }, |
| "ref_entries": { |
| "FIGREF0": { |
| "uris": null, |
| "num": null, |
| "type_str": "figure", |
| "text": "(a) Send engine E3 to Dansville. (b) Move the oranges to Avon and unload them." |
| }, |
| "FIGREF1": { |
| "uris": null, |
| "num": null, |
| "type_str": "figure", |
| "text": "(a) Let's use engine E3. (b) There's an OJ factory at Dansville." |
| }, |
| "FIGREF2": { |
| "uris": null, |
| "num": null, |
| "type_str": "figure", |
| "text": "(a). The functions blkl and blk2 are role functions that denote objects participating in the event; the functions prel and effl are temporal role functions denoting intervals related to the time of the event. In a forrealism such as the situation calculus, actions are terms and there is no equivalent of the Occurs predicate. However, we can introduce one as a placeholder, and then we might get a plan graph like that shown inFigure l(b)." |
| }, |
| "FIGREF3": { |
| "uris": null, |
| "num": null, |
| "type_str": "figure", |
| "text": "On(blkl(el), blk2(el), efffl(el)) achieves Occurs(el) enables Clear(blk2(e 1),pre 1 (el)) (a) Temporal logic plan graph On(a, b, do(stack(a, b), sO)) ' achieves Occurs(do(stack(a, b), sO)) I enables Clear(b, sO) (b) Situation calculus plan graph Simple example plan graphs frontier is expanded by the function expand-graph, shown in" |
| }, |
| "FIGREF4": { |
| "uris": null, |
| "num": null, |
| "type_str": "figure", |
| "text": "2a) (ineorp-role-filler ENG3 THE-PLAN) (2b) (incorp-role-filler (lambda ?x*OJ-Factory (At ?x DANSVILLE NOW) THE-PLAN)" |
| }, |
| "FIGREF5": { |
| "uris": null, |
| "num": null, |
| "type_str": "figure", |
| "text": "Function expand-graph (subscript e indicates substitution) empty) plan graph as arguments. If the sentence is Occurs(e)," |
| }, |
| "FIGREF6": { |
| "uris": null, |
| "num": null, |
| "type_str": "figure", |
| "text": "Incorporating moving the engine facts (and assumes the manager knows it knows, etc.), the utterance is interpreted as suggesting use of the objects, resuiting in the following calls:" |
| } |
| } |
| } |
| } |