On the representation and learning of monotone triangular transport maps

Ricardo Baptista, Youssef Marzouk, Olivier Zahm · DOI

TL;DR

This paper introduces a robust functional framework for building and learning monotone triangular transport maps, which are essential tools for modeling complex probability distributions. By using a "rectification operator" with specific bijective functions, the authors prove that the resulting optimization landscape is free of spurious local minima and provide a greedy adaptive algorithm (ATM) that discovers sparse, interpretable models with significantly fewer parameters than deep learning alternatives.

What Problem Does This Paper Address?

In fields like density estimation and generative modeling, we often want to transform a simple "reference" distribution (like a standard Gaussian) into a complex "target" distribution. Transport maps are the mathematical functions that perform this coupling. Triangular maps are particularly popular because their structure makes them easy to invert and their Jacobians (needed for density calculations) easy to compute.

However, these maps must be monotone (strictly increasing in certain directions) to be valid. Enforcing this constraint is tricky:

  1. Simple models (like affine maps) are easy to constrain but lack the "expressiveness" to capture complex data.
  2. Complex models (like deep neural networks) can be expressive, but the optimization problems used to train them are often non-convex and plagued by local minima, making them hard to tune and prone to instability.

The authors aim to bridge this gap by creating a framework that is both highly expressive and theoretically guaranteed to be easy to optimize.

Methods

The core of the paper is a two-pronged approach: a new mathematical representation and an adaptive learning algorithm.

1. The Rectification Operator

Instead of trying to parameterize a monotone function directly, the authors propose a rectification operator $R_k$. You start with a standard, smooth, non-monotone function $f$ and transform it into a monotone component $S_k$ using: $$R_k(f)(x_{\le k}) = f(x_{<k}, 0) + \int_0^{x_k} g(\partial_k f(x_{<k}, t)) dt$$ Here, $g$ is a positive function. Crucially, the authors show that if $g$ is bijective (like the soft-plus function), the optimization problem for learning the map becomes much better behaved.

The rectifier transforms a non-monotone function $f$ into a monotone transport $S$.

2. The ATM Algorithm

The Adaptive Transport Map (ATM) algorithm is a greedy procedure for learning these maps from data. Rather than fixing the model's complexity upfront, it starts with a simple model and iteratively adds basis functions (either polynomials or wavelets) that provide the most improvement to the likelihood. It uses cross-validation to decide when to stop, ensuring the model complexity is perfectly tailored to the available sample size.

Datasets

The authors evaluated their method on a variety of benchmarks:

  • Synthetic Distributions: "Banana," "funnel," "cosine," "ring," and mixtures of Gaussians to test expressiveness in 2D and 3D.
  • Stochastic Volatility Model: A high-dimensional Markov process used to test the algorithm's ability to discover sparse structures.
  • UCI Tabular Datasets: Standard real-world benchmarks including Boston Housing, Red/White Wine quality, Parkinsons, Concrete, Energy, and Yacht datasets.

Key Insights and Ideas

  • Optimization Landscape Matters: The choice of the "rectifier" function $g$ is the difference between a smooth ride and a bumpy one. Using a non-bijective function like $g(\xi) = \xi^2$ creates a landscape full of local minima where solvers get stuck. Bijective functions like soft-plus eliminate these spurious minima.
Comparison of optimization landscapes: bijective rectifiers (left/middle) lead to global minima, while the square function (right) gets stuck in local minima.
  • Sparsity is Insight: Because triangular maps relate to conditional probabilities, a sparse map directly corresponds to a sparse Directed Acyclic Graph (DAG). The ATM algorithm can "discover" the conditional independence structure of a dataset without being told it exists.
  • Semi-Parametric Adaptivity: By linking model complexity to sample size via cross-validation, the method remains robust. It won't overfit small datasets but can scale up its expressiveness as more data arrives.

Key Results

  • Efficiency: On UCI datasets, the ATM algorithm achieved performance comparable to high-capacity neural networks (like Normalizing Flows and Mixture Density Networks) but used two orders of magnitude fewer coefficients.
  • Speed: Training was generally faster than neural network alternatives because it avoids the need for extensive hyperparameter tuning (like learning rates or network architectures).
  • Expressiveness: The method successfully captured highly non-Gaussian geometries (like the "ring" and "banana" shapes) that fixed-degree polynomial methods failed to represent accurately.
ATM successfully approximates complex 2D densities with very few coefficients.

Limitations and Future Work

  • Tail Assumptions: The theoretical guarantee that the algorithm recovers the "true" map (the Knothe–Rosenblatt rearrangement) currently relies on the target distribution having Gaussian-like tails. Extending this to heavy-tailed distributions is an open challenge.
  • Variable Ordering: Like all triangular maps, the results depend on the order of the input variables. While the authors suggest using sparsity-maximizing permutations, a more integrated way to learn the optimal ordering remains future work.
  • Nonparametric Extensions: The authors suggest that their framework could be extended to Reproducing Kernel Hilbert Spaces (RKHS) to avoid choosing a specific basis (like polynomials) altogether.

Summary updated

Abstract

Transportation of measure provides a versatile approach for modeling complex probability distributions, with applications in density estimation, Bayesian inference, generative modeling, and beyond. Monotone triangular transport maps$\unicode{x2014}$approximations of the Knothe$\unicode{x2013}$Rosenblatt (KR) rearrangement$\unicode{x2014}$are a canonical choice for these tasks. Yet the representation and parameterization of such maps have a significant impact on their generality and expressiveness, and on properties of the optimization problem that arises in learning a map from data (e.g., via maximum likelihood estimation). We present a general framework for representing monotone triangular maps via invertible transformations of smooth functions. We establish conditions on the transformation such that the associated infinite-dimensional minimization problem has no spurious local minima, i.e., all local minima are global minima; and we show for target distributions satisfying certain tail conditions that the unique global minimizer corresponds to the KR map. Given a sample from the target, we then propose an adaptive algorithm that estimates a sparse semi-parametric approximation of the underlying KR map. We demonstrate how this framework can be applied to joint and conditional density estimation, likelihood-free inference, and structure learning of directed graphical models, with stable generalization performance across a range of sample sizes.
BibTeX
@inproceedings{baptista2023representation,
  author = {Ricardo Baptista and Youssef Marzouk and Olivier Zahm},
  title = {{On the representation and learning of monotone triangular transport maps}},
  booktitle = {Foundations},
  year = {2023},
  doi = {10.1007/s10208-023-09630-x},
}
Figure