Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
4190.408 2016-Spring
Bayesian Networks
Inference with Probabilistic Graphical Models Byoung-Tak Zhang Biointelligence Lab Seoul National University
1
Bayesian Networks Inference with Probabilistic Graphical Models - - PowerPoint PPT Presentation
4190.408 2016-Spring Bayesian Networks Inference with Probabilistic Graphical Models Byoung-Tak Zhang Biointelligence Lab Seoul National University B io 4190.408 Artificial Intelligence ( 2016-Spring) 1 I ntelligence Machine Learning?
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
1
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
– A system which autonomously improves its performance (P) by automatically forming model (M) based on experiential data (D)
(Perspective of Software Engineering)
(Perspective of Computer Engineering)
2
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
3
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
4
– Estimate an unknown mapping from known input and target output pairs – Learn fw from training set D = {(x,y)} s.t. – Classification: y is discrete – Regression: y is continuous
– Only input values are provided – Learn fw from D = {(x)} s.t. – Density estimation and compression – Clustering, dimension reduction
– Not target, but rewards (critiques) are provided “sequentially” – Learn a heuristic function fw from Dt = {(st,at,rt) | t = 1, 2, …} s.t. – With respect to the future, not just past – Sequential decision-making – Action selection and policy learning
w
x x
w
) ( f ( , , )
t t t
f a r
w s
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
5
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
6
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
7
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
8
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
9
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
10
(Univ. of Minnesota)
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
11
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
12
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
13
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
14
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
15
Graphical Models (GM) Causal Models Chain Graphs Other Semantics Directed GMs Dependency Networks Undirected GMs Bayesian Networks DBNs FST HMMs Factorial HMM Mixed Memory Markov Models BMMs Kalman Segment Models Mixture Models Decision Trees Simple Models PCA LDA Markov Random Fields / Markov networks Gibbs/Boltzman Distributions
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
16
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
17
n i i i
X P P
1
) | ( ) ( pa X
P(A,B,C,D,E) = P(A)P(B|A)P(C|B) P(D|A,B)P(E|B,C,D)
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
– 20 attributes require more than 220 106 parameters – Real applications usually involve hundreds of attributes
18
Hospital patients described by
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
19
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
20
M J E B A
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
21
X1 X2 X3
(0.2, 0.8) (0.6, 0.4) true 1 (0.2,0.8) true 2 (0.5,0.5) false 1 (0.23,0.77) false 2 (0.53,0.47)
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
22
Train Strike Martin Late Norman Late Project Delay Office Dirty Boss Angry Boss Failure-in-Love Martin Oversleep Norman Oversleep Norman untidy
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
23
Train Strike Martin Late Norman Late Project Delay Office Dirty Boss Angry Boss Failure-in-Love Martin Oversleep Norman Oversleep Martin Oversleep Probability T 0.01 F 0.99 Train Strike Probability T 0.1 F 0.9 Norman Oversleep Probability T 0.2 F 0.8 Boss failure- in-love Probability T 0.01 F 0.99 Norman untidy
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
24
Train Strike Martin Late Norman Late Project Delay Office Dirty Boss Angry Boss Failure-in-Love Martin Oversleep Norman Oversleep Norman
T F Norman untidy T 0.6 0.2 F 0.4 0.8 Train strike T F Martin oversleep T F T F Martin Late T 0.95 0.8 0.7 0.05 F 0.05 0.2 0.3 0.95 Norman untidy
Each column is summed to 1.
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
25
Train Strike Martin Late Norman Late Project Delay Office Dirty Boss Angry Boss Failure-in-Love Martin Oversleep Norman Oversleep Norman untidy
Each column is summed to 1.
Boss Failure-in-love T F Project Delay T F T F Office Dirty T F T F T F T F Boss Angry very 0.98 0.85 0.6 0.5 0.3 0.2 0.01 mid 0.02 0.15 0.3 0.25 0.5 0.5 0.2 0.02 little 0.1 0.25 0.2 0.3 0.7 0.07 no 0.1 0.9
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
26
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
27
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
28
Directed Graph (e.g. Bayesian Network) Undirected Graph (e.g. Markov Random Field)
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
29
Likelihood Marginal y Probabilit Priori A Process n Degradatio y Probabilit Posteriori A
Image Degraded Image Original Image Original Image Degraded Image Degraded Image Original
Pr Pr Pr Pr
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
30
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
31
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
32
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
33
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
34
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
35
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
} ,..., , {
2 1 M
F F F F
i
i
f
i
N i i
36
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
37
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
– A way to generate random samples from a (potentially very complicated) probability distribution. – Gibbs/Metropolis.
– A schedule for modifying the probability distribution so that, at “zero temperature”, you draw samples only from the MAP solution.
38
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
39
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
( | )/
U f T
*
40
Bio Intelligence
4190.408 Artificial Intelligence (2016-Spring)
( , ) ( , )
i i Ni i j j N j j
U f f i N U f f i X f L
i
i i N i
41