Supervised Training of Conditional Monge Maps

Charlotte Bunne, Andreas Krause, marco cuturi

Abstract

Optimal Transport (OT) provides a robust framework for mapping probability distributions, yet standard solvers often struggle with multi-task learning and generalization to unseen contexts. We present CONDOT, a framework for learning conditional Monge maps using partially input convex neural networks (PICNNs). By conditioning the transport map on context variables—such as drug dosage or genetic perturbations—and employing a novel Gaussian-based initialization, CONDOT achieves superior generalization in high-dimensional biological datasets, including zero-shot prediction of novel drug combinations.

Introduction

Optimal Transport (OT) is increasingly used in machine learning to model the transformation of probability distributions, such as the shift in single-cell gene expression from an untreated state (source measure $\mu$) to a treated state (target measure $\nu$). While traditional OT methods estimate maps for isolated pairs, real-world applications often involve multiple related tasks defined by varying contexts $c_i$ (e.g., different dosages or cell lines).

The challenge lies in learning a global, context-aware map $\mathcal{T}_\theta(c)$ that can not only fit observed pairs $(\mu_i, \nu_i)$ but also generalize to completely new contexts $c_{new}$. CONDOT addresses this by treating the learning process as a supervised problem, where the transport map is conditioned on a continuous or discrete context variable.

The CONDOT Framework

Conditional Monge Maps

According to Brenier’s theorem, an optimal transport map is the gradient of a convex potential function. To maintain this theoretical property while allowing for context-dependent modulation, CONDOT utilizes Partially Input Convex Neural Networks (PICNNs). In this architecture, the network is strictly convex with respect to the spatial input $x$, while the context $c$ acts as a non-convex modulator. This allows the model to learn a continuous family of OT maps that can interpolate between known states or extrapolate to new ones.

Conceptual modes of conditioning in CONDOT: (a) by scalar (e.g., dosage), (b) by covariate (e.g., cell line), and (c) by action (e.g., drug combinations).

Architecture and Combinators

The CONDOT system is composed of three primary modules:

  1. Embedding Module: Vectorizes discrete actions or contexts into a latent space.
  2. Combinator Module: Uses permutation-invariant operations (such as Deep Sets) to aggregate multiple context embeddings, enabling the prediction of joint effects from individual drug perturbations.
  3. Map Module: The PICNN that computes the transport map based on the aggregated context.

Gaussian Initialization Strategy

Training Input Convex Neural Networks (ICNNs) is notoriously difficult; random initialization often results in maps that are far from the target distribution, leading to vanishing gradients and poor convergence. CONDOT introduces a "warm start" strategy by initializing the network to mimic the closed-form affine Monge map between Gaussian approximations of the source and target distributions. This ensures that the model begins training from a mathematically grounded baseline, significantly improving stability and training speed.

Experimental Results

Generalization in Genomics

The authors evaluated CONDOT on high-dimensional single-cell genomics data, including drug dosage responses and large-scale CRISPR screens. In dosage prediction tasks, CONDOT significantly outperformed existing baselines like the Compositional Perturbation Autoencoder (CPA), achieving lower Maximum Mean Discrepancy (MMD) scores in out-of-sample scenarios.

Zero-Shot Combination Prediction

A key breakthrough of CONDOT is its ability to predict the effects of novel drug combinations. By learning from individual perturbations, the model's combinator module can estimate the joint effect of a "cocktail" even if that specific combination was never seen during training. Qualitative analysis via UMAP embeddings shows that CONDOT accurately captures distinct cellular subpopulations, whereas baseline models often produce blurred, averaged results.

Robustness and Convergence

The Gaussian initialization proved critical for high-dimensional tasks. While vanilla initialization strategies often start with massive Wasserstein distances (e.g., $10^4$), the Gaussian warm start places the model near the optimal solution from the first iteration, ensuring robust convergence in complex gene expression spaces.

Conclusion and Future Work

CONDOT provides a scalable and theoretically grounded approach to conditional optimal transport. While currently limited to deterministic Monge maps, future extensions could incorporate stochastic elements via Schrödinger Bridges to better model the inherent diffusion in biological processes. Additionally, scaling these methods to the full human genome (~20,000 genes) remains a primary objective for future research in neural OT solvers.

Summary updated

BibTeX
@inproceedings{bunne2022supervised,
  author = {Charlotte Bunne and Andreas Krause and marco cuturi},
  title = {{Supervised Training of Conditional Monge Maps}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=sPNtVVUq7wi},
}
Figure