


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















Instructor: Dr. Gita SukthankarEmail: [email protected]: T & Th 1:30-2:45pm
Location: CL1 212Office Hours (HEC 232): T 3-4:30pm, Th 10-11:30am
Exam Format
^ Exam Oct 4
th^ : closed-book, can bring 1 page of notes Oct 11
th^ : 2 page writeup of your project results (informal in-class presentation) Oct 18
th^ : Project Phase 2 ^ Chance to start a new project or refine your old one ^ 1 page writeup and informal class presentationdescribing changes you want to make in your project
Not on Exam
^ Logic proofs or e-graphs ^ SOAR ^ Inference using stochastic grammars ^ Variable elimination for loopy graphs ^ Details of Baum-Welch algorithm ^ Vision based tracking
What makes PAIR hard?
^ High computational cost ^ Plan library requirements:^ ^
Libraries can be incomplete or inaccurate Difficult to author (making learning attractive) Individual differences Mistakes/irrational behavior ^ Domain-specific characteristics makegeneralization across domains difficult ^ Specific to activity recognition:^ ^
Identifying transitions between behavior Data association Obtaining reliable tracking data (vision)
Symbolic (Consistency-based) ^ Based on the idea that plan recognition is aconsistency-checking process. ^ A model matches the set of observations if theobserved actions don’t violate any of theconstraints specified in the plan library. ^ Example techniques (first 2 weeks of reading)^ ^
Event hierarchy circumscription (Kautz) Event tracking/model tracing (Tambe) Fast/complete symbolic plan recognition (Kaminka) ^ Output: return complete set of models that passconsistency checking
Probabilistic (Likelihood-based) Based on the idea of selecting the plan that has a highprobability based on the observed evidence Belief is usually calculated using some variant onBayesian belief update (but Dempster-Shafer evidentialreasoning has also been used) Includes both directed/undirected graphical model basedprocedures Examples: dynamic Bayes networks (DBNs), hiddenMarkov/semi-Markov models (HMMs), Output: model with the maximum likelihood at thecurrent time step given the set of previous observations
Event Hierarchy Circumscription^ Event hierarchy
General axioms
H. Kautz, A Formal Theory of Plan Recognition and its Implementation,in Reasoning about Plans
Kautz’s Model
^ First order predicate calculus ^ Event hierarchy (logical encoding of a semanticnetwork)^ ^
Event predicates Abstaction axioms Decomposition axioms ^ General axioms: hardest to use for inference
^ Includes temporal constraints between the steps ^ Equality constraints between the agents executing steps orobjects involved in steps ^ Preconditions ^ Special event predicates
level abstraction
RESC Algorithm (Tambe) ^ Simple insight: model what you would do if youwere in the opponent’s position ^ What are problems with this?^ ^
High overhead: must program an agent capable ofsolving the problem Modeling the opponent’s world state can be difficult(what is the opponent’s sensor model?) Maintaining multiple hypotheses is even moreexpensive ^ What are the strengths?^ ^
Allows designer to leverage extra domain knowledge Does not require enumerating chains of possibleevents
Ambiguity in Event Tracking ^ Ambiguity: the bane of plan recognition! ^ Potential solutions:^ ^
Maintain multiple operator hierarchies (continue considering allvalid hypotheses) Delay until more evidence presents itself ^ Tambe solution: attempt to resolve ambiguity andcommit to a single interpretation^ ^
Passive ambiguity resolution (game-theoretic) Active resolution: modify agent’s actions to resolve ambiguity Detect incorrect interpretation through match failure Recovery mechanisms (assumption injection, backtracking)
Speedups for Plan Recognition ^ Smart data structures (Kaminka) ^ Use of dynamic programming (forwards-backwards algorithm, variable elimination) ^ Be able to suggest new speedups ^ Understand the purpose of the ones proposed inthe Kaminka paper^ ^
Speeding observation matching (tagged feature tree) Improving efficiency of current state query Hypotheses graph data structure
Qualitative part CAP6938: Dr. Gita Sukthankar
:
Directed acyclic graph (DAG) ^ Nodes - random vars. ^ Edges - direct influence
Quantitative part
:
Set of conditionalprobability distributions
B^ 0.9^ 0.1 be e^ 0.2^ 0.8 b e 0.9^ 0.1 b 0.01 0.99 be P(A | E,B)E
Family of
Alarm Earthquake Radio
Burglary Alarm Call
Compact representation of joint probabilitydistributions via conditional independenceTogether: Define a unique distributionin a factored form
)| () |( ), |( )() () ,,, ,(
AC PE RPE BA PEP BP RCA EBP
=
Figure from N. Friedman
Conditional probability distributions
(CPDs)
-^ Each node specifies adistribution over its values givenits parents values P(X
| Xi Pa
)i
-^ Full table needs 2
5 -1=
parameters, BN needs 10
Earthquake
Burglary Alarm
Radio
Pearl, 1988
Call 0.990. be
0.10. be
0.80. be
0.10. P(A|E,B)BE be