VampPrior VAE
A variational autoencoder with a mixture-of-posteriors prior on learnable pseudo-inputs.
Diffusion and generative · 61 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 1.5M
- Operations
- 61
- Framework
- PyTorch
- Recurrent
- No
- Published
- AISTATS 2018
- Paper
- VAE with a VampPrior
- Cited by
- 63 (as of 26 October 2026)
- Authors
- Jakub M. Tomczak, Max Welling
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m21322
- Graph hash
- 89ff7523db9b06075a6a20e4afe0df69a2c04e2fec4c78f9d0210d17182defb4
- Skeleton hash
- 196229e76e1a2238f059961dadb804a608af80c7c3c504d0e321aa49b92449eb
- Architecture hash
- d7903ac84c71bad281bc9572560d10949e55477cca0bb20439de7c1f655836bf
- Diagram SHA-256
- ddd85b324dc951e6d85afa85e7d147807705279d154a153dceafc51582ad4ce3
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
VampPrior VAE extends the variational auto-encoder (VAE) framework with a new type of prior which the authors call the "Variational Mixture of Posteriors" prior, or VampPrior for short. Many different methods to train deep generative models have been introduced in the past.
The VampPrior consists of a mixture distribution (e.g., a mixture of Gaussians) with components given by variational posteriors conditioned on learnable pseudo-inputs. The authors further extend this prior to a two layer hierarchical model and show that this architecture with a coupled prior and posterior, learns significantly better models.
The paper reports the model also avoids the usual local optima issues related to useless latent dimensions that plague VAEs. It provides empirical studies on six datasets, namely, static and binary MNIST, OMNIGLOT, Caltech 101 Silhouettes, Frey Faces and Histopathology patches.
Key idea. This paper extends the variational autoencoder with the VampPrior, a mixture of variational posteriors conditioned on learnable pseudo-inputs, and a two-layer hierarchical version.
- vampprior
- vae with a vampprior
- variational mixture of posteriors
- variational autoencoder
- pseudo-inputs
- generative model
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{tomczak2018vaevampprior,
title={VAE with a VampPrior},
author={Jakub M. Tomczak and Max Welling},
year={2018},
eprint={1705.07120},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1705.07120},
}