Sylvester Normalizing Flows
A VAE whose posterior is a stack of Sylvester flows, a bottleneck-free generalization of planar flows.
Diffusion and generative · 350 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
- 3.7M
- Operations
- 350
- Framework
- PyTorch
- Recurrent
- No
- Published
- UAI 2018
- Cited by
- 260 (as of 4 October 2026)
- Authors
- Rianne van den Berg, Leonard Hasenclever, Jakub M. Tomczak, Max Welling
- Source
- pyro-ppl 1.9.2
- 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
- m14362
- Graph hash
- 550a94078c592061efa4cddc291be481e2a5b0a0c1c9c74a1c2b795a869d9a90
- Skeleton hash
- 3f9b11f74f5d63992861b88775705999c85fecdd3b277bac327600eff46aab1e
- Architecture hash
- 6f1c0270c4c617e3a6c2213ce6967246c48c3d073130a8a858a1c1cabffbdde4
- Diagram SHA-256
- d81ce173ce06d223be70c2b16232b0fef0d4dee8af4af87d13353805f9b263ef
- 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
Sylvester normalizing flows are a family of flexible variational posteriors that generalize planar flows. Variational inference relies on flexible approximate posterior distributions, and normalizing flows provide a general recipe to construct them.
The key move is to remove the well-known single-unit bottleneck from planar flows, making a single transformation much more flexible. The authors compare against planar flows and inverse autoregressive flows and find that Sylvester flows compare favorably on several datasets.
The official code comes in three Sylvester variants, and its example commands run on static MNIST with 4 flows. In the orthogonal variant's example, the flow uses a bottleneck of size 8, where Q has 8 columns containing orthonormal vectors. The Householder variant instead builds each orthogonal matrix Q from 8 Householder reflections in its example. The same code also runs planar flows, inverse autoregressive flows and a plain factorized Gaussian posterior for comparison.
The paper was published at UAI 2018.
Key idea. A generalization of planar flows that removes their single-unit bottleneck, so one Sylvester transformation is far more flexible as a variational posterior.
- sylvester normalizing flow
- Sylvester Normalizing Flows
- SNF
- sylvester flow VAE
- orthogonal sylvester flow
- householder sylvester flow
- triangular sylvester flow
- normalizing flows
- variational inference
- planar flow
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{berg2019sylvesternormalizingflowsvariational,
title={Sylvester Normalizing Flows for Variational Inference},
author={Rianne van den Berg and Leonard Hasenclever and Jakub M. Tomczak and Max Welling},
year={2019},
eprint={1803.05649},
archivePrefix={arXiv},
primaryClass={stat.ML},
url={https://arxiv.org/abs/1803.05649},
}