Week 10 Variational inference Flashcards
(15 cards)
Formulate ELBO
How to restrict proposal
How to optimize q(Z)
Where we find q(Z) through factorising (or parametric?)
How to construct quantity to be optimized for ELBO
Where 10.3 is L(q) = integral( q(Z) * ln{ (p(X,Z)) / (q(Z)} dZ )
And 10.5 is q(Z) = Πqi(zi) for i =1,.., M (factorizing)
Construct general expression for optimal solution to ELBO
Crucially the constant comes from normalizing qi(Zi)
General factorized approximations (Gaussian example)
VI: factorized approximation of posterior
Gfa: approximating general distribution by a factorized distribution
Where p(z) over z = (z1, z2), which are correlated, has μ = (μ1, μ2) and Λ = ((Λ, Λ), (Λ, Λ))
Then we produce the optimal proposals by using the general form of ln(qj*(Zj))
Constructing form of optimal proposals for factorized approximation of bivariate Gaussian
Reverse KL
Gaussian example is general factorisation approximation of bivariate gaussian
Alpha family
The 2 forms of KL divergence are members of the Alpha family of
Setup VI for univariate Gaussian
Optimisation for VI for univariate Gaussian
Iterative solution for VI for univariate Gaussian
Decompose variational distribution for model comparison
Lower bound on ln(p(x)) in model comparison
Where we assume discrete Z but the same analysis applies to continuous latent variables provided summations are replaced with integrations
Calaculating optimal Lm for model comparison