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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext be34decc-5556-4e59-bafc-1187c52c1b77Cited by top-tier papers9
- 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
- Scalable Optimal Transport in High Dimensions for Graph Distances, Embedding Alignment, and MoreJohannes Klicpera, Marten Lienen, Stephan GünnemannICML 2021 · 14 citations
- Mirror Sinkhorn: Fast Online Optimization on Transport PolytopesMarin Ballu, Quentin BerthetICML 2023 · 9 citations
- FlashSinkhorn: IO-Aware Entropic Optimal Transport on GPUFelix X.-F. Ye, Xingjie Li, An Yu, Ming-Ching Chang et al.ICML 2026 · 3 citations
- 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
Related papers
- Sparsity-Constrained Optimal TransportTianlin Liu, Joan Puigcerver, Mathieu BlondelICLR 2023 · 3 citations
- 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
- Regularized Optimal Transport is Ground Cost AdversarialFrançois-Pierre Paty, Marco CuturiICML 2020 · 33 citations
- Accelerating Sinkhorn algorithm with sparse Newton iterationsXun Tang, Michael Shavlovsky, Holakou Rahmanian, Elisa Tardini et al.ICLR 2024 · 11 citations
- Efficient Optimal Transport Algorithm by Accelerated Gradient DescentDongsheng An, Na Lei, Xiaoyin Xu, Xianfeng GuAAAI 2022 · 18 citations
