English

PDOT: a Practical Primal-Dual Algorithm and a GPU-Based Solver for Optimal Transport

Optimization and Control 2024-07-30 v1

Abstract

In this paper, we propose a practical primal-dual algorithm with theoretical guarantees and develop a GPU-based solver, which we dub PDOT, for solving large-scale optimal transport problems. Compared to Sinkhorn algorithm or classic LP algorithms, PDOT can achieve high-accuracy solution while efficiently taking advantage of modern computing architecture, i.e., GPUs. On the theoretical side, we show that PDOT has a data-independent O~(mn(m+n)1.5log(1ϵ))\widetilde O(mn(m+n)^{1.5}\log(\frac{1}{\epsilon})) local flop complexity where ϵ\epsilon is the desired accuracy, and mm and nn are the dimension of the original and target distribution, respectively. We further present a data-dependent O~(mn(m+n)3.5Δ+mn(m+n)1.5log(1ϵ))\widetilde O(mn(m+n)^{3.5}\Delta + mn(m+n)^{1.5}\log(\frac{1}{\epsilon})) global flop complexity of PDOT, where Δ\Delta is the precision of the data. On the numerical side, we present PDOT, an open-source GPU solver based on the proposed algorithm. Our extensive numerical experiments consistently demonstrate the well balance of PDOT in computing efficiency and accuracy of the solution, compared to Gurobi and Sinkhorn algorithms.

Keywords

Cite

@article{arxiv.2407.19689,
  title  = {PDOT: a Practical Primal-Dual Algorithm and a GPU-Based Solver for Optimal Transport},
  author = {Haihao Lu and Jinwen Yang},
  journal= {arXiv preprint arXiv:2407.19689},
  year   = {2024}
}
R2 v1 2026-06-28T17:56:16.307Z