Statistical Model Criticism of Variational Auto-Encoders
Abstract
We propose a framework for the statistical evaluation of variational auto-encoders (VAEs) and test two instances of this framework in the context of modelling images of handwritten digits and a corpus of English text. Our take on evaluation is based on the idea of statistical model criticism, popular in Bayesian data analysis, whereby a statistical model is evaluated in terms of its ability to reproduce statistics of an unknown data generating process from which we can obtain samples. A VAE learns not one, but two joint distributions over a shared sample space, each exploiting a choice of factorisation that makes sampling tractable in one of two directions (latent-to-data, data-to-latent). We evaluate samples from these distributions, assessing their (marginal) fit to the observed data and our choice of prior, and we also evaluate samples through a pipeline that connects the two distributions starting from a data sample, assessing whether together they exploit and reveal latent factors of variation that are useful to a practitioner. We show that this methodology offers possibilities for model selection qualitatively beyond intrinsic evaluation metrics and at a finer granularity than commonly used statistics can offer.
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| Penn Treebank (PTB), held-out evaluation | BETA-VAE (β=0.50; Distil roBERTa decoder) | IW LL | -89.176 | Importance-sampling estimate on held-out data; β=0.50.Source quoteL397: Distil roBERTa │ BETA-VAE │ 0.50 │ -89.176 │ -91.301 │ 4.669 │ 86.632 │ 0.000131 |
| Penn Treebank (PTB), held-out evaluation | FB-VAE (λ_FB=4; Distil roBERTa decoder) | IW LL | -89.834 | Importance-sampling estimate on held-out data; λ_FB=4.Source quoteL395: Distil roBERTa │ FB-VAE │ 4 │ -89.834 │ -91.519 │ 3.829 │ 87.690 │ 0.000075 |
| Penn Treebank (PTB), held-out evaluation | INFO-VAE (λ_MMD=100, λ_rate=1.0; Distil roBERTa decoder) | IW LL | -86.616 | Importance-sampling estimate on held-out data; λ_MMD=100 and λ_rate=1.0.Source quoteL401: Distil roBERTa │ INFO-VAE │ 100 │ 1.0 │ -86.616 │ -90.574 │ 0.004 │ 90.570 │ 0.000018 |
BibTeX
@misc{barkhof2022statistical,
author = {Claartje Barkhof and Wilker Aziz},
title = {{Statistical Model Criticism of Variational Auto-Encoders}},
year = {2022},
eprint = {2204.03030},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2204.03030},
}Ask Althea to put this paper to the test.