A Study of Performance of Optimal Transport

Yihe Dong, Yu Gao, Richard Peng, Ilya Razenshteyn, Saurabh Sawlani
5/3/2020
cs.DScs.LG

Official code: twistedcubic/fast_ot (10 stars, C, last commit 2020-07-04).

Abstract

We investigate the problem of efficiently computing optimal transport (OT) distances, which is equivalent to the node-capacitated minimum cost maximum flow problem in a bipartite graph. We compare runtimes in computing OT distances on data from several domains, such as synthetic data of geometric shapes, embeddings of tokens in documents, and pixels in images.

Show full abstract

We show that in practice, combinatorial methods such as network simplex and augmenting path based algorithms can consistently outperform numerical matrix-scaling based methods such as Sinkhorn [Cuturi'13] and Greenkhorn [Altschuler et al'17], even in low accuracy regimes, with up to orders of magnitude speedups. Lastly, we present a new combinatorial algorithm that improves upon the classical Kuhn-Munkres algorithm.

View on arXivView PDF

Code Implementations(1)

A study of performance of optimal transport.

102C, C++May 3, 20206 years ago

Similar Papers

Cite this paper

@article{dong2020study,
  title  = {A Study of Performance of Optimal Transport},
  author = {Yihe Dong and Yu Gao and Richard Peng and Ilya Razenshteyn and Saurabh Sawlani},
  year   = {2020},
  eprint = {2005.01182},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.01182}
}

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

Discussion