
zuko_nice
Diffusion and generative154 ops19.2M params
An invertible network of additive coupling layers that maps data to independent latent variables.
Diffusion and generative · 64 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.
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.
This model is the full NICE transformation: additive coupling layers followed by a diagonal scaling matrix as the top layer.
About this model's family
NICE (Non-linear Independent Component Estimation) is a deep learning framework for modeling complex high-dimensional densities. It learns a non-linear deterministic transformation that maps data to a latent space where the transformed data follows a factorized distribution, so the latent variables are independent. The transformation is parametrized so that its Jacobian determinant and its inverse are trivial to compute. That makes the exact log-likelihood tractable, and it serves directly as the training criterion.
The building block is the additive coupling layer. A coupling layer leaves part of its input unchanged, so the roles of the two parts are exchanged in alternating layers. Additive coupling layers preserve volume, so the paper adds a diagonal scaling matrix as the top layer.
The architecture in the paper is a stack of four coupling layers with a diagonal positive scaling as the last stage. Each coupling function is a deep rectified network, with five hidden layers of 1000 units for MNIST. The paper reports good generative models on four image datasets and shows the approach can be used for inpainting.
Key idea. NICE learns an invertible non-linear transformation of data to independent latent variables, built so that the Jacobian determinant and inverse are trivial and the exact log-likelihood is tractable.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{dinh2015nicenonlinearindependentcomponents,
title={NICE: Non-linear Independent Components Estimation},
author={Laurent Dinh and David Krueger and Yoshua Bengio},
year={2015},
eprint={1410.8516},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1410.8516},
}