Probabilistic Graphical Models
David Sontag
New York University
Lecture 4, February 21, 2013
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 1 / 29
Probabilistic Graphical Models David Sontag New York University - - PowerPoint PPT Presentation
Probabilistic Graphical Models David Sontag New York University Lecture 4, February 21, 2013 David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 1 / 29 Conditional random fields (CRFs) A CRF is a Markov network on variables X
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 1 / 29
y
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 2 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 3 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 4 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 5 / 29
1 Worst-case complexity of probabilistic inference 2 Elimination algorithm 3 Running-time analysis of elimination algorithm (treewidth) David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 6 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 7 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 8 / 29
Q1 Qn Q4 Q3 Q2 C1 A1 X Am–2 A2 Cm Cm–1 C3 C2
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 9 / 29
Q1 Qn Q4 Q3 Q2 C1 A1 X Am–2 A2 Cm Cm–1 C3 C2
1 2n for any satisfying assignment q
q,c,a p(Q = q, C = c, A = a | X = 1)
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 10 / 29
Q1 Qn Q4 Q3 Q2 C1 A1 X Am–2 A2 Cm Cm–1 C3 C2
q,c,a p(Q = q, C = c, A = a, X = 1) is equal to the number
1 2n
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 11 / 29
2). Consider the following:
1
2
3
4
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 12 / 29
Q1 Qn Q4 Q3 Q2 C1 A1 X Am–2 A2 Cm Cm–1 C3 C2
. . . . . .
X1 X2 X3 X4 X5 X6 Y1 Y2 Y3 Y4 Y5 Y6
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 13 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 14 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 15 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 16 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 17 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 18 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 19 / 29
a ψ1(a, B)
b ψ1(b, C)
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 20 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 21 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 22 / 29
i=1 = {p(Xi | XPa(Xi))}n i=1,
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 23 / 29
a1 a1 a1 a1 a2 a2 a2 a2 a3 a3 a3 a3 b1 b1 b2 b2 b1 b1 b2 b2 b1 b1 b2 b2 c1 c2 c1 c2 c1 c2 c1 c2 c1 c2 c1 c2
0.25 0.35 0.08 0.16 0.05 0.07 0.15 0.21 0.09 0.18
a1 a1 a2 a2 a3 a3 c1 c2 c1 c2 c1 c2
0.33 0.51 0.05 0.07 0.24 0.39 David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 24 / 29
1
2
3
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 25 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 26 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 27 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 28 / 29
David Sontag (NYU) Graphical Models Lecture 4, February 21, 2013 29 / 29