Auto-encoding Variational Bayes 閱讀筆記
阿新 • • 發佈:2019-01-06
Notation
- : intractable posterior
- : probabilistic decoder
- : recognition model, variational approximation to , also regarded as a probabilistic encoder
- : generative model
- : variational parameters
- : generative parameters
Abbreviation
- SGVB: Stochastic Gradient Variational Bayes
- AEVB: auto-encoding VB
- ML: maximum likelihood
- MAP: maximum a posteriori
Motivation
Problem
- How to perform efficient inference and learning in directed probabilistic models, in the presence of continuous latent variables with intractable posterior distribution
- How to perform efficient inference and learning in directed probabilistic models, in the presence of continuous latent variables with intractable posterior distribution
Existing Solution and Difficulty
- VB: involves the optimization of an approximation to the intractable posterior
- mean-field: requires analytical solutions of expectations w.r.t. the approximate posterior, which are also intractable in the general case
Contribution of this paper
- (1) SGVB estimator: an estimator of the variational lower bound
- yielded by a reparameterization of the variational lower bound
- simple & differentiable & unbiased
- straightforwad to optimize using standard SG ascent techniques
- (2) AEVB algorithm
- using SGVB to optimize a recognition model that allows us to perform very efficient approximate posterior inference using simple ancestral sampling, which in turn allows us to efficiently learn the model parameters, without the need of expensive iterative inference schemes (such as MCMC) per datapoint.
- condition: i.i.d. datasets & continuous latent variable per datapoint
Methodology
assumption
- directed graphical models with continuous latent variables
- i.i.d. dataset with latent variables per datapoint
- where we like to perform
- ML or MAP inference on the (global) paramters
- variational inference on the latent variable
- where we like to perform
- and : both PDFs are differentiable almost everywhere w.r.t. both and
target case
- intractability
- : so we cannot evaluate or differentiate it.
- : so the EM algorithm cannot be used.
- the required integrals for any reasonable mean-field VB algorithm: so the VB algorithm cannot be used.
- in cases of moderately complicated likelihood function, e.g. in a neural network with a nonlinear hidden layer
- a large dataset
- batch optimization is too costly => minibatch or single datapoints
- sampling bases solutions are too slow, e.g. Monte Carlo EM, since it involves a typically expensive sampling loop per datapoint.
solution and application
- efficient approximate ML or MAP estimation for (Full): Appendix F
- allow us to mimic the hidden random process and generate artificial data that resemble the real data
- efficient approximate posterior inference for a choice of
- useful for coding or data representation tasks
- efficient approximate marginal inference of : Appendix D
- allow us to perform all kinds of inference tasks where is required, such as image denoising, inpainting, and super-resolution.
1. derivation of the variational bound
Here we use to represent