NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Invertible Convolutional Flow

Mahdi Karami, Dale Schuurmans, Jascha Sohl-Dickstein, Laurent Dinh, Daniel DuckworthNeurIPS 2019

Normalizing flows are a powerful class of generative models that allow for exact density estimation and efficient sampling. However, they come with a catch: to remain mathematically tractable, the transformations used must have a Jacobian determinant that is easy to compute. Traditionally, this has forced researchers into a corner, using highly constrained architectures like triangular or diagonal matrices.

In this paper, researchers introduce Invertible Convolutional Flow (CONF), a method that leverages the structural properties of circular and symmetric convolutions to create more expressive flows without sacrificing computational efficiency.

The Jacobian Bottleneck

The core challenge in flow-based modeling is the Jacobian bottleneck. To calculate the likelihood of data under a flow-based model, you must compute the determinant of the Jacobian matrix for every transformation in the chain. For an arbitrary neural network, this is an $O(N^3)$ operation—prohibitively expensive for high-dimensional data like images.

To solve this, previous models (like Real NVP or Glow) used "coupling layers" or $1 \times 1$ convolutions that result in simple triangular or block-diagonal Jacobians. While efficient, these constraints limit the model's ability to capture complex spatial dependencies. The authors ask: Can we use full convolutional filters while keeping the math tractable?

Methods: Convolutions in the Frequency Domain

The paper introduces several key technical innovations to enable full convolutions in normalizing flows:

  1. Circulant and Toeplitz Jacobians: The authors observe that the Jacobian of a circular convolution is a circulant matrix. These matrices are special because they are diagonalized by the Discrete Fourier Transform (DFT). This means the log-determinant is simply the sum of the logs of the filter’s Fourier coefficients, reducing computation to $O(N \log N)$.
  2. Symmetric Convolutions: By using even-symmetric padding and the Discrete Cosine Transform (DCT), they create "Symmetric CONF" (S-CONF), which avoids the periodic artifacts sometimes introduced by circular convolutions.
Jacobian matrix structures for standard, circular, and symmetric convolutions.
  1. Data-Adaptive Kernels: To increase flexibility, they use a coupling-layer approach where the convolutional kernel itself is predicted by a neural network based on a portion of the input.
  2. The S-Log Gate: Most flows use standard nonlinearities (like ReLU or Sigmoid). The authors propose an analytic approach to design bijectors. By solving a differential equation, they derived the S-Log gate, a nonlinearity that implicitly applies an $L1$ (Laplace) regularizer to the intermediate activations, encouraging the model to learn sparse, meaningful representations.

Key Insights

  • Frequency Domain Efficiency: By moving the computation to the frequency domain (using FFT or DCT), the authors turn a complex matrix operation into element-wise multiplication. This allows for "full" convolutional filters with $O(N \log N)$ complexity, significantly more expressive than the $1 \times 1$ convolutions used in models like Glow.
  • Nonlinearities as Priors: The derivation of the S-Log gate suggests that we shouldn't just pick nonlinearities because they "work," but rather design them to match the statistical priors (like sparsity) we want our latent variables to exhibit.
  • Symmetry Matters: S-CONF (symmetric) generally outperformed C-CONF (circular), likely because symmetric padding is more natural for image data than the "wrap-around" nature of circular padding.

Results and Performance

The proposed CONF models achieved state-of-the-art or competitive results across a wide range of standard benchmarks, including tabular datasets (POWER, GAS, BSDS300), image datasets (MNIST, CIFAR-10), and variational inference tasks (Omniglot, Caltech Silhouettes).

Density estimation performance (bits/dim) on MNIST and CIFAR-10.
  • Density Estimation: On the BSDS300 dataset, S-CONF achieved a log-likelihood of -163.23, significantly outperforming Real NVP (-153.28) and Glow (-155.07).
  • Image Modeling: On CIFAR-10, S-CONF achieved 3.34 bits/dim (using CNN-based conditioning), outperforming Glow (3.35) and Real NVP (3.49).
  • Variational Inference: In VAE settings, CONF models consistently achieved lower Negative Log-Likelihood (NLL) and Evidence Lower Bound (ELBO) scores than Planar flows and Sylvester Normalizing Flows (SNF).

Limitations and Future Work

While $O(N \log N)$ is efficient, it is still slower than the $O(N)$ operations of simpler coupling layers. Implementing FFT/DCT-based layers within standard deep learning frameworks also requires careful handling of complex numbers and specialized padding, which may hinder "plug-and-play" adoption. Future directions could explore other trigonometric transforms or extend these ideas to continuous-time flows (like FFJORD) to further enhance the expressiveness of generative models.

Summary updated

BibTeX
@inproceedings{karami2019invertible,
  author = {Mahdi Karami and Dale Schuurmans and Jascha Sohl-Dickstein and Laurent Dinh and Daniel Duckworth},
  title = {{Invertible Convolutional Flow}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=TC5Tny5RC7},
}
Figure