bayesian networks and decision graphs
play

Bayesian Networks and Decision Graphs Chapter 9 Chapter 9 p. 1/31 - PowerPoint PPT Presentation

Bayesian Networks and Decision Graphs Chapter 9 Chapter 9 p. 1/31 A small quiz Which of the following two lotteries would you prefer?: Lottery A = [$1mill . ] , Lottery B = 0 . 1[$5mill . ] + 0 . 89[$1mill . ] + 0 . 01[$0] . Chapter


  1. Bayesian Networks and Decision Graphs Chapter 9 Chapter 9 – p. 1/31

  2. A small quiz Which of the following two lotteries would you prefer?: • Lottery A = [$1mill . ] , • Lottery B = 0 . 1[$5mill . ] + 0 . 89[$1mill . ] + 0 . 01[$0] . Chapter 9 – p. 2/31

  3. A small quiz Which of the following two lotteries would you prefer?: • Lottery A = [$1mill . ] , • Lottery B = 0 . 1[$5mill . ] + 0 . 89[$1mill . ] + 0 . 01[$0] . What about these two?: • Lottery C = 0 . 11[$1mill . ] + 0 . 89[$0] , • Lottery D = 0 . 1[$5mill . ] + 0 . 9[$0] . Chapter 9 – p. 2/31

  4. A small quiz Which of the following two lotteries would you prefer?: • Lottery A = [$1mill . ] , • Lottery B = 0 . 1[$5mill . ] + 0 . 89[$1mill . ] + 0 . 01[$0] . What about these two?: • Lottery C = 0 . 11[$1mill . ] + 0 . 89[$0] , • Lottery D = 0 . 1[$5mill . ] + 0 . 9[$0] . Is this the rational choice? Chapter 9 – p. 2/31

  5. Reverse the directions? Consider the following model: Sleepy Flue Fever The probability distributions P ( Sleepy ) , P ( Fever | Sleepy ) and P ( Flue | Fever ) can be calculated from the model above and used in the model below. Sleepy Flue Fever So is there any difference?? Chapter 9 – p. 3/31

  6. Decisions Taking the temperature and setting the temperature can be seen as a test decision and an action decision, respectively. Test Action Sleepy Flue Fever Impacts from the decisions: • Tests: Both directions • Actions: With the direction only. Chapter 9 – p. 4/31

  7. Poker again Consider the poker example again: MH BH OH 0 OH 1 OH 2 Why request this? FC SC Chapter 9 – p. 5/31

  8. Poker again Consider the poker example again: MH BH OH 0 OH 1 OH 2 Why request this? FC SC Fold or call? • Both placed 1$ • She has placed 1$ more • fold ⇒ she takes the pot • call ⇒ place 1$ ⇒ best hand takes the pot Chapter 9 – p. 5/31

  9. Call or fold? This decision problem can be represented graphically by extending the BN with a decision node and a utility node: MH BH D OH 0 OH 1 OH 2 U fold call I − 1 2 D BH op. − 1 − 2 FC SC draw − 1 0 U ( BH , D ) Chapter 9 – p. 6/31

  10. Call or fold? This decision problem can be represented graphically by extending the BN with a decision node and a utility node: MH BH D OH 0 OH 1 OH 2 U fold call I − 1 2 D BH op. − 1 − 2 FC SC draw − 1 0 U ( BH , D ) The expected utility of call: EU ( call | e ) = 2 · P ( BH = I | e ) − 2 · P ( BH = op. | e ) + 0 · P ( BH = draw | e ) X = U ( BH , call ) P ( BH | e ) BH Chapter 9 – p. 6/31

  11. Mildew Two months before the harvest the farmer observes the state, Q, of his wheat field, and he can check whether the field is attacked by mildew, M. If there is a mildew attack he can decide for a treatment with fungicides. Chapter 9 – p. 7/31

  12. Mildew Two months before the harvest the farmer observes the state, Q, of his wheat field, and he can check whether the field is attacked by mildew, M. If there is a mildew attack he can decide for a treatment with fungicides. Q Harvest U OQ M ∗ M OM A C Chapter 9 – p. 7/31

  13. Mildew Two months before the harvest the farmer observes the state, Q, of his wheat field, and he can check whether the field is attacked by mildew, M. If there is a mildew attack he can decide for a treatment with fungicides. Q Harvest U OQ M ∗ M OM A C X EU ( A | e ) = C ( A ) + U ( Harvest ) P ( Harvest | A , e ) Harvest Chapter 9 – p. 7/31

  14. One action in general U j D U i has domain X i U l U k Chapter 9 – p. 8/31

  15. One action in general U j D U i has domain X i U l U k X X EU ( D | e ) = U 1 ( X 1 ) P ( X 1 | D, e ) + · · · + U n ( X n ) P ( X n | D, e ) X 1 X n Choose an action with largest EU: Opt ( D | e ) = arg max EU ( D | e ) D Chapter 9 – p. 8/31

  16. Utilities without money Two courses: Graph algorithms (GA) and DSS Marks: 0 , 1 , 2 , 3 , 4 , 5 ( ≥ 2 is a pass) Effort: Keep pace (kp), slow down (sd), follow superficially (fs) Effort Effort kp sd fs kp sd fs 0 0 0 0 . 1 0 0 0 0 . 1 1 0 . 1 0 . 2 0 . 1 1 0 0 . 1 0 . 2 GA DSS 2 0 . 1 0 . 1 0 . 4 2 0 . 1 0 . 2 0 . 2 3 0 . 2 0 . 4 0 . 2 3 0 . 2 0 . 2 0 . 3 4 0 . 4 0 . 2 0 . 2 4 0 . 4 0 . 4 0 . 2 5 0 . 2 0 . 1 0 5 0 . 3 0 . 1 0 P ( GA | Effort ) P ( DSS | Effort ) Max-score? Max-pass? Otherwise? Chapter 9 – p. 9/31

  17. Marks as utilities? Effort Effort kp sd fs kp sd fs 0 0 0 0 . 1 0 0 0 0 . 1 1 0 . 1 0 . 2 0 . 1 1 0 0 . 1 0 . 2 GA 2 0 . 1 0 . 1 0 . 4 DSS 2 0 . 1 0 . 2 0 . 2 3 0 . 2 0 . 4 0 . 2 3 0 . 2 0 . 2 0 . 3 4 0 . 4 0 . 2 0 . 2 4 0 . 4 0 . 4 0 . 2 5 0 . 2 0 . 1 0 5 0 . 3 0 . 1 0 P ( GA | Effort ) P ( DSS | Effort ) X X EU ( kp,fs ) = P ( m | kp ) m + P ( m | fs ) m m ∈ GA m ∈ DSS = (0 . 1 · 1 + 0 . 1 · 2 + 0 . 2 · 3 + 0 . 4 · 4 + 0 . 2 · 5) + (0 . 2 · 1 + 0 . 2 · 2 + 0 . 3 · 3 + 0 . 2 · 4) = 5 . 8 Chapter 9 – p. 10/31

  18. Marks as utilities? Effort Effort kp sd fs kp sd fs 0 0 0 0 . 1 0 0 0 0 . 1 1 0 . 1 0 . 2 0 . 1 1 0 0 . 1 0 . 2 GA 2 0 . 1 0 . 1 0 . 4 DSS 2 0 . 1 0 . 2 0 . 2 3 0 . 2 0 . 4 0 . 2 3 0 . 2 0 . 2 0 . 3 4 0 . 4 0 . 2 0 . 2 4 0 . 4 0 . 4 0 . 2 5 0 . 2 0 . 1 0 5 0 . 3 0 . 1 0 P ( GA | Effort ) P ( DSS | Effort ) X X EU ( kp,fs ) = P ( m | kp ) m + P ( m | fs ) m m ∈ GA m ∈ DSS = (0 . 1 · 1 + 0 . 1 · 2 + 0 . 2 · 3 + 0 . 4 · 4 + 0 . 2 · 5) + (0 . 2 · 1 + 0 . 2 · 2 + 0 . 3 · 3 + 0 . 2 · 4) = 5 . 8 EU ( sd,sd ) = 6 . 1 Chapter 9 – p. 10/31

  19. Marks as utilities? Effort Effort kp sd fs kp sd fs 0 0 0 0 . 1 0 0 0 0 . 1 1 0 . 1 0 . 2 0 . 1 1 0 0 . 1 0 . 2 GA 2 0 . 1 0 . 1 0 . 4 DSS 2 0 . 1 0 . 2 0 . 2 3 0 . 2 0 . 4 0 . 2 3 0 . 2 0 . 2 0 . 3 4 0 . 4 0 . 2 0 . 2 4 0 . 4 0 . 4 0 . 2 5 0 . 2 0 . 1 0 5 0 . 3 0 . 1 0 P ( GA | Effort ) P ( DSS | Effort ) X X EU ( kp,fs ) = P ( m | kp ) m + P ( m | fs ) m m ∈ GA m ∈ DSS = (0 . 1 · 1 + 0 . 1 · 2 + 0 . 2 · 3 + 0 . 4 · 4 + 0 . 2 · 5) + (0 . 2 · 1 + 0 . 2 · 2 + 0 . 3 · 3 + 0 . 2 · 4) = 5 . 8 EU ( sd,sd ) = 6 . 1 EU ( fs,kp ) = 6 . 2 However, does the marks really reflect your utilities? Chapter 9 – p. 10/31

  20. Subjective lotteries I consider 2 as the worst mark (utility 0 ) and 5 as the best mark (utility 1 ). Now imagine the following lottery: 2 1 − p 4 X p 5 For which p am I indifferent?? Chapter 9 – p. 11/31

  21. Subjective lotteries I consider 2 as the worst mark (utility 0 ) and 5 as the best mark (utility 1 ). Now imagine the following lottery: 2 1 − p 4 X p 5 For which p am I indifferent?? 0 1 2 3 4 5 The utility table: 0 . 05 0 . 1 0 0 . 6 0 . 8 1 U GA GA EU ( Effort ) = (1 . 015 , 1 . 07 , 1 . 035) Effort (kp,fs),(sd,sd),(fs,kp) U DSS DSS Chapter 9 – p. 11/31

  22. Instrumental rationality 1. Reflexivity. For any lottery A , A � A Chapter 9 – p. 12/31

  23. Instrumental rationality 1. Reflexivity. For any lottery A , A � A 2. Completeness. For any pair ( A, B ) of lotteries, A � B or B � A . Chapter 9 – p. 12/31

  24. Instrumental rationality 1. Reflexivity. For any lottery A , A � A 2. Completeness. For any pair ( A, B ) of lotteries, A � B or B � A . 3. Transitivity. If A � B and B � C , then A � C . Chapter 9 – p. 12/31

  25. Instrumental rationality 1. Reflexivity. For any lottery A , A � A 2. Completeness. For any pair ( A, B ) of lotteries, A � B or B � A . 3. Transitivity. If A � B and B � C , then A � C . 4. Preference increasing with probability. If A � B then αA + (1 − α ) B � βA + (1 − β ) B if and only if α ≥ β . Chapter 9 – p. 12/31

  26. Instrumental rationality 1. Reflexivity. For any lottery A , A � A 2. Completeness. For any pair ( A, B ) of lotteries, A � B or B � A . 3. Transitivity. If A � B and B � C , then A � C . 4. Preference increasing with probability. If A � B then αA + (1 − α ) B � βA + (1 − β ) B if and only if α ≥ β . 5. Continuity. If A � B � C then there exists α ∈ [0 , 1] such that B ∼ αA + (1 − α ) C Chapter 9 – p. 12/31

  27. Instrumental rationality 1. Reflexivity. For any lottery A , A � A 2. Completeness. For any pair ( A, B ) of lotteries, A � B or B � A . 3. Transitivity. If A � B and B � C , then A � C . 4. Preference increasing with probability. If A � B then αA + (1 − α ) B � βA + (1 − β ) B if and only if α ≥ β . 5. Continuity. If A � B � C then there exists α ∈ [0 , 1] such that B ∼ αA + (1 − α ) C 6. Independence. If C = αA + (1 − α ) B and A ∼ D , then C ∼ ( αD + (1 − α ) B ) . Chapter 9 – p. 12/31

  28. Instrumental rationality 1. Reflexivity. For any lottery A , A � A 2. Completeness. For any pair ( A, B ) of lotteries, A � B or B � A . 3. Transitivity. If A � B and B � C , then A � C . 4. Preference increasing with probability. If A � B then αA + (1 − α ) B � βA + (1 − β ) B if and only if α ≥ β . 5. Continuity. If A � B � C then there exists α ∈ [0 , 1] such that B ∼ αA + (1 − α ) C 6. Independence. If C = αA + (1 − α ) B and A ∼ D , then C ∼ ( αD + (1 − α ) B ) . Theorem: For an individual who acts according to a preference ordering satisfying rules 1-6 above, there exists a utility function over the outcomes s.t. the expected utility is maximized. Chapter 9 – p. 12/31

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend