Wasserstein Flow Matching: Generative modeling over families of distributions

Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, Brandon Amos
11/1/2024
cs.LG

Official code: DoronHav/WassersteinFlowMatching (46 stars, MIT, last commit 2026-01-27).

Abstract

Generative modeling typically concerns transporting a single source distribution to a target distribution via simple probability flows. However, in fields like computer graphics and single-cell genomics, samples themselves can be viewed as distributions, where standard flow matching ignores their inherent geometry. We propose Wasserstein flow matching (WFM), which lifts flow matching onto families of distributions using the Wasserstein geometry. Notably, WFM is the first algorithm capable of generating distributions in high dimensions, whether represented analytically (as Gaussians) or empirically (as point-clouds). Our theoretical analysis establishes that Wasserstein geodesics constitute proper conditional flows over the space of distributions, making for a valid FM objective. Our algorithm leverages optimal transport theory and the attention mechanism, demonstrating versatility across computational regimes: exploiting closed-form optimal transport paths for Gaussian families, while using entropic estimates on point-clouds for general distributions. WFM successfully generates both 2D & 3D shapes and high-dimensional cellular microenvironments from spatial transcriptomics data. Code is available at https://github.com/DoronHav/WassersteinFlowMatching .

View on arXivView PDF

Code Implementations(1)

MIT
463Python, Jupyter NotebookAug 3, 20248 months agoMIT

Similar Papers

Cite this paper

@article{haviv2024wasserstein,
  title  = {Wasserstein Flow Matching: Generative modeling over families of distributions},
  author = {Doron Haviv and Aram-Alexandre Pooladian and Dana Pe'er and Brandon Amos},
  year   = {2024},
  eprint = {2411.00698},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.00698v2},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.00698.svg)](https://codeofpaper.com/paper/2411.00698)

Discussion