MintNet
An invertible network built from masked convolutions that works as a flow model for image density estimation.
Diffusion and generative · 3,462 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.
At a glance
- Parameters
- 82.1M
- Operations
- 3,462
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2019
- Cited by
- 24 (as of 27 October 2026)
- Authors
- Yang Song, Chenlin Meng, Stefano Ermon
- Source
- GitHub: ermongroup/mintnet
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m18470
- Graph hash
- 1b99692bdfe2e87d9ed2d27f07d80404321277add6c7a96e21745d4e493dcf81
- Skeleton hash
- 02e5f8151f77f1c29e1dc11f1442c04633365fb84dc1f43091431b052b23f8f2
- Architecture hash
- 35e7c2dcf658bdcef8eb28b241afba2506b843e49b7840ba9a5107f33cc816f1
- Diagram SHA-256
- 023f7fd5fbc4e07eedb24fd7503322464c67fc982dc3d003c2d03f385c555374
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
MintNet is a way of building invertible neural networks with masked convolutions. The paper combines simple building blocks with a set of composition rules, and this yields a rich set of invertible architectures, including ones similar to ResNets.
Inversion is done with a locally convergent iterative procedure that the paper describes as parallelizable and very fast in practice. The determinant of the Jacobian can be computed analytically, which lets the networks be used as flow models for generation.
The paper reports that the networks are competitive with ResNets on MNIST and CIFAR-10 classification. Trained as generative models, they reach 0.98, 3.32 and 4.06 bits per dimension on MNIST, CIFAR-10 and ImageNet 32x32 respectively. The official PyTorch code has one runner for density estimation experiments and another for classification experiments.
Key idea. MintNet composes masked-convolution building blocks into invertible networks whose inverse comes from a fast iterative procedure and whose Jacobian determinant is computed analytically.
- MintNet
- invertible neural network
- invertible network
- masked convolution
- normalizing flow
- flow model
- density estimation
- bits per dimension
- generative model
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{song2019mintnetbuildinginvertibleneural,
title={MintNet: Building Invertible Neural Networks with Masked Convolutions},
author={Yang Song and Chenlin Meng and Stefano Ermon},
year={2019},
eprint={1907.07945},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1907.07945},
}