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

Gaussianization Flows

Chenlin Meng, Yang Song, Jiaming Song, Stefano Ermon

Introduction

Normalizing flows represent a powerful class of generative models that learn a bijective mapping between a complex data distribution and a simple base distribution, typically a Gaussian. Despite their potential, current architectures often force a compromise between expressivity and computational efficiency. Autoregressive models, while expressive, suffer from slow sampling. Conversely, coupling-based models like Real NVP or Glow offer speed but can struggle with highly complex or disconnected distributions.

Gaussianization Flows (GF) aim to resolve this tension by modernizing the classic "iterative Gaussianization" algorithm. By transforming this non-parametric method into a fully differentiable, end-to-end trainable framework, the authors achieve a model that is universally expressive, efficient to compute, and fast to invert.

Methodology

The architecture of Gaussianization Flows is built upon the alternating application of marginal transformations and linear rotations, mimicking the iterative steps of traditional Gaussianization.

Trainable Kernel Layers

Instead of relying on non-differentiable Kernel Density Estimation (KDE), GF utilizes a mixture of logistic distributions to parameterize marginal transformations. This allows the model to "Gaussianize" each dimension independently through a differentiable function, enabling optimization via standard backpropagation.

Trainable Rotation Layers

To capture inter-dimensional dependencies, the model employs linear rotations. Rather than using fixed components like PCA, GF uses Householder reflections. This parameterization ensures that the transformation remains a valid orthogonal rotation while being computationally efficient.

Patch-Based Rotations for High-Dimensional Data

Scaling rotation matrices to high-dimensional inputs like images presents a challenge, as a full rotation matrix scales $O(D^2)$. To mitigate this, the authors introduce a patch-based approach.

Illustration of patch-based rotation matrices for image data. The input image is divided into patches, and rotations are applied locally to manage parameter scaling.

By alternating these kernel and rotation layers, the model forms a "Deep Gaussianization Flow" capable of modeling intricate data structures.

Experimental Setup

The performance of GF was evaluated across a diverse set of benchmarks:

  • 2D Toy Datasets: Synthetic distributions featuring complex geometries and multiple modes.
  • Tabular Datasets: Standard benchmarks including Power, Gas, Hepmass, MiniBoone, and BSDS300.
  • Image Datasets: MNIST and Fashion-MNIST, processed using dequantized continuous pixel values.

Key Insights and Results

Gaussianization Flows demonstrate several unique advantages over existing flow-based architectures.

Universal Approximation and Stability

The authors provide a theoretical proof that GF is a universal approximator for continuous probability distributions. Unlike many "black-box" models, GF can be initialized using data-dependent statistics, leading to significantly more stable training and faster convergence. Furthermore, GF exhibits remarkable robustness to data scaling; while models like MAF or Glow often fail when inputs are non-linearly warped (e.g., by a cubic function), GF maintains consistent performance.

Performance on Complex Distributions

In qualitative 2D experiments, GF excels at capturing disconnected modes. While coupling-based models like Glow often "smear" probability mass in the gaps between clusters, GF accurately isolates the underlying structure.

Qualitative results on 2D toy datasets. The top row shows the target distributions, while the subsequent rows demonstrate GF's ability to capture complex, multi-modal shapes without smearing.

Quantitative Benchmarks

On tabular datasets, GF achieved the lowest negative log-likelihood on three out of five benchmarks, outperforming established models such as Real NVP and FFJORD. It also showed superior generalization capabilities when training data was scarce, likely due to the strong inductive bias inherited from the iterative Gaussianization process.

Limitations and Future Work

Despite its strengths, GF faces challenges in scaling to very high-resolution images, as even patch-based Householder reflections can become computationally demanding. Additionally, the inversion process for the Gaussian CDF and logistic mixtures requires numerical methods like the bisection method. While these are parallelizable, they add a layer of complexity compared to the analytic inversions found in simpler architectures. Future research may explore alternative orthogonal transforms or extend GF to temporal data like audio and video.

Summary updated

BibTeX
@inproceedings{meng2020gaussianization,
  author = {Chenlin Meng and Yang Song and Jiaming Song and Stefano Ermon},
  title = {{Gaussianization Flows}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
}
Figure