Papers › Improving Variational Inference with Inverse Autoregressive Flow

Improving Variational Inference with Inverse Autoregressive Flow

15 Jun 2016arXiv:1606.04934archive 2025-07-28

Diederik P. Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen, Ilya Sutskever, Max Welling

The framework of normalizing flows provides a general strategy for flexible variational inference of posteriors over latent variables. We propose a new type of normalizing flow, inverse autoregressive flow (IAF), that, in contrast to earlier published flows, scales well to high-dimensional latent spaces. The proposed flow consists of a chain of invertible transformations, where each transformation is based on an autoregressive neural network. In experiments, we show that IAF significantly improves upon diagonal Gaussian approximate posteriors. In addition, we demonstrate that a novel type of variational autoencoder, coupled with IAF, is competitive with neural autoregressive models in terms of attained log-likelihood on natural images, while allowing significantly faster synthesis.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1606.04934")

Code

Syntology Ran 9 of 23 code samples harvested from 4 repositories linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 1 ran · fixture could not drive it; 6 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 0 ran; community (archive-listed): 11 samples from 3 repositories, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

openai/iaf officialmentioned in papermentioned on GitHubtfMIT report
Daniil-Selikhanovych/h-vae mentioned on GitHubpytorch report
SourangshuGhosh/VariationalAutoencoder mentioned on GitHubpytorch report
altosaar/variational-autoencoder mentioned on GitHubpytorch report
maxfrenzel/CompressionVAE mentioned on GitHubtf report
pluu2/SeparationFactor mentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 9 ran; 1 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
1ran · fixture could not drive it
6ran
14unverified

Licence: 3 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

assign_to_gpu openai/iaf/tf_utils/common.py official repository unverified MIT (permissive) · 6b2a8f1c93d0b071 · report
discretized_logistic openai/iaf/tf_utils/distributions.py official repository unverified MIT (permissive) · 7d849f5989cfd552 · report
find_trainable_variables openai/iaf/tf_utils/common.py official repository unverified MIT (permissive) · 909cf81b1c39b724 · report
gaussian_diag_logps openai/iaf/tf_utils/distributions.py official repository unverified MIT (permissive) · 82124a12b25ebdcd · report
group openai/iaf/graphy/png.py official repository unverified MIT (permissive) · 9ebdf8a2db9d5205 · report
isarray openai/iaf/graphy/png.py official repository unverified MIT (permissive) · c6a19115e975d601 · report
logsumexp openai/iaf/tf_utils/distributions.py official repository unverified MIT (permissive) · ce0ecda2d9784fab · report
my_deconv2d openai/iaf/tf_utils/layers.py official repository unverified MIT (permissive) · 36cc303023093ab1 · report
read_cifar10 openai/iaf/tf_utils/cifar10_data.py official repository unverified MIT (permissive) · d819a40e3b285378 · report
split openai/iaf/tf_utils/common.py official repository unverified MIT (permissive) · 575cf7ef0fce2c37 · report
to_raster openai/iaf/graphy/graphics.py official repository unverified MIT (permissive) · 82475f7d6cb98089 · report
tostring openai/iaf/graphy/png.py official repository unverified MIT (permissive) · 6721c3082df99f37 · report
IATransform Daniil-Selikhanovych/h-vae/gaussians/api/models.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 111516f840a372c1 · report
InverseAutoregressiveFlow altosaar/variational-autoencoder/flow.py community (archive-listed) ran MIT (permissive) · 91b99b3fed147f56 · report
InverseAutoregressiveFlow SourangshuGhosh/VariationalAutoencoder/flow.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · f23eaa93ae898d36 · report
MADE altosaar/variational-autoencoder/flow.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 2c38022d1eff04ff · report
MADE SourangshuGhosh/VariationalAutoencoder/flow.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · c5e5f0062d0ecc95 · report
MaskedLinear altosaar/variational-autoencoder/flow.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · d9d78083d81ea57e · report
create_degrees altosaar/variational-autoencoder/flow.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 8e18f9a0f8d910fd · report
create_input_order altosaar/variational-autoencoder/flow.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 1a6accce5cb73c1a · report
create_masks altosaar/variational-autoencoder/flow.py community (archive-listed) ran · violated contract MIT (permissive) · a66337f8e2cf39a3 · report
BaseModel Daniil-Selikhanovych/h-vae/gaussians/api/models.py community (archive-listed) unverified no licence file found · pointer only · 14c28be8b267f631 · report
IAF Daniil-Selikhanovych/h-vae/gaussians/api/models.py community (archive-listed) unverified no licence file found · pointer only · e3388277ee1073f6 · report

Tasks

Variational Inference

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Normalizing Flows

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections