Docsity

CAP6938: Plan, Activity, and Intent Recognition - Lecture Notes by Dr. Gita Sukthankar - P, Study notes of Computer Science

Partial preview of the text

Download CAP6938: Plan, Activity, and Intent Recognition - Lecture Notes by Dr. Gita Sukthankar - P and more Study notes Computer Science in PDF only on Docsity!

CAP6938-

Plan, Activity, and Intent

RecognitionReview of Material

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

: End, AnyEvent (top-

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

=

What is a Bayes (belief) net?

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