Semi-Amortized Variational Autoencoders

Yoon Kim, Sam Wiseman, Andrew C. Miller, David Sontag, Alexander M. Rush
2/7/2018
stat.MLcs.CLcs.LG
bayesian

Official code: harvardnlp/sa-vae (152 stars, Python, last commit 2018-02-09).

Abstract

Amortized variational inference (AVI) replaces instance-specific local inference with a global inference network. While AVI has enabled efficient training of deep generative models such as variational autoencoders (VAE), recent empirical work suggests that inference networks can produce suboptimal variational parameters.

Show full abstract

We propose a hybrid approach, to use AVI to initialize the variational parameters and run stochastic variational inference (SVI) to refine them. Crucially, the local SVI procedure is itself differentiable, so the inference network and generative model can be trained end-to-end with gradient-based optimization. This semi-amortized approach enables the use of rich generative models without experiencing the posterior-collapse phenomenon common in training VAEs for problems like text generation. Experiments show this approach outperforms strong autoregressive and variational baselines on standard text and image datasets.

View on arXivView PDF

Code Implementations(1)

harvardnlp/sa-vaeOfficial100%
15215PythonJan 6, 20188 years ago

Similar Papers

Cite this paper

@article{kim2018semiamortized,
  title  = {Semi-Amortized Variational Autoencoders},
  author = {Yoon Kim and Sam Wiseman and Andrew C. Miller and David Sontag and Alexander M. Rush},
  year   = {2018},
  eprint = {1802.02550},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.02550}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1802.02550.svg)](https://codeofpaper.com/paper/1802.02550)

Discussion