Value of Perfect Information
Weather Forecast Umbrella U
A W U leave sun 100 leave rain take sun 20 take rain 70
MEU with no evidence MEU if forecast is bad MEU if forecast is good
F P(F) good 0.59 bad 0.41
Forecast distribution
Value of Perfect Information A W U MEU with no evidence Umbrella - - PowerPoint PPT Presentation
Value of Perfect Information A W U MEU with no evidence Umbrella leave sun 100 U leave rain 0 take sun 20 MEU if forecast is bad Weather take rain 70 MEU if forecast is good Forecast Forecast distribution F P(F) good 0.59
Weather Forecast Umbrella U
A W U leave sun 100 leave rain take sun 20 take rain 70
MEU with no evidence MEU if forecast is bad MEU if forecast is good
F P(F) good 0.59 bad 0.41
Forecast distribution
a s s, a s,a,s s a b b, a
evidence to date {e}
needed to predict new evidence given past evidence
expectimax to compute approximate value of actions
busting or one sense followed by a bust?
a {e} e, a e {e, e} a b b, a b abust {e} {e}, asense e {e, e} asense U(abust, {e}) abust U(abust, {e, e})
Demo: Ghostbusters with VP
e
Instructor: Anca Dragan --- University of California, Berkeley
[These slides were created by Dan Klein, Pieter Abbeel, and Anca. http://ai.berkeley.edu.]
rain sun 0.9 0.7 0.3 0.1
sun rain sun rain 0.1 0.9 0.7 0.3 Xt-1 Xt P(Xt|Xt-1) sun sun 0.9 sun rain 0.1 rain sun 0.3 rain rain 0.7
rain sun 0.9 0.7 0.3 0.1
Forward simulation
xt−1
xt−1
… [Demo: L13D1,2,3]
x
Xt-1 Xt P(Xt|Xt-1) sun sun 0.9 sun rain 0.1 rain sun 0.3 rain rain 0.7
P∞(sun) = P(sun|sun)P∞(sun) + P(sun|rain)P∞(rain) P∞(rain) = P(rain|sun)P∞(sun) + P(rain|rain)P∞(rain)
P∞(sun) = 0.9P∞(sun) + 0.3P∞(rain) P∞(rain) = 0.1P∞(sun) + 0.7P∞(rain) P∞(sun) = 3P∞(rain) P∞(rain) = 1/3P∞(sun)
random page (dotted lines, not all shown)
page
keywords in decreasing rank, now all search engines use link analysis along with many other factors (rank actually getting less important over time)
to P(Xj | x1, x2, …, xj-1, xj+1, …, xn, e1, …, em)
enough we get a sample from the desired distribution
[Demo: Pacman – Sonar – No Beliefs(L14D1)]
Rt-1 Rt P(Rt|Rt-1) +r +r 0.7 +r
0.3
+r 0.3
0.7 Umbrellat-1 Rt Ut P(Ut|Rt) +r +u 0.9 +r
0.1
+u 0.2
0.8 Umbrellat Umbrellat+1 Raint-1 Raint Raint+1
P(Xt | Xt−1)
P(Et | Xt)
sometimes move in a random direction or stay in place
red means close, green means far away.
1/9 1/9 1/9 1/9 1/9 1/9 1/9 1/9 1/9 P(X1) P(X|X=<1,2>) 1/6 1/6 1/6 1/2
[Demo: Ghostbusters – Circular Dynamics – HMM (L14D2)]
1 Prob
Example from Michael Pfeiffer
1 Prob
1 Prob
1 Prob
1 Prob
1 Prob