Reasoning with Uncertainty
C h a p t e r 13
1
Reasoning with Uncertainty C h a p t e r 13 1 Outline - - PowerPoint PPT Presentation
Reasoning with Uncertainty C h a p t e r 13 1 Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes Rule 2 The real world is an uncertain place... Example: I need a plan that will get
1
2
1. partial observability (road state, other drivers’ plans, etc.) 2. noisy sensors (ADOT/Google traffic reports and estimates) 3. uncertainty in action outcomes (flat tire, detours, etc.) 4. immense complexity of modeling and predicting traffic
me there on time”
and my tires remain intact etc. etc. etc.”
actionable plan.
have to stay overnight in the airport . . .)
cover all possibilities
– Incomplete domain model. Common in real world...
percepts on hand
13
– For (a∧b) to be true, we need b to be true...and need a to be true given b
P(X1, . . . , Xn) = P(X1, . . . , Xn−1) P(Xn|X1, . . . , Xn−1) = P(X1, . . . , Xn−2) P(Xn1|X1, . . . , Xn−2) P(Xn|X1, . . . , Xn−1) = ...
17
18
19
20
– Ensures that the probability of the distribution adds up to 1.
– Latter are just normalized by application of α to add up to 1. – So if α just normalizes, I could also normalize “manually” à divide by sum of two. – Wow: I don’t need to actually know P(toothache) à can just normalize manually!
– 32 entries reduced to 12! – Generally: N dependent variables = 2n vs. N independent variables = n Wow!
– Can dramatically reduce information needed for full joint distribution (2n à n) – Sadly: absolute independence is quite rare in real world
– Plus: even independent subset can still be large, e.g., real dentistry = 100’s of variables
Toothache Cavity Weather Catch Toothache Cavity Catch Weather decomposes to
P(Toothache, Catch,Cavity) = P(Toothache,Catch|Cavity) P(Cavity) (prod. rule) = P(Toothache|Cavity) P(Catch|Cavity) P(Cavity) (using above)
Toothache Catch Cavity Catch Toothache Cavity
26
27
28
29
30
31
1,4 2,4 3,4 4,4 1,3 2,3 3,3 4,3 1,2
B OK
2,2 3,2 4,2 1,1
OK
2,1
B OK
3,1 4,1
Chapter 13 33
Chapter 13 34
1,1 4,4
4,4 i,j = 1,1 i,j
n 16− n
Chapter 13 35
1,4 2,4 3,4 4,4 1,3
QUERY
2,3 3,3
OTHER
4,3 1,2 2,2 3,2 4,2 1,1
KNOW 2,1
FRI
N N
3
G
, 1
E
4,1
Chapter 13 36
Chapter 13 37
unknown P(P1,3, unknown, known,
unknown P(b|P1,3, known, unknown)P(P1,3, known,
fringe other fringe other
f ringe f ringe P(b|known, P1,3, fringe)
f ringe P(b|known, P1,3, fringe)P (fringe)
f ringe P(b|known, P1,3, fringe)P (fringe)
1,3 1,2 B OK 2,2 1,1 OK 2,1 B OK 3,1 1,3 1,2 B OK 2,2 1,1 OK 2,1 B OK 3,1 1,3 1,2 B OK 2,2 1,1 OK 2,1 B OK 3,1
0.2 x 0.2 = 0.04 0.2 x 0.8 = 0.16 0.8 x 0.2 = 0.16
1,3 1,2 B OK 2,2 1,1 OK 2,1 B OK 3,1 1,3 1,2 B OK 2,2 1,1 OK 2,1 B OK 3,1
0.2 x 0.2 = 0.04
Chapter 13 38
0.2 x 0.8 = 0.16