BIVA
Deep hierarchical VAE with a skip-connected generative model and bidirectional inference, set up for binarized MNIST.
Diffusion and generative · 1,978 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
- 31.6M
- Operations
- 1,978
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2019
- Cited by
- 114 (as of 29 October 2026)
- Authors
- Lars Maaløe, Marco Fraccaro, Valentin Liévin, Ole Winther
- Source
- GitHub: vlievin/biva-pytorch
- 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
- m14847
- Graph hash
- 00293118c3025c8a27ddb29c3d8e00537c4bcac7d47f8d0c157281082f7b4ca6
- Skeleton hash
- 18c972d1d0608ffd162c60d830d3688e2e869a91abf369591113878335edaadd
- Architecture hash
- 2cd3d8e5f678f809366d324dfafa1434138206bf6849a605b1389578b265366a
- Diagram SHA-256
- f7145e91ba722ddd8378521c1d4bd4121f9b6a85ee0c3573eaeabee2f39c3ddb
- 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
BIVA, the Bidirectional-Inference Variational Autoencoder, is a VAE built to make effective use of a deep hierarchy of stochastic variables. It has a skip-connected generative model and an inference network formed by a bidirectional stochastic inference path. The paper's starting point is that latent variable models had been surpassed in test likelihood and sample quality by autoregressive models without stochastic units.
The paper reports that BIVA can be used for anomaly detection, and attributes this to the hierarchy of latent variables extracting high-level semantic features. It also extends BIVA to semi-supervised classification tasks. This model is built from the official PyTorch implementation, which targets binarized MNIST and CIFAR. The original implementation is in Tensorflow.
Key idea. BIVA pairs a skip-connected generative model with a bidirectional stochastic inference path so that a VAE can use a deep hierarchy of latent variables.
- BIVA
- Bidirectional-Inference Variational Autoencoder
- VAE
- variational autoencoder
- hierarchical VAE
- deep latent variable model
- generative model
- binarized MNIST
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{maaløe2019bivadeephierarchylatent,
title={BIVA: A Very Deep Hierarchy of Latent Variables for Generative Modeling},
author={Lars Maaløe and Marco Fraccaro and Valentin Liévin and Ole Winther},
year={2019},
eprint={1902.02102},
archivePrefix={arXiv},
primaryClass={stat.ML},
url={https://arxiv.org/abs/1902.02102},
}