paper-with-me

홈 › Papers

Training Latent Variable Models with Auto-encoding Variational Bayes: A Tutorial

2022-08-16 · Yang Zhi-Han

Auto-encoding Variational Bayes (AEVB) is a powerful and general algorithm for fitting latent variable models (a promising direction for unsupervised learning), and is well-known for training the Variational Auto-Encoder (VAE). In this tutorial, we focus on motivating AEVB from the classic Expectation Maximization (EM) algorithm, as opposed to from deterministic auto-encoders. Though natural and somewhat self-evident, the connection between EM and AEVB is not emphasized in the recent deep learning literature, and we believe that emphasizing this connection can improve the community's understanding of AEVB. In particular, we find it especially helpful to view (1) optimizing the evidence lower bound (ELBO) with respect to inference parameters as approximate E-step and (2) optimizing ELBO with respect to generative parameters as approximate M-step; doing both simultaneously as in AEVB is then simply tightening and pushing up ELBO at the same time. We discuss how approximate E-step can be interpreted as performing variational inference. Important concepts such as amortization and the reparametrization trick are discussed in great detail. Finally, we derive from scratch the AEVB training procedures of a non-deep and several deep latent variable models, including VAE, Conditional VAE, Gaussian Mixture VAE and Variational RNN. It is our hope that readers would recognize AEVB as a general algorithm that can be used to fit a wide range of latent variable models (not just VAE), and apply AEVB to such models that arise in their own fields of research. PyTorch code for all included models are publicly available.

📄 PDF Abstract BibTeX arXiv:2208.07818

Code (1)

zhihanyang2022/aevb-tutorial 공식 구현 pytorch

Tasks

Variational Inference

Similar Papers 제목 키워드 기반

Soft-Constrained Optimization of Latent Space in Variational Autoencoders

2026-07-26 · Ye Shi arxiv

The usefulness of a variational autoencoder (VAE) depends on two properties of its latent space that are hard to obtain together: high encoding capacity in the individual latent variables, and a low-dimensional, disentan…

Lagging Inference Networks and Posterior Collapse in Variational Autoencoders

2019-01-16 · ICLR 2019 5 · Junxian He, Daniel Spokoyny, Graham Neubig, Taylor Berg-Kirkpatrick

The variational autoencoder (VAE) is a popular combination of deep latent variable model and accompanying variational learning technique. By using a neural inference network to approximate the model's posterior on latent…

Text Generation

Spatial Variational Auto-Encoding via Matrix-Variate Normal Distributions

2017-05-18 · Zhengyang Wang, Hao Yuan, Shuiwang Ji

The key idea of variational auto-encoders (VAEs) resembles that of traditional auto-encoder models in which spatial information is supposed to be explicitly encoded in the latent space. However, the latent variables in V…

Improving Variational Encoder-Decoders in Dialogue Generation

2018-02-06 · Xiaoyu Shen, Hui Su, Shuzi Niu, Vera Demberg

Variational encoder-decoders (VEDs) have shown promising results in dialogue generation. However, the latent variable distributions are usually approximated by a much simpler model than the powerful RNN structure used fo…

Dialogue Generation

Variational Autoencoder Analysis of Ising Model Statistical Distributions and Phase Transitions

2021-04-13 · David Yevick

Variational autoencoders employ an encoding neural network to generate a probabilistic representation of a data set within a low-dimensional space of latent variables followed by a decoding stage that maps the latent var…

Decoder