NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dynamic Conditional Optimal Transport through Simulation-Free Flows

Gavin Kerrigan, Giosue Migliorini, Padhraic Smyth

Introduction

Bayesian inverse problems are fundamental to modern science and engineering, requiring the estimation of unknown parameters $u$ from noisy observations $y$. While Markov Chain Monte Carlo (MCMC) methods remain the gold standard for accuracy, their computational cost is often prohibitive due to the need for thousands of simulator evaluations per observation. Furthermore, MCMC lacks amortization; the entire process must be repeated for every new observation.

Recent advances in generative modeling, such as Diffusion Models and Normalizing Flows, have introduced amortized inference, allowing for near-instantaneous sampling once a model is trained. However, these methods often struggle with inefficient, "curvy" transport paths or complex adversarial training regimes. This paper introduces Conditional Optimal Transport Flow Matching (COT-FM), a framework that leverages the mathematical elegance of Optimal Transport (OT) to learn efficient, straight-line mappings between distributions in a simulation-free manner.

Theoretical Framework: Triangular Mappings and Benamou-Brenier

The core innovation of COT-FM lies in its use of triangular mappings. In a conditional setting, we seek to transform a simple source distribution into a complex target distribution while keeping the observation $y$ fixed. The authors provide a rigorous foundation for this by proving a Conditional Benamou-Brenier Theorem. This theorem demonstrates that the shortest path (geodesic) between two conditional distributions in the Wasserstein space can be characterized by a time-dependent triangular vector field.

By enforcing this triangular structure, the model ensures that the information from $y$ guides the transformation of $u$ without inadvertently modifying the observed data. Furthermore, the theory is developed for separable Hilbert spaces, ensuring that COT-FM is applicable not only to finite vectors but also to infinite-dimensional function spaces, such as those encountered in Partial Differential Equations (PDEs).

Methodology: Simulation-Free Flow Matching

Unlike traditional Continuous Normalizing Flows (CNFs) that require solving an Ordinary Differential Equation (ODE) during every training step, COT-FM utilizes a regression-based objective. The training process involves:

  1. Coupling: Pairing source and target samples using a Conditional Optimal Transport plan.
  2. Velocity Prediction: Training a neural network to predict the velocity (vector field) required to move points along a straight line from the source to the target.
  3. Straight Paths: By using OT couplings rather than independent pairings, the learned paths are significantly straighter and less "tangled." This reduction in complexity makes the vector field easier for the neural network to approximate, leading to faster convergence and better generalization.

Experimental Results

The researchers validated COT-FM across three distinct domains, demonstrating its versatility and robustness:

1. 2D Synthetic Benchmarks

On standard toy distributions (e.g., Checkerboard, Swissroll), COT-FM consistently outperformed baselines like PCP-Map and COT-Flow. It achieved lower Wasserstein ($W_2$) and Maximum Mean Discrepancy (MMD) distances, indicating a more precise capture of the target geometry.

2. Biological Systems: Lotka-Volterra

In the Lotka-Volterra predator-prey model, the goal was to infer four biological parameters from noisy population data. COT-FM produced posterior samples that were quantitatively and qualitatively closer to the MCMC ground truth than competing flow-based methods, proving its efficacy for classic dynamical system inference.

3. High-Dimensional Inverse Problems: Darcy Flow

The Darcy Flow problem involves recovering a continuous permeability field from noisy pressure measurements in a 2D PDE. This high-dimensional challenge is a stress test for generative models. COT-FM achieved the lowest Mean Squared Error (MSE) relative to the MCMC mean and avoided common pitfalls like the "checkerboard" artifacts or excessive blurriness seen in WaMGAN or standard Functional Flow Matching (FFM).

Insights and Future Directions

COT-FM bridges the gap between the theoretical rigor of Optimal Transport and the practical efficiency of Flow Matching. By utilizing OT couplings, the model naturally finds the most efficient path between distributions, simplifying the learning task for the underlying neural networks.

While the current implementation uses minibatch approximations for the OT plan—which can introduce slight sub-optimality—the results demonstrate that even these approximations yield superior performance over standard methods. Future work may explore more complex cost functions and the application of COT-FM to "likelihood-free" scenarios where the underlying scientific simulator is a complete black box.

Summary updated

BibTeX
@inproceedings{kerrigan2024dynamic,
  author = {Gavin Kerrigan and Giosue Migliorini and Padhraic Smyth},
  title = {{Dynamic Conditional Optimal Transport through Simulation-Free Flows}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=tk0uaRynhH},
}
Figure