Probabilistic Graphical Models
David Sontag
New York University
Lecture 1, January 31, 2013
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 1 / 44
Probabilistic Graphical Models David Sontag New York University - - PowerPoint PPT Presentation
Probabilistic Graphical Models David Sontag New York University Lecture 1, January 31, 2013 David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 1 / 44 One of the most exciting advances in machine learning (AI, signal processing,
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 1 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 2 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 3 / 44
1 Represent the world as a collection of random variables X1, . . . , Xn
2 Learn the distribution from data 3 Perform “inference” (compute conditional distributions
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 4 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 5 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 6 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 7 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 8 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 9 / 44
1 Represent the world as a collection of random variables X1, . . . , Xn
2 Learn the distribution from data
3 Perform “inference” (compute conditional distributions
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 10 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 11 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 12 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 13 / 44
Coin toss
Die toss
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 14 / 44
Odd die tosses
Even die tosses
E.g., p(E) = p( ) + p( ) + p( ) = 1/2, if fair die
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 15 / 44
62 = 36 outcomes
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 16 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 17 / 44
1 ∩B
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 18 / 44
1 Chain rule
2 Bayes’ rule
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 19 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 20 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 21 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 22 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 23 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 24 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 25 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 26 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 27 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 28 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 29 / 44
1
2
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 30 / 44
Grade Letter SAT Intelligence Difficulty d1 d0
0.6 0.4
i1 i0
0.7 0.3
i0 i1 s1 s0
0.95 0.2 0.05 0.8
g1 g2 g2 l1 l 0
0.1 0.4 0.99 0.9 0.6 0.01
i0,d0 i0,d1 i0,d0 i0,d1 g2 g3 g1
0.3 0.05 0.9 0.5 0.4 0.25 0.08 0.3 0.3 0.7 0.02 0.2
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 31 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 32 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 33 / 44
Y X1 X2 X3 Xn
Features Label
1
2
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 34 / 44
Grade Letter SAT Intelligence Difficulty
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 35 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 36 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 37 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 38 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 39 / 44
(a) (b)
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 40 / 44
1
2
3
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 41 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 42 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 43 / 44
David Sontag (NYU) Graphical Models Lecture 1, January 31, 2013 44 / 44