ρ-VAE: Autoregressive parametrization of the VAE encoder

Sohrab Ferdowsi, Maurits Diephuis, Shideh Rezaeifar, Slava Voloshynovskiy
9/13/2019
cs.LGcs.CVstat.ML

Official code: sssohrab/rho_VAE (16 stars, Jupyter Notebook, last commit 2019-09-17).

Abstract

We make a minimal, but very effective alteration to the VAE model. This is about a drop-in replacement for the (sample-dependent) approximate posterior to change it from the standard white Gaussian with diagonal covariance to the first-order autoregressive Gaussian.

Show full abstract

We argue that this is a more reasonable choice to adopt for natural signals like images, as it does not force the existing correlation in the data to disappear in the posterior. Moreover, it allows more freedom for the approximate posterior to match the true posterior. This allows for the repararametrization trick, as well as the KL-divergence term to still have closed-form expressions, obviating the need for its sample-based estimation. Although providing more freedom to adapt to correlated distributions, our parametrization has even less number of parameters than the diagonal covariance, as it requires only two scalars, $ρ$ and $s$, to characterize correlation and scaling, respectively. As validated by the experiments, our proposition noticeably and consistently improves the quality of image generation in a plug-and-play manner, needing no further parameter tuning, and across all setups. The code to reproduce our experiments is available at \url{https://github.com/sssohrab/rho_VAE/}.

View on arXivView PDF

Code Implementations(1)

sssohrab/rho_VAEOfficial100%

rho_VAE: an autoregressive parametrization of the VAE encoder

164Jupyter Notebook, PythonSep 10, 20197 years ago

Similar Papers

Cite this paper

@article{ferdowsi2019vae,
  title  = {ρ-VAE: Autoregressive parametrization of the VAE encoder},
  author = {Sohrab Ferdowsi and Maurits Diephuis and Shideh Rezaeifar and Slava Voloshynovskiy},
  year   = {2019},
  eprint = {1909.06236},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.06236}
}

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

Discussion