Chapter 2 – A Formal Theory of Plan Recognition and its Implementation

ion [2] [3] PrepareMeal(*I1) Kautz Plan Recognition 09/09/97 page 22 Abstraction [3] [4] End(*I1) Although the recognized plan is not fully specified, enough is known to allow the observer to make predictions about future actions of the agent. For example, the observer can predict that the agent will boil water:ion [3] [4] End(*I1) Although the recognized plan is not fully specified, enough is known to allow the observer to make predictions about future actions of the agent. For example, the observer can predict that the agent will boil water: Decomposition [2] [5] Boil( step3(*I1) ) ∧ After(time(Obs1), time(step3(*I1)) ) The observer may choose to make further inferences to refine the hypothesis. The single formula “MakePastaDish(*I1)” above does not summarize all the information gained by plan recognition. The actual set of conclusions is always infinite, since it includes all formulas that are entailed by the hierarchy, the observations, and the assumptions. (The algorithms discussed later in this chapter perform a limited number of inferences and generate a finite set of conclusions.) Several inference steps are required to reach the conclusion that the agent must be making spaghetti rather than fettucini. Given Knowledge [6] ∀x . ¬MakeAlfredoSauce(x) Exhaustiveness Assumption [2] [7] MakeSpaghettiMarinara(*I1) ∨ MakeSpaghettiPesto(*I1) ∨ MakeFettuciniAlfredo(*I1) Decomposition & Universal Instantiation [8] MakeFettuciniAlfredo(*I1) ⊃ MakeAlfredoSauce(step2(*I1)) Modus Tollens [6,8] [9] ¬MakeFettuciniAlfredo(*I1) Disjunction Elimination [7,9] [10] MakeSpaghettiMarinara(*I1) ∨ MakeSpaghettiPesto(*I1) Decomposition & Universal Instantiation [11] MakeSpaghettiMarinara(*I1) ⊃ MakeSpaghetti(step1(*I1)) [12] MakeSpaghettiPesto(*I1) ⊃ MakeSpaghetti(step1(*I1)) Kautz Plan Recognition 09/09/97 page 23 Reasoning by Cases [10,11,12] [13] MakeSpaghetti(step1(*I1)) Suppose that the second observation is that the agent is making marinara sauce. The minimal cardinality assumption allows the observer to intersect the possible explanations for the first observation with those for the second, in order to reach the conclusion that the agent is making spaghetti marinara. Second Observation [14] MakeMarinara(Obs2) Component/Use Assumption [14] & Existential Instantiation [15] MakeSpaghettiMarinara(*I2) ∨ MakeChickenMarinara(*I2) Abstraction [15] [16] MakePastaDish(*I2) ∨ MakeMeatDish(*I2)ion [15] [16] MakePastaDish(*I2) ∨ MakeMeatDish(*I2) Abstraction [16] [17] PrepareMeal(*I2)ion [16] [17] PrepareMeal(*I2) Abstraction [17] [18] End(*I2)ion [17] [18] End(*I2) Minimality Assumption [19] ∀ x,y . End(x) ∧ End(y) ⊃ x=y Universal Instantiation & Modus Ponens [4,17,19] [20] *I1 = *I2 Substitution of Equals [2,30] [21] MakePastaDish(*I2) Disjointness Assumption [22] ∀ x . ¬MakePastaDish(x) ∨ ¬MakeMeatDish(x) Disjunction Elimination [21,22] [23] ¬MakeMeatDish(*I2) Abstraction & Existential Instantiation [24] MakeChickenMarinara(*I2) ⊃ MakeMeatDish(*I2)ion & Existential Instantiation [24] MakeChickenMarinara(*I2) ⊃ MakeMeatDish(*I2) Kautz Plan Recognition 09/09/97 page 24 Modus Tollens [23,24] [25] ¬MakeChickenMarinara(*I2) Disjunction Elimination [15,25] [26] MakeSpaghettiMarinara(*I2) 3.6. Circumscription and Plan Recognition Earlier we discussed the relation of circumscription to plan recognition in informal terms. Now we will make that relation precise, and in so doing, develop a model theory for part of the plan recognition framework. Circumscription is a syntactic transformation of a set of sentences representing an agent’s knowledge. Let S[π] be a set of formulas containing a list of predicates π. The expression S[σ] is the set of formulas obtained by rewriting S with each member of π replaced by the corresponding member of σ. The expression σ ≤ π abbreviates the formula stating that the extension of each predicate in σ is a subset of the extension of the corresponding predicate in π; that is (∀x . σ1(x) ⊃ π1(x)) ∧ ... ∧ (∀x . σn(x) ⊃ πn(x)) where each x is a list of variables of the proper arity to serve as arguments to each σi. The circumscription of π relative to S, written Circum(S,π), is the second-order formula (∧S) ∧ ∀ σ . [(∧S[σ]) ∧ σ ≤ π] ⊃ π ≤ σ Circumscription has a simple and elegant model theory. Suppose M1 and M2 are models of S which are identical except that the extension in M2 of one or more of the predicates in π is a proper subset of the extensions of those predicates in M1. This is denoted by the expression M1 >> M2 (where the expression is relative to the appropriate S and π). We say that M1 is minimal in π relative to S if there is no such M2. The circumscription Circum(S,π) is true in all models of S that are minimal in the π [Etherington 1986]. Therefore to prove that some set of formulas S ∪ T entails Circum(S,π) it suffices to show that every model of S ∪ T is minimal in π relative to S. Kautz Plan Recognition 09/09/97 page 25 The converse does not always hold, because the notion of a minimal model is powerful enough to capture such structures as the standard model of arithmetic, which cannot be axiomatized [Davis 1980]. In the present work, however, we are only concerned with cases where the set of minimal models can be described by a finite set of first-order formulas. The following assertion about the completeness of circumscription appears to be true, although we have not uncovered a proof: Supposition: If there is a finite set of first-order formulas T such that the set of models of S ∪ T is identical to the set of models minimal in π relative to S, then that set of models is also identical to the set of models of Circum(S,π). Another way of saying this is that circumscription is complete when the minimal-model semantics is finitely axiomatizable. Given this supposition, to prove that Circum(S,π) entails some set of formulas S ∪ T it suffices to show that T holds in every model minimal in π relative to S.

[1]  Sandra Carberry,et al.  Tracking User Goals in an Information-Seeking Environment , 1983, AAAI.

[2]  Martha E. Pollack,et al.  A Model of Plan Inference That Distinguishes Between the Beliefs of Actors and Observers , 1986, ACL.

[3]  Robert P. Goldman,et al.  A Semantics for Probabilistic Quantifier-Free First-Order Languages, with Particular Application to Story Understanding , 1989, IJCAI.

[4]  Drew McDermott,et al.  Default Reasoning, Nonmonotonic Logics, and the Frame Problem , 1986, AAAI.

[5]  Marvin Minsky,et al.  A framework for representing knowledge" in the psychology of computer vision , 1975 .

[6]  A. Haas The Case for Domain-Specific Frame Axioms , 1987 .

[7]  James F. Allen,et al.  A Plan Recognition Model for Subdialogues in Conversations , 1987, Cogn. Sci..

[8]  James A. Reggia,et al.  Diagnostic Expert Systems Based on a Set Covering Model , 1983, Int. J. Man Mach. Stud..

[9]  David W. Etherington,et al.  Reasoning with incomplete information: investigations of non-monotonic reasoning , 1986 .

[10]  Diane J. Litman,et al.  Plan recognition for intelligent interfaces , 1990, Sixth Conference on Artificial Intelligence for Applications.

[11]  N. S. Sridharan,et al.  The Plan Recognition Problem: An Intersection of Psychology and Artificial Intelligence , 1978, Artif. Intell..

[12]  Lenhart K. Schubert Monotonic Solution of the Frame Problem in the Situation Calculus: An Efficient Method for Worlds wi , 1990 .

[13]  Philip R. Cohen Referring as Requesting , 1984, COLING.

[14]  James F. Allen Maintaining knowledge about temporal intervals , 1983, CACM.

[15]  Raymond Reiter,et al.  A Theory of Diagnosis from First Principles , 1986, Artif. Intell..

[16]  J. Allen Recognizing intentions from natural language utterances , 1982 .

[17]  Edwin P. D. Pednault,et al.  Synthesizing plans that contain actions with context‐dependent effects 1 , 1988, Comput. Intell..

[18]  P. Hayes The Logic of Frames , 1981 .

[19]  John McCarthy,et al.  Circumscription - A Form of Non-Monotonic Reasoning , 1980, Artif. Intell..

[20]  James F. Allen Towards a General Theory of Action and Time , 1984, Artif. Intell..

[21]  F. SchmidtC.,et al.  The plan recognition problem , 1978 .

[22]  Drew McDermott,et al.  Introduction to artificial intelligence , 1986, Addison-Wesley series in computer science.

[23]  Robert C. Moore Reasoning About Knowledge and Action , 1977, IJCAI.

[24]  C. Raymond Perrault,et al.  Beyond Question-Answering. , 1981 .

[25]  Josh D. Tenenberg,et al.  Chapter 4 – Abstraction in Planning , 1991 .

[26]  M. Brady,et al.  Recognizing Intentions From Natural Language Utterances , 1983 .

[27]  Martin D. Davis,et al.  The Mathematics of Non-Monotonic Reasoning , 1980, Artif. Intell..

[28]  Marvin Minsky,et al.  A framework for representing knowledge , 1974 .

[29]  James F. Allen,et al.  A Plan Recognition Model for Subdialogues in Conversations , 1987, Cogn. Sci..

[30]  Bertram C. Bruce Plans and Social Actions , 1977 .