Lune

CVPR2022Top-tier venue

Computing Wasserstein-pp Distance Between Images with Linear Cost

Yidong Chen, Chen Li, Zhonghua Lu

Abstract

When the images are formulated as discrete measures, computing Wasserstein-p distance between them is challenging due to the complexity of solving the corresponding Kantorovich's problem. In this paper, we propose a novel algorithm to compute the Wasserstein-p distance between discrete measures by restricting the optimal transport (OT) problem on a subset. First, we define the restricted OT problem and prove the solution of the restricted problem converges to Kantorovich's OT solution. Second, we propose the SparseSinkhorn algorithm for the restricted problem and provide a multi-scale algorithm to estimate the subset. Finally, we implement the proposed algorithm on CUDA and illustrate the linear computational cost in terms of time and memory requirements. We compute Wasserstein-p distance, estimate the transport mapping, and transfer color between color images with size ranges from <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">64×6464\times 64</tex> to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1920×12001920\times 1200</tex> . (Our code is available at https://github.com/ucascnic/CudaOT)

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.

2 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

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. GALOPA: Graph Transport Learning with Optimal Plan AlignmentYejiang Wang, Yuhai Zhao, Daniel Zhengkui Wang, Ling LiNeurIPS 2023 · 15 citations
  2. A Memory-Efficient Hierarchical Algorithm for Large-scale Optimal Transport ProblemsWenzhou Xia, Ya-Nan Zhu, Jingwei Liang, Xiaoqun ZhangICLR 2026

Related papers

  1. Sparsity-Constrained Optimal TransportTianlin Liu, Joan Puigcerver, Mathieu BlondelICLR 2023 · 3 citations
  2. A Scalable Constant-Factor Approximation Algorithm for Wp Optimal TransportPankaj K. Agarwal, Oliver Chubet, Sharath Raghvendra, Keegan YaoICLR 2026
  3. A Combinatorial Algorithm for the Semi-Discrete Optimal Transport ProblemPankaj K. Agarwal, Sharath Raghvendra, Pouyan Shirzadian, Keegan YaoNeurIPS 2024 · 4 citations
  4. Fast and Accurate Approximations of the Optimal Transport in Semi-Discrete and Discrete SettingsPankaj K. Agarwal, Sharath Raghvendra, Pouyan Shirzadian, Keegan YaoSODA 2024
  5. Fast Optimal Transport through Sliced Generalized Wasserstein GeodesicsGuillaume Mahey, Laetitia Chapel, Gilles Gasso, Clément Bonet et al.NeurIPS 2023 · 18 citations
Dusk over the sea between two cliffs drawn in fine vertical lines