10/24 exam on 10/26 (lei tang and will cushing to proctor)

35
10/24 Exam on 10/26 (Lei Tang and Will Cushing to proctor)

Post on 19-Dec-2015

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

10/24

Exam on 10/26 (Lei Tang and Will Cushing to proctor)

Page 2: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

Overview of BN Inference Algorithms

Exact Inference• Complexity

– NP-hard (actually #P-Complete; since we “count” models)

• Polynomial for “Singly connected” networks (one path between each pair of nodes)

• Algorithms– Enumeration– Variable elimination

• Avoids the redundant computations of Enumeration

– [Many others such as “message passing” algorithms, Constraint-propagation based algorithms etc.]

Approximate Inference • Complexity

– NP-Hard for both absolute and relative approximation

• Algorithms– Based on Stochastic Simulation

• Sampling from empty networks• Rejection sampling• Likelihood weighting • MCMC [And many more]

TONS OF APPROACHES

Page 3: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

Examples of singly connected networks include Markov Chains and Hidden Markov Models

Page 4: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 5: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 6: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 7: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 8: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

fA(a,b,e)*fj(a)*fM(a)+fA(~a,b,e)*fj(~a)*fM(~a)+

Page 9: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 10: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 11: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

Notice that sampling methods could in general be used even when we don’t know the bayes net (and are just observing the world)! We should strive to make the sampling more efficient given that we know the bayes net

Page 12: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 13: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 14: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 15: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 16: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 17: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 18: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 19: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 20: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

That is, the rejection sampling method doesn’t really use the bayes network that much…

Page 21: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

Notice that to attach the likelihood to the evidence, we are using the CPTs in the bayes net. (Model-free empirical observation, in contrast, either gives you a sample or not; we can’t get fractional samples)

Page 22: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 23: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 24: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 25: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 26: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 27: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 28: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 29: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 30: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

MCMC not covered on 10/24

Page 31: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 32: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 33: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

Note that the other parents of zj are part of the markov blanket

Page 34: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)
Page 35: 10/24  Exam on 10/26 (Lei Tang and Will Cushing to proctor)

Case Study: Pathfinder System

• Domain: Lymph node diseases– Deals with 60 diseases and 100 disease findings

• Versions:– Pathfinder I: A rule-based system with logical reasoning– Pathfinder II: Tried a variety of approaches for uncertainity

• Simple bayes reasoning outperformed – Pathfinder III: Simple bayes reasoning, but reassessed probabilities

– Parthfinder IV: Bayesian network was used to handle a variety of conditional dependencies.

• Deciding vocabulary: 8 hours• Devising the topology of the network: 35 hours• Assessing the (14,000) probabilities: 40 hours

– Physician experts liked assessing causal probabilites

• Evaluation: 53 “referral” cases– Pathfinder III: 7.9/10– Pathfinder IV: 8.9/10 [Saves one additional life in every 1000 cases!]– A more recent comparison shows that Pathfinder now outperforms experts who helped

design it!!