Contents
Why do we use variational inference?
Variational Bayesian methods are primarily used for two purposes: To provide an analytical approximation to the posterior probability of the unobserved variables, in order to do statistical inference over these variables.
What is variational approximation?
Variational approximations is a body of deterministic tech- niques for making approximate inference for parameters in complex statistical models. 2009) emerged with claims of being able to handle a wide variety of statistical problems.
What is black box variational inference?
Essentially black box VI is a method that yields an estimator for the gradient of the ELBO with respect to the variational parameters with very little constraint on the form of the posterior or the variational distribution.
Why is mean field approximation used in variational inference?
Simply because for many cases, we cannot directly compute the posterior distribution, i.e. the posterior is on an intractable form — often involving integrals — which cannot be (easily) computed. This post focuses on the simplest approach to Variational Inference based on mean-field approximation.
What is the idea of variational inference ( VI )?
The idea behind Variational Inference (VI) methods is to propose a family of densities and find a member q ⋆ of that family which is close to the target posterior p(z ∣ x). I.e. instead of computing the real posterior, we try to find the parameters z of a new distribution q ⋆ (the approximation to our real posterior) such that:
How is the variational distribution factorized in variational inference?
In this type of Variational Inference, due to variable independency, the variational distribution over the latent variables factorizes as: where each latent variable ( zj) is governed by its own density q(zj).
When to use variational inference or MCMC-based posterior?
That’s where Variational Inference enters the picture: it’s faster and works well if we know the parametric distribution of the posterior, however being sometimes over-confident when posterior are not exact to the approximated. So as a golden rule, always use approximated methods, but if in doubt, double check with the true MCMC-based posterior.