Papers › NICE: Non-linear Independent Components Estimation

NICE: Non-linear Independent Components Estimation

30 Oct 2014arXiv:1410.8516archive 2025-07-28

Laurent Dinh, David Krueger, Yoshua Bengio

We propose a deep learning framework for modeling complex high-dimensional densities called Non-linear Independent Component Estimation (NICE). It is based on the idea that a good representation is one in which the data has a distribution that is easy to model. For this purpose, a non-linear deterministic transformation of the data is learned that maps it to a latent space so as to make the transformed data conform to a factorized distribution, i.e., resulting in independent latent variables. We parametrize this transformation so that computing the Jacobian determinant and inverse transform is trivial, yet we maintain the ability to learn complex non-linear transformations, via a composition of simple building blocks, each based on a deep neural network. The training criterion is simply the exact log-likelihood, which is tractable. Unbiased ancestral sampling is also easy. We show that this approach yields good generative models on four image datasets and can be used for inpainting.

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

Code

Syntology Ran 24 of 27 code samples harvested from 8 repositories linked to this paper; 3 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 2 ran · fixture could not drive it; 19 ran with no contract checked.

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

19 repositories listed; official and paper-mentioned ones first.

DakshIdnani/pytorch-nice mentioned on GitHubpytorch report
HUJI-Deep/nice mentioned on GitHubBSD-3-Clause report
SrinjaySarkar/NICE mentioned on GitHubpytorch report
claCase/NormalizingFlow mentioned on GitHubtf report
ermongroup/a-nice-mc mentioned on GitHubtf report
fmu2/NICE mentioned on GitHubpytorch report
gmum/nice_pytorch mentioned on GitHubpytorch report
jfcrenshaw/pzflow mentioned on GitHubjax report
jiamings/a-nice-mc mentioned on GitHubtf report
laurent-dinh/nice mentioned on GitHubBSD-3-Clause report
paultsw/nice_pytorch mentioned on GitHubpytorch report
simonwestberg/DD2412-Glow mentioned on GitHubtf report
simonwestberg/Glow mentioned on GitHubtf report
vincentstimper/normalizing-flows mentioned on GitHubpytorch report
gitlab.com/i-flow/i-flow mentioned on GitHubtf 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

27 samples harvested; 24 ran; 0 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.

3ran · our draft was wrong
2ran · fixture could not drive it
19ran
3unverified

Licence: 0 of the 27 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 8 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.

ACL g4vrel/simple_ml/NICE/nice.py community (archive-listed) ran MIT (permissive) · cdc21e5b776e57dd · report
AdditiveCouplingLayer paultsw/nice_pytorch/nice/models.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted BSD-3-Clause (permissive) · 2a75e5263cb27fc7 · report
AffineCoupling vincentstimper/normalizing-flows/normflows/flows/affine/coupling.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 3c08d19a3ff50fa8 · report
Bijector jfcrenshaw/pzflow/pzflow/bijectors.py community (archive-listed) ran MIT (permissive) · 3927f3ad56e8701b · report
Coupling fmu2/NICE/nice.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · feb422919519eb2a · report
CouplingLayer DakshIdnani/pytorch-nice/nice.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · a1e6e98c3d08e03f · report
DenseReluNetwork jfcrenshaw/pzflow/pzflow/bijectors.py community (archive-listed) ran · our draft was wrong MIT (permissive) · bdbe5e7ec83debb6 · report
ForwardFunction jfcrenshaw/pzflow/pzflow/bijectors.py community (archive-listed) ran fingerprinted MIT (permissive) · 9d4c6ab46065ae74 · report
InitFunction jfcrenshaw/pzflow/pzflow/bijectors.py community (archive-listed) ran MIT (permissive) · 7e3e6278ac1d8af6 · report
InverseFunction jfcrenshaw/pzflow/pzflow/bijectors.py community (archive-listed) ran fingerprinted MIT (permissive) · e19df3b31e4e1bd2 · report
LogisticDistribution DakshIdnani/pytorch-nice/nice.py community (archive-listed) ran MIT (permissive) · 5d1d5872e739c007 · report
MLP g4vrel/simple_ml/NICE/nice.py community (archive-listed) ran MIT (permissive) · 33b882451180d1c9 · report
NICE fmu2/NICE/nice.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · b95df537e4a2a1f4 · report
NICE DakshIdnani/pytorch-nice/nice.py community (archive-listed) ran fingerprinted MIT (permissive) · 797c85f9a30a07bd · report
NICE MaximeVandegar/Papers-in-100-Lines-of-Code/NICE_Non_linear_Independent_Components_Estimation/NICE.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 1a1bcb9945e07fb5 · report
NICEModel paultsw/nice_pytorch/nice/models.py community (archive-listed) ran · metamorphic tier: deterministic BSD-3-Clause (permissive) · 288bd9ac482f455f · report
NICEModel gmum/nice_pytorch/nice/models.py community (archive-listed) ran · metamorphic tier: deterministic BSD-3-Clause (permissive) · 7e47833eba9e3d69 · report
RationalQuadraticSpline jfcrenshaw/pzflow/pzflow/bijectors.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · d1680a8d472444f5 · report
Scaling fmu2/NICE/nice.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 618382e0d811f2d8 · report
ScalingLayer DakshIdnani/pytorch-nice/nice.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 73acddb22c061b6a · report
_BaseCouplingLayer paultsw/nice_pytorch/nice/models.py community (archive-listed) ran · metamorphic tier: deterministic BSD-3-Clause (permissive) · ede51f79ec51199b · report
_build_relu_network paultsw/nice_pytorch/nice/models.py community (archive-listed) ran · our draft was wrong BSD-3-Clause (permissive) · 419f30152991aee7 · report
_interleave paultsw/nice_pytorch/nice/models.py community (archive-listed) ran · fixture could not drive it fingerprinted BSD-3-Clause (permissive) · acffc3df688ea63f · report
zero_log_det_like_z vincentstimper/normalizing-flows/normflows/flows/affine/coupling.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 3c2a36e9a28c16f0 · report
Flow vincentstimper/normalizing-flows/normflows/flows/affine/coupling.py community (archive-listed) unverified MIT (permissive) · 5886cd39dfbd797e · report
NICE g4vrel/simple_ml/NICE/nice.py community (archive-listed) unverified MIT (permissive) · 8fca3630fcfef7f1 · report
NeuralSplineCoupling jfcrenshaw/pzflow/pzflow/bijectors.py community (archive-listed) unverified MIT (permissive) · d79d72f0b9ce6c77 · report

Tasks

Image Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Introduced by this paper: NICE

Affine CouplingNICE

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