Constructive conditional normalizing flows

Borjan Geshkovski, Domènec Ruiz-Balet

TL;DR

This paper introduces novel constructive methods for approximating complex transformations (diffeomorphisms) and their effect on probability distributions using neural networks. It offers two distinct approaches: one based on explicit geometric constructions and another leveraging probabilistic methods, both aiming to improve our understanding and application of normalizing flows in machine learning.

What Problem Does This Paper Address?

The paper tackles a fundamental challenge in machine learning and statistics: how to accurately approximate complex mappings (diffeomorphisms) and their impact on probability distributions, particularly in the context of conditional sampling. Many applications, like generating data with specific properties or understanding complex systems, require transforming one probability distribution into another using a learned function. Normalizing flows are a powerful tool for this, but constructing them efficiently and understanding their behavior, especially when dealing with both the transformation and its effect on the distribution simultaneously, remains an active area of research. The authors aim to provide explicit, constructive methods for this approximation, shedding light on the inner workings of neural networks used in these tasks.

Methods

The paper presents two main constructive approaches:

  1. Explicit Geometric Construction (Theorem 1.1): This method relies on approximating the target diffeomorphism using Lagrange interpolation. This interpolated map is then decomposed into three components: two measure-preserving maps and one "compressible" map (related to the gradient of a convex function). The compressible part is realized exactly by a neural ODE flow with piecewise constant weights. The measure-preserving parts are approximated using permutations of small cubes, which are then implemented through "shear flows" inherent to the continuity equation. This approach provides a direct, constructive way to build the approximating flow.
  2. Probabilistic Construction (Theorem 1.2): This method is inspired by the Maurey empirical method and is particularly suited for more regular maps like the Knöthe-Rosenblatt rearrangement. It involves representing the target map as a flow of a neural ODE and then approximating this flow using a piecewise constant control. The key insight here is that the number of "switches" (discontinuities in the control) does not necessarily scale inversely with the ambient dimension, offering a potential advantage for higher-dimensional problems. This approach is more probabilistic and relies on sampling techniques.

Datasets

Not discussed in the paper. The paper focuses on theoretical constructions and approximations rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Decomposition is Key: The success of the geometric approach hinges on decomposing the complex transformation into simpler, manageable components (compressible and incompressible parts). This decomposition allows for targeted approximation strategies.
  • Shear Flows for Incompressibility: The paper highlights the utility of "shear flows" as a mechanism to implement measure-preserving transformations, which are crucial for maintaining the structure of probability distributions.
  • Bridging Theory and Practice: The work connects theoretical concepts from optimal transport and geometric measure theory (e.g., polar factorization) with practical neural network architectures (piecewise constant controls, neural ODEs).
  • Understanding Neural Network Mechanisms: By providing explicit constructions, the paper offers insights into how neural networks can learn and implement complex transformations and their effects on probability measures, potentially demystifying some aspects of deep learning.
  • Trade-offs in Approximation: The paper implicitly discusses trade-offs between the number of discontinuities (switches) in the control and the accuracy of the approximation, with Theorem 1.1 having a potentially large number of switches, while Theorem 1.2 offers a more controlled number for specific map types.

Key Results

  • Theorem 1.1: Provides an explicit construction of a piecewise constant control for a neural ODE that approximates a given diffeomorphism $\phi$ and its pushforward measure to arbitrary accuracy ($\epsilon$). The number of switches can be large, scaling as $1/\epsilon^d$ in the worst case.
  • Theorem 1.2: Offers a probabilistic construction for approximating regular diffeomorphisms (e.g., Knöthe-Rosenblatt rearrangement) with a number of switches that scales as $1/\epsilon^2$, independent of the ambient dimension. This is a significant improvement for certain classes of maps.
  • Stability Estimates: The paper provides theoretical guarantees on the stability of these approximations, showing how errors in the map approximation translate to errors in the pushforward measure approximation.

Limitations and Future Work

  • Number of Switches: While Theorem 1.1 provides a constructive method, the number of switches can be prohibitively large in high dimensions. Future work could explore ways to reduce this number.
  • Generality of Theorem 1.2: Theorem 1.2 applies to a specific class of "regular" diffeomorphisms. Extending this probabilistic approach to more general maps would be valuable.
  • Width of Perceptrons: The paper primarily focuses on "width 1" perceptrons. While it mentions extensions to wider networks, it acknowledges that the benefits of width for improving switch bounds are not yet fully understood.
  • Optimality: The constructions are "constructive" but not necessarily "optimal" in terms of the number of switches or computational cost.
  • Practical Implementation: The paper lays theoretical groundwork. Further research could focus on efficient implementation of these constructive methods in practice.

Summary updated

BibTeX
@inproceedings{geshkovski2026constructive,
  author = {Borjan Geshkovski and Domènec Ruiz-Balet},
  title = {{Constructive conditional normalizing flows}},
  booktitle = {Open MIND},
  year = {2026},
  doi = {10.48550/arxiv.2602.08606},
}
Figure