
freia_sequenceinn_glowcouplingblock
Diffusion and generative32 ops335.9K params
The affine coupling block from Glow, an invertible layer for flow-based generative models, built with FrEIA.
Diffusion and generative · 265 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 chains 8 coupling blocks in sequence, the way FrEIA constructs an invertible network from simple invertible building blocks.
About this model's family
This model is the affine coupling layer on its own, which in Glow, a flow-based generative model, is the last part of each step of flow, after actnorm and an invertible 1 × 1 convolution. It is assembled with FrEIA, a framework for constructing invertible neural networks from simple invertible building blocks.
The layer splits its input into two halves, runs one half through a neural network that returns a log-scale and a shift, and applies that scale and shift to the other half, while the first half passes through unchanged. The paper describes it as a reversible transformation whose forward function, reverse function and log-determinant are all computationally efficient. The log-determinant is the change in log-density that the transformation causes. An additive coupling layer is the special case with a scale of 1 and a log-determinant of 0.
Glow itself builds on the earlier NICE and RealNVP flows. In the paper's CIFAR-10 comparison, the affine coupling models converge faster than the additive coupling models.
Key idea. The paper proposes Glow, a generative flow using an invertible 1x1 convolution, in which each step of flow ends with the coupling layer this model implements.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{kingma2018glowgenerativeflowinvertible,
title={Glow: Generative Flow with Invertible 1x1 Convolutions},
author={Diederik P. Kingma and Prafulla Dhariwal},
year={2018},
eprint={1807.03039},
archivePrefix={arXiv},
primaryClass={stat.ML},
url={https://arxiv.org/abs/1807.03039},
}