A Combinatorial Algorithm for the Semi-Discrete Optimal Transport Problem
Pankaj K. Agarwal, Sharath Raghvendra, Pouyan Shirzadian, Keegan Yao
Abstract
Optimal Transport (OT, also known as the Wasserstein distance) is a popular metric for comparing probability distributions and has been successfully used in many machine-learning applications. In the semi-discrete 2 -Wasserstein problem, we wish to compute the cheapest way to transport all the mass from a continuous distribution µ to a discrete distribution ν in R d for d ≥ 1 , where the cost of transporting unit mass between points a and b is d ( a, b ) = ∥ a − b ∥ 2 . When both distributions are discrete, a simple combinatorial framework has been used to find the exact solution (see e.g. [Orlin, STOC 1988]). In this paper, we propose a combinatorial framework for the semi-discrete OT, which can be viewed as an extension of the combinatorial framework for the discrete OT but requires several new ideas. We present a new algorithm that given µ and ν in R 2 and a parameter ε > 0 , computes an ε -additive approximate semi-discrete transport plan in O ( n 4 log n log 1 ε ) time (in the worst case), where n is the support-size of the discrete distribution ν and we assume that the mass of µ inside a triangle can be computed in O (1) time. Our algorithm is significantly faster than the known algorithms, and unlike many numerical algorithms, it does not make any assumptions on the smoothness of µ . As an application of our algorithm, we describe a data structure to store a large discrete distribution µ (with support size N ) using O ( N ) space so that, given a query discrete distribution ν (with support size k ), an ε -additive approximate transport plan can be computed in O ( k 3 √ N log 1 ε ) time in 2 dimensions. Our algorithm and data structure extend to higher dimensions as well as to p -Wasserstein problem for any p ≥ 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 1029cf0f-c7fb-4bad-893d-c948f0c6e17aCited by top-tier papers3
- Unbalanced Optimal Total Variation Transport: A Theoretical Approach to Spatial Resource Allocation ProblemsNhan-Phu Chung, Jinhui Han, Bohan Li, Zehao LiNeurIPS 2025 · 1 citation
- Stochastic Optimization in Semi-Discrete Optimal Transport: Convergence Analysis and Minimax RateFerdinand Genans, Antoine Godichon-Baggioni, François-Xavier Vialard, Olivier WintenbergerNeurIPS 2025 · 1 citation
- Efficient Algorithms for Robust and Partial Semi-Discrete Optimal TransportPankaj K. Agarwal, Sharath Raghvendra, Pouyan Shirzadian, Keegan YaoNeurIPS 2025
Builds on7
- Ae-OT: a New Generative Model based on Extended Semi-discrete Optimal transportDongsheng An, Yang Guo, Na Lei, Zhongxuan Luo et al.ICLR 2020 · 68 citations
- Scalable Nearest Neighbor Search for Optimal TransportArturs Backurs, Yihe Dong, Piotr Indyk, Ilya P. Razenshteyn et al.ICML 2020 · 60 citations
- Minimax estimation of discontinuous optimal transport maps: The semi-discrete caseAram-Alexandre Pooladian, Vincent Divol, Jonathan Niles-WeedICML 2023 · 29 citations
- DPM-OT: A New Diffusion Probabilistic Model Based on Optimal TransportZezeng Li, Shenghao Li, Zhanpeng Wang, Na Lei et al.ICCV 2023 · 24 citations
- A deterministic near-linear time approximation scheme for geometric transportationEmily Fox, Jiashuai LuFOCS 2023 · 3 citations
Related papers
- Fast and Accurate Approximations of the Optimal Transport in Semi-Discrete and Discrete SettingsPankaj K. Agarwal, Sharath Raghvendra, Pouyan Shirzadian, Keegan YaoSODA 2024
- A Scalable Constant-Factor Approximation Algorithm for Wp Optimal TransportPankaj K. Agarwal, Oliver Chubet, Sharath Raghvendra, Keegan YaoICLR 2026
- A Combinatorial Algorithm for Approximating the Optimal Transport in the Parallel and MPC SettingsNathaniel Lahn, Sharath Raghvendra, Kaiyi ZhangNeurIPS 2023 · 16 citations
- Sparsity-Constrained Optimal TransportTianlin Liu, Joan Puigcerver, Mathieu BlondelICLR 2023 · 3 citations
- A Novel Skip Orthogonal List for Dynamic Optimal Transport ProblemXiaoyang Xu, Hu DingAAAI 2024 · 1 citation
