Papers › Invertible Residual Networks

Invertible Residual Networks

2 Nov 2018arXiv:1811.00995archive 2025-07-28

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

We show that standard ResNet architectures can be made invertible, allowing the same model to be used for classification, density estimation, and generation. Typically, enforcing invertibility requires partitioning dimensions or restricting network architectures. In contrast, our approach only requires adding a simple normalization step during training, already available in standard frameworks. Invertible ResNets define a generative model which can be trained by maximum likelihood on unlabeled data. To compute likelihoods, we introduce a tractable approximation to the Jacobian log-determinant of a residual block. Our empirical evaluation shows that invertible ResNets perform competitively with both state-of-the-art image classifiers and flow-based generative models, something that has not been previously achieved with a single architecture.

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="1811.00995")

Code

Syntology Ran 9 of 9 code samples harvested from 2 repositories linked to this paper; 0 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 6 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: named in the paper: 3 samples from 1 repository, 3 ran; community (archive-listed): 3 samples from 1 repository, 3 ran; 3 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jhjacobsen/invertible-resnet mentioned in paperpytorch report
RuqiBai/mixture_flow mentioned on GitHubpytorch report
eyalbetzalel/residual-flows mentioned on GitHubpytorchMIT report
rtqichen/residual-flows mentioned on GitHubpytorchMIT 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

9 samples harvested; 9 ran; 1 honoured the contract we drafted; 0 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
6ran · our draft was wrong
1ran · fixture could not drive it

Licence: 3 of the 9 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 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

downsample_shape jhjacobsen/invertible-resnet/models/conv_iResNet.py named in the paper ran · violated contract fingerprinted MIT (permissive) · 229980ee5a77de9b · report
get_init_batch jhjacobsen/invertible-resnet/CIFAR_main.py named in the paper ran · honoured contract MIT (permissive) · ec74162145241ad3 · report
logistic_distribution jhjacobsen/invertible-resnet/models/conv_iResNet.py named in the paper ran · our draft was wrong MIT (permissive) · 1f87158833d6c6ac · report
basic_logdet_estimator yperugachidiaz/invertible_densenets/lib/layers/iresblock.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 9b16691c6712e596 · report
batch_jacobian yperugachidiaz/invertible_densenets/lib/layers/iresblock.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 85a4b5aac95f359d · report
batch_trace yperugachidiaz/invertible_densenets/lib/layers/iresblock.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 70b3429a213d3584 · report
geometric_logprob identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 3e0a8dc623475d8e · report
standard_normal_logprob identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 2dc23e3f121c6a38 · report
standard_normal_sample identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 2168d015a2e457cb · report

Tasks

Density EstimationGeneral ClassificationImage Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Generation MNIST i-ResNet bits/dimension 1.06 #5 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.

Methods

1x1 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionGlobal Average PoolingKaiming InitializationMax PoolingReLUResidual BlockResidual Connection

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