Generative Conditional Distributions by Neural (Entropic) Optimal Transport

Bao Nguyen, Binh Nguyen, Hieu Trung Nguyen, Viet Anh Nguyen

Introduction

In many high-stakes fields such as personalized medicine and economics, predicting a single mean value is insufficient. Decision-makers require the full conditional distribution $P(Y|X)$ to understand the range of possible outcomes and associated risks. However, learning these distributions is often hindered by "extreme data scarcity," where the majority of covariate values $X$ are associated with only a single observed response $Y$.

Standard deep learning models typically overfit in these sparse regimes, while conditional GANs frequently suffer from mode collapse—predicting the mean rather than the underlying variance. To address these challenges, we introduce GENTLE (Generative Neural Transport LEarning), a novel framework grounded in Optimal Transport (OT) theory.

The Challenge of Data Scarcity

The primary bottleneck in conditional distribution learning is not just small sample sizes, but unbalanced sampling. In datasets like the Lalonde-Dehjia-Wahba (LDW-CPS) economics benchmark, the vast majority of the covariate space is under-represented.

Figure 1: Distribution of observations per covariate in the LDW-CPS dataset, highlighting the extreme data scarcity where most points have only a single response.

As shown in the figure above, out of approximately 16,000 samples, over 13,000 covariates have only one associated response. This makes it nearly impossible for traditional models to infer the variance or shape of the local distribution without significant regularization.

The GENTLE Framework

GENTLE approaches conditional generation through the lens of Optimal Transport, employing several key innovations:

  1. Inverse CDF Parametrization: The generative network $T_\theta$ takes a covariate $X$ and a noise variable $U \sim \text{Uniform}(0,1)$ to produce a sample. This effectively learns to parametrize the inverse cumulative distribution function, ensuring the model maintains the structural properties of a probability distribution.
  2. Entropic Optimal Transport (EOT) Regularization: To handle sparsity, GENTLE enforces a Lipschitz smoothness constraint across the covariate space. It assumes that if two covariate points $x_i$ and $x_j$ are close, their corresponding output distributions should also be close, measured via the Wasserstein distance (computed efficiently through EOT).
  3. Doubly Smoothed Optimization: To stabilize the resulting min-max optimization problem, the framework utilizes a state-of-the-art gradient descent-ascent algorithm with quadratic penalty terms, preventing the model from getting trapped in poor local optima.

Experimental Results

GENTLE was evaluated against state-of-the-art baselines, including CWGAN, MGAN, and CDSB, on both the sparse LDW-CPS dataset and the Esophageal Cancer Markov Chain (ECM) healthcare simulator.

Table 1: Performance comparison of GENTLE against state-of-the-art GAN-based methods across LDW-CPS and ECM datasets using Wasserstein Distance (WD) and Kolmogorov-Smirnov (KS) metrics.

Quantitatively, GENTLE significantly outperformed all baselines. On the LDW-CPS dataset, it achieved a Wasserstein Distance (WD) of 3767.62, a massive improvement over CWGAN's 13371.99. Qualitatively, while GAN-based methods often collapsed to a single spike representing the mean, GENTLE successfully recovered multi-modal densities and complex distribution shapes, even in the single-observation regime.

Conclusion and Future Work

GENTLE demonstrates that leveraging Optimal Transport as a smoothness enforcer allows models to "borrow" information from neighboring points in the covariate space, effectively overcoming the limitations of sparse data. While currently focused on one-dimensional response variables, future work will explore extending this framework to multi-dimensional joint distributions and incorporating temporal dynamics for evolving risk assessment.

Summary updated

BibTeX
@inproceedings{nguyen2024generative,
  author = {Bao Nguyen and Binh Nguyen and Hieu Trung Nguyen and Viet Anh Nguyen},
  title = {{Generative Conditional Distributions by Neural (Entropic) Optimal Transport}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=FoRqdsN4IA},
}
Figure