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

Learning and Generalization in Overparameterized Normalizing Flows

Kulin Shah, Amit Deshpande, Navin Goyal

Abstract

In supervised learning, it is known that overparameterized neural networks with one hidden layer provably and efficiently learn and generalize, when trained using stochastic gradient descent with a sufficiently small learning rate and suitable initialization. In contrast, the benefit of overparameterization in unsupervised learning is not well understood. Normalizing flows (NFs) constitute an important class of models in unsupervised learning for sampling and density estimation. In this paper, we theoretically and empirically analyze these models when the underlying neural network is a one-hidden-layer overparametrized network. Our main contributions are two-fold: (1) On the one hand, we provide theoretical and empirical evidence that for constrained NFs (this class of NFs underlies most NF constructions) with the one-hidden-layer network, overparametrization hurts training. (2) On the other hand, we provide the first end-to-end proof that unconstrained NFs, a recently introduced model, can efficiently learn any reasonable data distribution under minimal assumptions when the underlying network is overparametrized and has one hidden-layer.

Introduction

The "bigger is better" paradigm has dominated supervised learning, where overparameterized networks—those with significantly more parameters than training samples—often exhibit superior convergence and generalization. However, the applicability of this principle to unsupervised generative models remains largely unexplored. This research investigates this gap by focusing on Normalizing Flows (NFs), which are powerful tools for density estimation and sampling that utilize invertible, differentiable transformations to map complex data distributions to simple base distributions.

To maintain invertibility, these transformations must be monotonic. This is typically achieved through two primary architectures:

  1. Constrained NFs (CNFs): These models enforce monotonicity by constraining network weights to be positive.
  2. Unconstrained NFs (UNFs): These models use a neural network to represent the derivative (Jacobian) of the transformation, ensuring positivity of the derivative and then integrating to obtain the mapping.

Theoretical Framework and Methodology

The study provides a rigorous analysis of both CNFs and UNFs using a one-hidden-layer overparameterized network as the foundational component.

For CNFs, the authors analyze a variant employing tanh activations and projected Stochastic Gradient Descent (SGD) to maintain weight constraints. They utilize a "pseudo-network" linear approximation to track training dynamics. For UNFs, the Jacobian is modeled with ELU+1 activations to ensure positivity, and the flow is reconstructed via numerical quadrature. A significant technical hurdle addressed is the adaptation of supervised learning proof techniques, such as Rademacher complexity and coupling lemmas, to the complex loss functions of generative models, which involve log-determinants of Jacobians.

The Overparameterization Dichotomy

The research reveals a striking "dichotomy" in how these architectures respond to increased model width.

The CNF Barrier

The most unexpected finding is that overparameterization is detrimental to CNFs. Theoretical results suggest that as the number of neurons increases, the function learned by a CNF remains "trapped" near a simple linear function. This rigidity prevents the model from capturing the intricate details of complex distributions, effectively creating a barrier to learning as the model scales.

The UNF Advantage

In contrast, UNFs mirror the behavior of supervised networks. The authors provide the first end-to-end proof demonstrating that overparameterized UNFs can efficiently learn any reasonable data distribution under minimal assumptions. The study suggests that using an Exponential base distribution and simple rectangle quadrature can further enhance the robustness and theoretical soundness of these models.

Empirical Results

The theoretical predictions were validated across synthetic (1D, 2D, and 5D Mixtures of Gaussians and Beta distributions) and real-world datasets (the 43-dimensional Miniboone neutrino physics dataset).

Training error vs. number of neurons for CNF and UNF models on Gaussian and Beta mixture datasets.

As shown in the figure above, the training error for CNFs increases as the number of neurons grows from 100 to 6400, while the error for UNFs decreases. Furthermore, larger UNF models reached target error levels in fewer iterations, whereas larger CNF models required more. On the Miniboone dataset, increasing network width consistently improved UNF performance but degraded CNF performance.

Conclusion and Future Directions

This work establishes that overparameterization is a double-edged sword for Normalizing Flows. While it empowers Unconstrained NFs, it hinders the most common variety, Constrained NFs.

Future research should address several open questions:

  • Depth: Extending the analysis from one-hidden-layer networks to the deep, stacked architectures common in practice.
  • Flow Architectures: Investigating the impact of overparameterization on other flow types, such as coupling or residual flows.
  • Moderate Regime: Identifying the optimal "sweet spot" of parameterization for CNFs before the negative effects of extreme overparameterization take hold.

Summary updated

BibTeX
@inproceedings{shah2022learning,
  author = {Kulin Shah and Amit Deshpande and Navin Goyal},
  title = {{Learning and Generalization in Overparameterized Normalizing Flows}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=NCnpa24QEq},
}
Figure