
freia_sequenceinn_gincouplingblock
Diffusion and generative289 ops4.6K params
FrEIA's GIN coupling block, a volume-preserving RealNVP variant for nonlinear ICA.
Diffusion and generative · 33 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.
A single GIN coupling block, whose Jacobian determinant is unity.
About this model's family
GIN, the General Incompressible-flow Network, is a normalizing flow built for nonlinear independent component analysis: recovering the true latent variables behind an arbitrarily complex generative process. This is the flow GIN, not the graph isomorphism network that shares its initials. The paper extends the nonlinear ICA identifiability result of Khemakhem et al. to the case of unknown intrinsic dimension, proving that in some not very restrictive cases informative latent variables separate themselves from noise. The recovered informative variables then match the true ones one to one, up to a trivial component-wise transformation.
Architecturally GIN is a variant of RealNVP that preserves volume: its Jacobian determinant is exactly one, which is why the authors borrow the word incompressible from fluid dynamics. Each coupling layer splits the input in two, passes one half through unchanged, and scales and shifts the other half by functions of the first. The trick is in the scale: the last scaling component is set to the negative sum of the others, so the log-scales sum to zero, where NICE would force them all to zero. A layer may therefore let some output dimensions grow, but only by shrinking the others in direct proportion, a constraint the authors compare to orthonormality in linear transformations. The payoff is that a latent variable's importance shows up directly in its standard deviation, which is how the informative dimensions are told apart from noise.
In the artificial-data experiment the observed data is ten-dimensional with only two informative latent variables, and GIN with 8 fully connected coupling blocks recovers both and flags the other eight as noise. On EMNIST the model extracts 22 meaningful variables, encoding both global and local features of handwritten digits. The captured members are the GINCouplingBlock from FrEIA, the authors' framework for invertible architectures, on 10-dimensional inputs: one block alone, and a SequenceINN stacking eight of them, which also returns the log-determinant. The authors' own GIN scripts require FrEIA to be installed first and were tested on CPU for the artificial data and on GPU for EMNIST.
Key idea. A volume-preserving RealNVP variant whose unit Jacobian lets nonlinear ICA recover informative latent variables and separate them from noise without knowing the intrinsic dimension.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{sorrenson2020disentanglementnonlinearicageneral,
title={Disentanglement by Nonlinear ICA with General Incompressible-flow Networks (GIN)},
author={Peter Sorrenson and Carsten Rother and Ullrich Köthe},
year={2020},
eprint={2001.04872},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2001.04872},
}