Lune

NeurIPS2020Top-tier venue

Online Sinkhorn: Optimal Transport distances from sample streams

Arthur Mensch, Gabriel Peyré

Abstract

Optimal Transport (OT) distances are now routinely used as loss functions in ML tasks. Yet, computing OT distances between arbitrary (i.e. not necessarily discrete) probability distributions remains an open problem. This paper introduces a new online estimator of entropy-regularized OT distances between two such arbitrary distributions. It uses streams of samples from both distributions to iteratively enrich a non-parametric representation of the transportation plan. Compared to the classic Sinkhorn algorithm, our method leverages new samples at each iteration, which enables a consistent estimation of the true regularized OT distance. We provide a theoretical analysis of the convergence of the online Sinkhorn algorithm, showing a nearly-O( 1 n ) asymptotic sample complexity for the iterate sequence. We validate our method on synthetic 1D to 10D data and on real 3D shape data. Optimal transport (OT) distances are fundamental in statistical learning, both as a tool for analyzing the convergence of various algorithms (Canas and Rosasco, 2012; Dalalyan and Karagulyan, 2019) , and as a data-dependent term for tasks as diverse as supervised learning (Frogner et al., 2015) , unsupervised generative modeling (Arjovsky et al., 2017) or domain adaptation (Courty et al., 2016) . OT lifts a distance over data points living in a space X into a distance on the space P(X ) of probability distributions over the space X . This distance has many favorable geometrical properties. In particular it allows one to compare distributions having disjoint supports. Computing OT distances is usually performed by sampling once from the input distributions and solving a discrete linear program (LP), due to Kantorovich (1942) . This approach is numerically costly and statistically inefficient (Weed and Bach, 2019). Furthermore, the optimisation problem depends on a fixed sampling of points from the data. It is therefore not adapted to machine learning settings where data is resampled continuously (e.g. in GANs), or accessed in an online manner. In this paper, we develop an efficient online method able to estimate OT distances between continuous distributions. It uses a stream of data to refine an approximate OT solution, adapting the regularized OT approach to an online setting. To alleviate both the computational and statistical burdens of OT, it is common to regularize the Kantorovich LP. The most successful approach in this direction is to use an entropic barrier penalty. When dealing with discrete 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Mirror Sinkhorn: Fast Online Optimization on Transport Polytopes cites Mirror Descent with Relative Smoothness in Measure Spaces, with application to Sinkhorn and EM
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Mirror Descent with Relative Smoothness in Measure Spaces, with application to Sinkhorn and EMPierre-Cyril Aubin-Frankowski, Anna Korba, Flavien LégerNeurIPS 2022 · 61 citations
  2. Scalable Optimal Transport in High Dimensions for Graph Distances, Embedding Alignment, and MoreJohannes Klicpera, Marten Lienen, Stephan GünnemannICML 2021 · 14 citations
  3. Mirror Sinkhorn: Fast Online Optimization on Transport PolytopesMarin Ballu, Quentin BerthetICML 2023 · 9 citations
  4. FlashSinkhorn: IO-Aware Entropic Optimal Transport on GPUFelix X.-F. Ye, Xingjie Li, An Yu, Ming-Ching Chang et al.ICML 2026 · 3 citations
  5. Decreasing Entropic Regularization Averaged Gradient for Semi-Discrete Optimal TransportFerdinand Genans, Antoine Godichon-Baggioni, François-Xavier Vialard, Olivier WintenbergerNeurIPS 2025 · 2 citations

Builds on1

  1. Entropic Optimal Transport between Unbalanced Gaussian Measures has a Closed FormHicham Janati, Boris Muzellec, Gabriel Peyré, Marco CuturiNeurIPS 2020 · 109 citations

Related papers

  1. Sparsity-Constrained Optimal TransportTianlin Liu, Joan Puigcerver, Mathieu BlondelICLR 2023 · 3 citations
  2. Faster Wasserstein Distance Estimation with the Sinkhorn DivergenceLénaïc Chizat, Pierre Roussillon, Flavien Léger, François-Xavier Vialard et al.NeurIPS 2020 · 164 citations
  3. Regularized Optimal Transport is Ground Cost AdversarialFrançois-Pierre Paty, Marco CuturiICML 2020 · 33 citations
  4. Score-based Generative Neural Networks for Large-Scale Optimal TransportGrady Daniels, Tyler Maunu, Paul HandNeurIPS 2021 · 101 citations
  5. Accelerating Sinkhorn algorithm with sparse Newton iterationsXun Tang, Michael Shavlovsky, Holakou Rahmanian, Elisa Tardini et al.ICLR 2024 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines