Variational Autoencoder with Implicit Optimal Priors

Hiroshi Takahashi, Tomoharu Iwata, Yuki Yamanaka, Masanori Yamada, Satoshi Yagi
9/14/2018
stat.MLcs.LG

Official code: takahashihiroshi/vae-iop (11 stars, Python, PyTorch, last commit 2020-10-12).

Abstract

The variational autoencoder (VAE) is a powerful generative model that can estimate the probability of a data point by using latent variables. In the VAE, the posterior of the latent variable given the data point is regularized by the prior of the latent variable using Kullback Leibler (KL) divergence.

Show full abstract

Although the standard Gaussian distribution is usually used for the prior, this simple prior incurs over-regularization. As a sophisticated prior, the aggregated posterior has been introduced, which is the expectation of the posterior over the data distribution. This prior is optimal for the VAE in terms of maximizing the training objective function. However, KL divergence with the aggregated posterior cannot be calculated in a closed form, which prevents us from using this optimal prior. With the proposed method, we introduce the density ratio trick to estimate this KL divergence without modeling the aggregated posterior explicitly. Since the density ratio trick does not work well in high dimensions, we rewrite this KL divergence that contains the high-dimensional density ratio into the sum of the analytically calculable term and the low-dimensional density ratio term, to which the density ratio trick is applied. Experiments on various datasets show that the VAE with this implicit optimal prior achieves high density estimation performance.

View on arXivView PDF

Code Implementations(1)

PyTorch

pytorch implementation for "Variational Autoencoder with Implicit Optimal Priors".

114PythonDec 26, 20196 years agoNOASSERTION
pytorchvae

Similar Papers

Cite this paper

@article{takahashi2018variational,
  title  = {Variational Autoencoder with Implicit Optimal Priors},
  author = {Hiroshi Takahashi and Tomoharu Iwata and Yuki Yamanaka and Masanori Yamada and Satoshi Yagi},
  year   = {2018},
  eprint = {1809.05284},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.05284}
}

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/1809.05284.svg)](https://codeofpaper.com/paper/1809.05284)

Discussion