Skip to main content
QUICK REVIEW

[Paper Review] MintNet: Building Invertible Neural Networks with Masked Convolutions

Yang Song, Chenlin Meng|arXiv (Cornell University)|Jul 18, 2019
Neural Networks and ApplicationsComputer Science27 references11 citations
TL;DR

MintNet introduces a novel framework for constructing invertible neural networks using masked convolutions and a set of composition rules that ensure invertibility and efficient Jacobian determinant computation. The method enables fast, parallelizable inversion via fixed-point iteration and achieves state-of-the-art generative performance with 0.98, 3.32, and 4.06 bits per dimension on MNIST, CIFAR-10, and ImageNet 32×32, respectively, using fewer parameters and less compute than prior models.

ABSTRACT

We propose a new way of constructing invertible neural networks by combining simple building blocks with a novel set of composition rules. This leads to a rich set of invertible architectures, including those similar to ResNets. Inversion is achieved with a locally convergent iterative procedure that is parallelizable and very fast in practice. Additionally, the determinant of the Jacobian can be computed analytically and efficiently, enabling their generative use as flow models. To demonstrate their flexibility, we show that our invertible neural networks are competitive with ResNets on MNIST and CIFAR-10 classification. When trained as generative models, our invertible networks achieve competitive likelihoods on MNIST, CIFAR-10 and ImageNet 32x32, with bits per dimension of 0.98, 3.32 and 4.06 respectively.

Motivation & Objective

  • To develop a flexible, efficient, and invertible neural network architecture suitable for both discriminative and generative tasks.
  • To enable exact and efficient computation of the Jacobian determinant for flow-based generative models.
  • To design a numerically stable and parallelizable inversion procedure that matches the speed of standard ResNet blocks.
  • To construct a deep invertible network that matches or exceeds the performance of existing models on image classification and density estimation.
  • To reduce model complexity and training resource requirements while maintaining or improving likelihood performance.

Proposed method

  • The method constructs invertible modules using triangular Jacobian matrices as a base, ensuring efficient determinant computation.
  • A set of composition rules recursively combines basic triangular modules into more complex, non-linear invertible modules, preserving invertibility as long as Jacobians remain non-singular.
  • Masked convolutions serve as the fundamental building block, with constraints applied to satisfy the invertibility conditions of the composition rules.
  • The inverse is computed via a locally convergent, parallelizable fixed-point iteration (Algorithm 1), with theoretical convergence guarantees.
  • The architecture follows ResNet-style blocks, stacking multiple 'Mint layers' to form a deep invertible network (MintNet).
  • The Jacobian determinant is computed analytically and efficiently due to the triangular structure of the Jacobian matrices.

Experimental results

Research questions

  • RQ1Can we construct a family of invertible neural networks that are both flexible and efficient to invert?
  • RQ2Can we achieve exact and efficient Jacobian determinant computation without approximation, even in deep architectures?
  • RQ3Can we design a numerically stable and parallelizable inversion method that matches the computational cost of standard ResNet blocks?
  • RQ4Can such a network achieve state-of-the-art performance in both image classification and flow-based generative modeling?
  • RQ5Can we reduce model parameters and training compute while maintaining or improving likelihood performance on standard benchmarks?

Key findings

  • MintNet achieves 99.6% accuracy on MNIST and 91.2% on CIFAR-10, matching or closely approaching the performance of ResNets with similar architectures.
  • On generative modeling, MintNet achieves 0.98 bits per dimension on MNIST, 3.32 on CIFAR-10, and 4.06 on ImageNet 32×32, setting new state-of-the-art results.
  • The MNIST model uses 30% fewer parameters than FFJORD, and CIFAR-10 and ImageNet models use 60% and 74% fewer parameters than Glow, respectively.
  • Training on CIFAR-10 requires only 2 GPUs for ~5 days, compared to 6 for FFJORD and 8 for Glow, indicating significant efficiency gains.
  • Sampling with MintNet is approximately 5× faster than autoregressive models on MNIST and ~25× faster on CIFAR-10 and ImageNet 32×32.
  • Reconstruction error converges within 120 iterations, and reconstructed images are visually indistinguishable from real images, confirming the effectiveness of the inversion procedure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.