Conditional Sampling with Monotone GANs: From Generative Models to Likelihood-Free Inference

Ricardo Baptista, Bamdad Hosseini, Nikola B. Kovachki, Youssef M. Marzouk · DOI

TL;DR

This paper introduces Monotone Generative Adversarial Networks (M-GANs), a novel framework for efficiently sampling from conditional probability distributions. By leveraging block triangular transport maps and a monotonicity constraint, M-GANs can learn to generate samples from complex conditional distributions without requiring explicit likelihood functions, making them powerful for likelihood-free inference tasks.

What Problem Does This Paper Address?

Conditional sampling, the process of generating samples from a probability distribution given some observed data, is a fundamental problem in statistics, applied mathematics, and machine learning. This is crucial for tasks like Bayesian inference, where we want to understand the distribution of unknown parameters given observed data. Traditional methods like Markov Chain Monte Carlo (MCMC) can be computationally expensive, requiring repeated simulations for each new observation. Variational inference offers an alternative but is limited by the choice of approximating families. The authors aim to develop a method that can efficiently characterize entire families of conditional distributions, is data-driven, and avoids the need for explicit likelihood functions, which are often intractable in real-world problems like inverse problems.

Methods

The core of the paper is the M-GAN framework, which builds upon the theory of block triangular transport maps. The key idea is to learn a map $T: S \to Z$ (where $S = W \times V$ and $Z = Y \times U$) that transforms a known reference measure $\eta$ into a target measure $\nu$. Specifically, the map $T$ is structured as $T(w, v) = (F(w), G(F(w), v))$, where $F: W \to Y$ and $G: Y \times V \to U$. The crucial insight is that the component map $G$ can then be used to sample from the conditional distribution $\nu(\cdot|y)$ by transforming samples from the reference measure $\eta_V$.

To learn these maps, M-GANs employ an adversarial training procedure similar to Generative Adversarial Networks (GANs). The optimization problem involves minimizing a statistical divergence between the transported reference measure and the target measure, regularized by a monotonicity penalty. This penalty encourages the learned map $G$ to be monotone, which, under certain conditions, leads to unique and desirable properties related to optimal transport. The authors also explore various choices for the divergence (e.g., Wasserstein distance, f-divergences) and the neural network architectures for parameterizing the maps $F$ and $G$.

Datasets

The paper uses synthetic datasets for initial experiments. For more complex applications, they evaluate M-GANs on:

  • Lotka-Volterra population model: A benchmark for likelihood-free inference.
  • Darcy flow inverse problem: A problem from subsurface flow modeling involving a partial differential equation.
  • CelebA dataset: For probabilistic image in-painting tasks.

The authors do not introduce new benchmark datasets but apply their method to existing, well-established problems.

Key Insights and Ideas

  • Block Triangular Maps for Conditional Sampling: The paper establishes that a specific structure of transport maps (block triangular) can directly yield the conditional component $G$, which is key for sampling from $\nu(\cdot|y)$. This is a significant departure from standard generative models that focus on the joint distribution.
  • Monotonicity as a Regularizer: Imposing a monotonicity constraint on the transport map, even through a penalty term, is shown to be crucial for achieving accurate conditional sampling and connecting the learned maps to optimal transport solutions. This regularization helps overcome issues of non-uniqueness and improves stability.
  • Likelihood-Free Inference: M-GANs are inherently likelihood-free, meaning they do not require an explicit model of the data-generating process. This makes them highly applicable to inverse problems where likelihoods are often intractable.
  • Amortized Inference: Once trained, the M-GAN map $G$ can generate conditional samples for any given observation $y$ very efficiently, amortizing the cost of inference over many observations.

Key Results

  • Accurate Conditional Sampling: Numerical experiments demonstrate that M-GANs can accurately capture conditional distributions in synthetic examples, Bayesian inverse problems (ODEs, Darcy flow), and image in-painting tasks.
  • Robustness to Variable Ordering: The use of non-triangular block maps makes M-GANs less sensitive to the ordering of variables compared to strictly triangular maps, which is a significant advantage in high-dimensional settings.
  • Convergence to Optimal Transport: In settings where the target distribution is Gaussian, M-GANs with the monotonicity penalty were shown to converge to the optimal transport map that minimizes the $L^2$ transport cost.
  • Efficiency in Inverse Problems: For the Darcy flow problem, M-GANs required significantly fewer PDE solves for training compared to MCMC methods for obtaining stable posterior estimates.

Limitations and Future Work

  • Infinite-Dimensional Settings: While the theoretical framework is developed for Banach spaces, the computational framework and some theoretical results (like uniqueness of conditional Brenier maps) are primarily established for finite-dimensional settings. Extending these to infinite dimensions is a significant open problem.
  • Expressiveness of Parametric Maps: Further theoretical investigation into the expressiveness of parametric classes of block triangular maps is suggested.
  • Choice of Divergence and Regularization: While the paper explores various choices, the optimal selection of the divergence functional and regularization terms for different problems remains an area for future research.
  • Monotonicity Enforcement: The paper notes that the average monotonicity penalty does not guarantee monotonicity everywhere but finds it sufficient in practice. Exploring stronger enforcement mechanisms or alternative approaches is a potential direction.

Summary updated

BibTeX
@article{baptista2024conditional,
  author = {Ricardo Baptista and Bamdad Hosseini and Nikola B. Kovachki and Youssef M. Marzouk},
  title = {{Conditional Sampling with Monotone GANs: From Generative Models to Likelihood-Free Inference}},
  journal = {SIAM/ASA J. Uncertain. Quantification},
  year = {2024},
  doi = {10.1137/23m1581546},
}
Figure