Learning Optimal Transport Between two Empirical Distributions with Normalizing Flows

Florentin Coeurdoux, Nicolas Dobigeon, Pierre Chainais
7/4/2022
cs.LGstat.ML

No official code found. Best implementation: FlorentinCDX/SWOT-Flow (10 stars, last commit 2022-07-26).

Abstract

Optimal transport (OT) provides effective tools for comparing and mapping probability measures. We propose to leverage the flexibility of neural networks to learn an approximate optimal transport map. More precisely, we present a new and original method to address the problem of transporting a finite set of samples associated with a first underlying unknown distribution towards another finite set of samples drawn from another unknown distribution. We show that a particular instance of invertible neural networks, namely the normalizing flows, can be used to approximate the solution of this OT problem between a pair of empirical distributions. To this aim, we propose to relax the Monge formulation of OT by replacing the equality constraint on the push-forward measure by the minimization of the corresponding Wasserstein distance. The push-forward operator to be retrieved is then restricted to be a normalizing flow which is trained by optimizing the resulting cost function. This approach allows the transport map to be discretized as a composition of functions. Each of these functions is associated to one sub-flow of the network, whose output provides intermediate steps of the transport between the original and target measures. This discretization yields also a set of intermediate barycenters between the two measures of interest. Experiments conducted on toy examples as well as a challenging task of unsupervised translation demonstrate the interest of the proposed method. Finally, some experiments show that the proposed approach leads to a good approximation of the true OT.

View on arXivView PDF

Code Implementations(1)

SWOT-Flow official paper implementation

104PythonApr 5, 20224 years ago

Similar Papers

Cite this paper

@article{coeurdoux2022learning,
  title  = {Learning Optimal Transport Between two Empirical Distributions with Normalizing Flows},
  author = {Florentin Coeurdoux and Nicolas Dobigeon and Pierre Chainais},
  year   = {2022},
  eprint = {2207.01246},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.01246v2}
}

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/2207.01246.svg)](https://codeofpaper.com/paper/2207.01246)

Discussion