139 words
1 minutes
[CS5340] Variational Inference
Approximate Inference
- Goal: find the posterior (intractable)
- Stochastic approximation: MCMC
- Deterministic approximation: Variational approach
Variational Approach
- Given , find approximation for
- minimize KL-divergence
- but is intractable
- we maximize lower-bound of log likelihood
Mean-Field Approximation
- KL(q||p) KL(p||q)
- See the examples in the slides
Loopy Belief Propogation
- belief propagation in graphs with cycles
- initialized all messages and beliefs to
- ,
- every iteration update belief for each node
- send message on each node
- asychronous: define a hierachical order given by the tree
- synchronous: all current messages are updated with messages from previous step
[CS5340] Variational Inference
https://itsjeremyhsieh.github.io/posts/cs5340-10-variational-inference/