Autoencoding Variational Autoencoder

A. Taylan Cemgil, Sumedh Ghaisas, Krishnamurthy Dvijotham, Sven Gowal, Pushmeet Kohli
12/7/2020
cs.LGstat.ML

Official code: google-deepmind/deepmind-research (15,282 stars, Jupyter Notebook, Apache-2.0, last commit 2026-06-17).

Abstract

Does a Variational AutoEncoder (VAE) consistently encode typical samples generated from its decoder? This paper shows that the perhaps surprising answer to this question is `No'; a (nominally trained) VAE does not necessarily amortize inference for typical samples that it is capable of generating.

Show full abstract

We study the implications of this behaviour on the learned representations and also the consequences of fixing it by introducing a notion of self consistency. Our approach hinges on an alternative construction of the variational approximation distribution to the true posterior of an extended VAE model with a Markov chain alternating between the encoder and the decoder. The method can be used to train a VAE model from scratch or given an already trained VAE, it can be run as a post processing step in an entirely self supervised way without access to the original training data. Our experimental analysis reveals that encoders trained with our self-consistency approach lead to representations that are robust (insensitive) to perturbations in the input introduced by adversarial attacks. We provide experimental results on the ColorMnist and CelebA benchmark datasets that quantify the properties of the learned representations and compare the approach with a baseline that is specifically trained for the desired property.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This repository contains implementations and illustrative code to accompany DeepMind publications

15,2822,916Jupyter Notebook, PythonJan 15, 20195 months agoApache-2.0

Similar Papers

Cite this paper

@article{cemgil2020autoencoding,
  title  = {Autoencoding Variational Autoencoder},
  author = {A. Taylan Cemgil and Sumedh Ghaisas and Krishnamurthy Dvijotham and Sven Gowal and Pushmeet Kohli},
  year   = {2020},
  eprint = {2012.03715},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.03715}
}

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

Discussion