On the representation and learning of monotone triangular transport maps

Ricardo Baptista, Olivier Zahm, Youssef Marzouk · DOI

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—approximations of the Knothe–Rosenblatt (KR) rearrangement—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.

Introduction

In machine learning and statistics, modeling complex probability distributions is a fundamental challenge. Transport maps offer a powerful solution by defining a transformation that "pushes" a simple reference distribution (e.g., a standard Gaussian) onto a complicated target distribution. The Knothe–Rosenblatt (KR) rearrangement is a specific type of transport map with a triangular structure, where each variable depends only on preceding variables. This structure ensures the map is easy to invert and its Jacobian determinant is simple to compute.

However, learning these maps from data often involves a trade-off: simple affine maps lack expressiveness, while complex models like deep neural networks often create non-convex optimization landscapes plagued by local minima. This paper introduces a functional framework that ensures expressiveness while maintaining a benign optimization landscape.

Methodology

The Rectification Operator

To represent a monotone function without restricting the underlying function space to be monotone, the authors introduce a rectification operator ($R_k$). Instead of modeling the map $S(x)$ directly, they represent it as a transformation of a smooth, non-monotone function $f$. A "rectifier" function $g$ (such as the soft-plus function) is applied to the derivative of $f$ to ensure the resulting map's derivative is always positive, thus guaranteeing monotonicity.

The rectification process: a non-monotone function f(x) and its derivative are transformed via a rectifier g to produce a strictly monotone map S(x).

A key theoretical contribution is proving that if $g$ is bijective, the optimization problem for learning the map becomes "convex-like," where every local minimum is a global minimum. This avoids the instabilities common in training deep generative models.

Adaptive Transport Map (ATM) Algorithm

To handle varying data regimes, the authors propose the ATM algorithm, a greedy, semi-parametric approach. Starting with a simple map, the algorithm iteratively adds basis functions (polynomials or wavelets) from a "reduced margin" of candidates. Cross-validation is used to determine the optimal complexity, preventing overfitting on small datasets and discovering the underlying sparsity (conditional independence) of the data.

Experimental Results

Optimization Stability

The theoretical guarantees on the optimization landscape are verified numerically. When using a bijective rectifier like soft-plus, gradient descent consistently converges to the global optimum regardless of initialization. In contrast, non-bijective rectifiers (like the square function) lead to landscapes with many spurious local minima.

Optimization trajectories showing the loss function over time for different initializations. The left and middle panels (bijective rectifiers) show consistent convergence to a global minimum, while the right panel (non-bijective) shows instability and local minima.

Parsimony and Structure Learning

On standard UCI tabular datasets, the ATM algorithm achieved performance competitive with high-capacity neural networks (e.g., Mixture Density Networks) while using two orders of magnitude fewer coefficients. Furthermore, in high-dimensional stochastic volatility models, the algorithm successfully recovered the sparse Markov structure of the process without prior knowledge, demonstrating its utility for structure learning in directed graphical models.

Conclusion

This framework provides a robust mathematical foundation for learning monotone triangular transport maps. By ensuring a well-behaved optimization landscape and providing an adaptive mechanism for complexity control, the proposed method offers a stable and parsimonious alternative to black-box density estimators. Future work includes extending these guarantees to heavy-tailed distributions and exploring automated variable ordering to further enhance performance in high-dimensional settings.

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 Olivier Zahm and Youssef Marzouk},
  title = {{On the representation and learning of monotone triangular transport maps}},
  booktitle = {Foundations},
  year = {2023},
  doi = {10.1007/s10208-023-09630-x},
}
Figure