Analytic Bijections for Smooth and Interpretable Normalizing Flows

Mathis Gerdes, Miranda C. N. Cheng

Normalizing Flows (NFs) are a powerful class of generative models that learn complex probability distributions by transforming a simple base density, such as a Gaussian, through a series of invertible mappings. The core engine of an NF is its scalar bijection—the mathematical function responsible for stretching and shifting the data.

However, designing these bijections has historically forced researchers into a frustrating "trilemma":

  1. Affine Transformations: These are smooth and analytically invertible, but they lack expressivity. Capturing complex, multi-modal data requires hundreds of layers.
  2. Monotonic Splines: While highly expressive and capable of local control, splines are only piecewise smooth (not infinitely differentiable, or $C^\infty$) and operate strictly within bounded domains.
  3. Residual Flows: These offer both smoothness and expressivity but require slow, iterative numerical methods for inversion.

A new paper introduces a solution that hits the "sweet spot": three families of analytic bijections that are globally smooth ($C^\infty$), defined across all real numbers ($\mathbb{R}$), and analytically invertible in closed form.

The Math Behind Analytic Bijections

To achieve this balance of expressivity, smoothness, and exact invertibility, the authors propose two primary construction principles:

  • Algebraic Rational Functions: The researchers designed a specific rational function called the Cubic Rational. When the denominator is cleared, it forms a cubic equation. Because cubic equations have a known general solution (Cardano’s formula), the function can be inverted analytically.
  • Conjugation with Monotonic Functions: By wrapping a simple shift operation inside a non-linear "sandwich" (using functions like sinh and arcsinh), the authors created the Sinh Conjugation and Cubic Conjugation bijections. This approach allows for both localized deformations and global shifts of probability mass without sacrificing smoothness.

Crucially, smoothness is a feature, not just a mathematical nicety. While splines can fit a density well, their "kinks" (discontinuities in higher derivatives) cause massive errors when calculating gradients of the log-probability. The new analytic bijections provide much more stable gradients, which is a critical requirement for physics applications.

A Natural Fit: Radial Flows

Beyond the bijections themselves, the paper introduces a novel architecture called Radial Flows. Standard NFs typically update coordinates one by one using coupling layers, which can create unnatural "axis-aligned" artifacts in the generated data.

Radial Flows take a different approach: they transform the radius of a point from a central origin while keeping its angular direction fixed. This provides a much more natural inductive bias for modeling physical systems or data with circular symmetry.

The results are striking: on data with radial structure (like a 2D spiral), the Radial Flow architecture achieved better results with roughly 300 parameters than a standard coupling flow did with over 2,000,000 parameters—a nearly 10,000-fold reduction in complexity. Furthermore, Radial Flows proved exceptionally stable during training, tolerating learning rates up to 10x higher than standard coupling flows without crashing.

Experimental Validation

The authors evaluated their analytic bijections and Radial Flows across a diverse range of benchmarks, from synthetic toy targets (1D oscillating polynomials, 2D spirals) to standard machine learning datasets and high-dimensional physics simulations.

Key Results Include: * Drop-in Performance Upgrades: Replacing standard affine or spline layers with analytic bijections consistently improved performance. On the CIFAR-10 image dataset, for example, the bijections improved the bits-per-dimension (BPD) score from 3.49 to 3.36. Similar gains were observed on UCI tabular datasets (POWER, GAS, HEPMASS). * High-Dimensional Physics Accuracy: The models were tested on a 400-dimensional $\phi^4$ lattice field theory simulation, where NFs are used to accelerate scientific sampling. The analytic bijections achieved a significantly higher Effective Sample Size (ESS) of 39.6%, outperforming both affine (31.8%) and spline (34.3%) baselines. * Solving Mode Collapse: In the physics experiments, the authors successfully utilized a "zero-mode bijection" to prevent the model from getting stuck in just one part of a symmetric distribution, solving a common failure mode in standard NF training.

Limitations and Future Directions

While these analytic bijections offer a powerful new primitive for generative modeling, the authors note a few areas for future exploration. Radial flows currently excel in low-dimensional spaces (2D/3D), but scaling this radial architecture to extremely high-dimensional latent spaces remains an open challenge. Additionally, the authors suggest that extending the angular dependence of Radial Flows using spherical harmonics could better handle 3D data in molecular and materials modeling.

By resolving the historical trade-offs of scalar bijections, this work provides a robust, interpretable, and highly efficient toolkit for the next generation of Normalizing Flows.

(Code for these bijections is available in the bijx library for JAX.)

Summary updated

BibTeX
@inproceedings{gerdes2026analytic,
  author = {Mathis Gerdes and Miranda C. N. Cheng},
  title = {{Analytic Bijections for Smooth and Interpretable Normalizing Flows}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=9kkrASoSbp},
}
Figure