Papers › Residual Flows for Invertible Generative Modeling

Residual Flows for Invertible Generative Modeling

6 Jun 2019NeurIPS 2019 12arXiv:1906.02735archive 2025-07-28

Ricky T. Q. Chen, Jens Behrmann, David Duvenaud, Jörn-Henrik Jacobsen

Flow-based generative models parameterize probability distributions through an invertible transformation and can be trained by maximum likelihood. Invertible residual networks provide a flexible family of transformations where only Lipschitz conditions rather than strict architectural constraints are needed for enforcing invertibility. However, prior work trained invertible residual networks for density estimation by relying on biased log-density estimates whose bias increased with the network's expressiveness. We give a tractable unbiased estimate of the log density using a "Russian roulette" estimator, and reduce the memory required during training by using an alternative infinite series for the gradient. Furthermore, we improve invertible residual blocks by proposing the use of activation functions that avoid derivative saturation and generalizing the Lipschitz condition to induced mixed norms. The resulting approach, called Residual Flows, achieves state-of-the-art performance on density estimation amongst flow-based models, and outperforms networks that use coupling blocks at joint generative and discriminative modeling.

PaperPDFConference PDFCodeCode 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="1906.02735")

Code

Syntology Ran 5 of 8 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong.

By repository: community (archive-listed): 8 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

rtqichen/residual-flows officialmentioned on GitHubpytorchMIT report
eyalbetzalel/residual-flows mentioned on GitHubpytorchMIT report
thu-ml/implicit-normalizing-flows mentioned on GitHubpytorch report
yperugachidiaz/invertible_densenets mentioned on GitHubpytorch 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

8 samples harvested; 5 ran; 1 honoured the contract we drafted; 3 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
4ran · our draft was wrong
3unverified

Licence: 0 of the 8 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 eyalbetzalel/residual-flows. “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.

geometric_logprob eyalbetzalel/residual-flows/qualitative_samples.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 3e0a8dc623475d8e · report
count_parameters eyalbetzalel/residual-flows/train_toy.py community (archive-listed) ran · honoured contract MIT (permissive) · f6b944f50d3f15ae · report
get_logger eyalbetzalel/residual-flows/lib/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 416b44e8cb9fc048 · report
standard_normal_logprob eyalbetzalel/residual-flows/qualitative_samples.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 2dc23e3f121c6a38 · report
standard_normal_sample eyalbetzalel/residual-flows/qualitative_samples.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 2168d015a2e457cb · report
inf_train_gen eyalbetzalel/residual-flows/lib/toy_data.py community (archive-listed) unverified MIT (permissive) · 804bfac81567c706 · report
isnan eyalbetzalel/residual-flows/lib/utils.py community (archive-listed) unverified MIT (permissive) · 005ab5343cd3459c · report
logsumexp eyalbetzalel/residual-flows/lib/utils.py community (archive-listed) unverified MIT (permissive) · bc02f37ed2da5d95 · report

Tasks

Density EstimationImage Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Generation CIFAR-10 Residual Flow FID 46.37 #75 of 78 Archive leaderboard report
Image Generation CelebA 256x256 Residual Flow bpd 0.992 #9 of 17 Archive leaderboard report
Image Generation ImageNet 32x32 Residual Flow bpd 4.01 #32 of 35 Archive leaderboard report
Image Generation ImageNet 64x64 Residual Flow Bits per dim 3.757 #60 of 65 Archive leaderboard report
Image Generation MNIST Residual Flow bits/dimension 0.97 #2 of 15 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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