Probabilistic Graphical Models
David Sontag
New York University
Lecture 13, May 2, 2013
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 1 / 14
Probabilistic Graphical Models David Sontag New York University - - PowerPoint PPT Presentation
Probabilistic Graphical Models David Sontag New York University Lecture 13, May 2, 2013 David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 1 / 14 Today: learning with partially observed data Identifiability Overview of EM
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 1 / 14
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 2 / 14
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 3 / 14
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 4 / 14
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 5 / 14
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 6 / 14
1 Write down the complete log-likelihood log p(x, z; θ) in such a way
2 Initialize θ0, e.g. at random or using a good first guess 3 Repeat until convergence:
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 7 / 14
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 8 / 14
i = 1 to N d = 1 to D
wid
Prior distribution
Topic of doc d Word
β
Topic-word distributions
θ zd α
Dirichlet hyperparameters i = 1 to N d = 1 to D
θd wid zid
Topic distribution for document Topic of word i of doc d Word
β
Topic-word distributions
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 9 / 14
i = 1 to N d = 1 to D
wid
Prior distribution
Topic of doc d Word
β
Topic-word distributions
θ zd
d=1 p(wd, Zd; θ, β), where
N
K
k N
K
k,wid
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 10 / 14
D
N
K
D
N
K
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 11 / 14
D
N
K
K
D
K
W
D
k
d=1 p(Zd = k | wd; θt, βt)
ˆ k=1
d=1 p(Zd = ˆ
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 12 / 14
α
Dirichlet hyperparameters i = 1 to N d = 1 to D
θd wid zid
Topic distribution for document Topic of word i of doc d Word
β
Topic-word distributions
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 13 / 14
N
zd
zd
David Sontag (NYU) Graphical Models Lecture 13, May 2, 2013 14 / 14