Fast Sinkhorn I: An O(N) algorithm for the Wasserstein-1 metric
Not on the map. Why?
Abstract (arXiv)
The Wasserstein metric is broadly used in optimal transport for comparing two probabilistic distributions, with successful applications in various fields such as machine learning, signal processing, seismic inversion, etc. Nevertheless, the high computational complexity is an obstacle for its practical applications. The Sinkhorn algorithm, one of the main methods in computing the Wasserstein metric, solves an entropy regularized minimizing problem, which allows arbitrary approximations to the Wasserstein metric with O(N^2) computational cost. However, higher accuracy of its numerical approximation requires more Sinkhorn iterations with repeated matrix-vector multiplications, which is still unaffordable. In this work, we propose an efficient implementation of the Sinkhorn algorithm to calculate the Wasserstein-1 metric with O(N) computational cost, which achieves the optimal theoretical complexity. By utilizing the special structure of Sinkhorn's kernel, the repeated matrix-vector multiplications can be implemented with O(N) times multiplications and additions, using the Qin Jiushao or Horner's method for efficient polynomial evaluation, leading to an efficient algorithm without losing accuracy. In addition, the log-domain stabilization technique, used to stabilize the iterative procedure, can also be applied in this algorithm. Our numerical experiments show that the newly developed algorithm is one to three orders of magnitude faster than the original Sinkhorn algorithm.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Feb 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 2.
6 papers.
- 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transportcited by 16
- 2022Efficient Approximation of Gromov-Wasserstein Distance Using Importance Sparsificationcited by 11
- 2022Hilbert Curve Projection Distance for Distribution Comparisoncited by 9
- 2023Importance Sparsification for Sinkhorn Algorithmcited by 6
- 2024Fast Gradient Computation for Gromov-Wasserstein Distancecited by 2
- 2024CogSimulator: A Model for Simulating User Cognition & Behavior with Minimal Data for Tailored Cognitive Enhancementcited by 0
- 2024CogSimulator: A Model for Simulating User Cognition & Behavior with Minimal Data for Tailored Cognitive Enhancement10 Dec 2024
- 2024Fast Gradient Computation for Gromov-Wasserstein Distance13 Apr 2024
- 2023Importance Sparsification for Sinkhorn Algorithm11 Jun 2023
- 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transport6 May 2023
- 2022Hilbert Curve Projection Distance for Distribution Comparison30 May 2022
- 2022Efficient Approximation of Gromov-Wasserstein Distance Using Importance Sparsification26 May 2022