Abstract
Optimal Transport (OT) is a powerful metric for comparing distributions but suffers from high computational costs. This paper presents three novel approximation algorithms that significantly improve theoretical runtime guarantees. Notably, the authors achieve the first semi-discrete OT algorithm with a runtime polynomial in $\log(1/\epsilon)$, breaking the traditional efficiency barriers for high-accuracy transport plans. By integrating cost-scaling, weighted Voronoi diagrams, and hierarchical graph structures, these methods provide near-linear time solutions for both semi-discrete and discrete OT settings.
Introduction
Optimal Transport (OT), or the "Earth Mover’s Distance," measures the minimum cost required to transform one probability distribution into another. While widely used in machine learning, computer vision, and statistics, its computational complexity has limited its application to large-scale problems.
This research addresses two critical variants of OT:
- Semi-Discrete OT: Transporting mass from a continuous density function to a discrete set of points.
- Discrete OT: Transporting mass between two discrete point sets.
Historically, algorithms for these problems faced a steep trade-off between speed and precision. High-accuracy solutions often required runtimes that scaled poorly with the desired error tolerance ($\epsilon$). This paper introduces "near-linear" time algorithms that maintain efficiency even under high-precision requirements.
Algorithmic Frameworks
The authors propose three distinct strategies to tackle the complexity of OT.
1. Cost-Scaling and Voronoi Compression
For semi-discrete OT, the paper utilizes a "cost-scaling" approach. The problem is solved iteratively across multiple precision levels. At each scale $\delta$, the continuous distribution is partitioned into regions defined by weighted Voronoi diagrams. This geometric structure allows the authors to "compress" the continuous problem into a manageable discrete OT instance.
As shown in Figure 1, the intersection of these diagrams creates regions (like the shaded area $r$ in panel b) that represent potential transport edges. By representing an exponential number of edges through a small number of geometric regions, the algorithm achieves a bit-complexity that is polynomial in the number of bits of accuracy required.
2. Global Sampling via WSPD
To achieve a $(1+\epsilon)$-relative approximation, the authors develop a sampling strategy based on Well-Separated Pair Decomposition (WSPD). By discretizing the continuous space into hypercubes according to the WSPD, the continuous problem is reduced to a discrete instance that can be solved in near-linear time.
3. Boosting via Multiplicative Weights (MWU)
In the discrete setting, the authors employ a "boosting" framework. They construct a hierarchical graph (a spanner) to approximate Euclidean distances. A greedy initial solution is then refined using the Multiplicative Weights Update (MWU) method, allowing the algorithm to converge rapidly to a $(1+\epsilon)$ approximation.
Key Insights
- Logarithmic Bit-Complexity: A major breakthrough is proving that semi-discrete OT can be solved with dual weights requiring only $O(\log 1/\epsilon)$ bits of accuracy. This confirms that OT can be solved in time polynomial in the bit-complexity.
- Geometric Compactness: The use of weighted Voronoi cells allows for a compact representation of the transport plan, effectively bypassing the need to explicitly handle every potential edge in the transport graph.
- Spanners for Flow: The discrete algorithm demonstrates that a randomized hierarchical spanner provides sufficient structural information for the MWU framework to find near-optimal flows efficiently.
Key Results
The paper establishes several landmark theoretical bounds:
- High-Accuracy Semi-Discrete OT: An algorithm finding an $\epsilon$-close plan in $n^{O(d)} \log(\Delta/\epsilon)$ time. This is the first result where the dependence on accuracy is logarithmic.
- Near-Linear Semi-Discrete OT: A $(1+\epsilon)$-approximation achieved in $n \epsilon^{-O(d)} \text{poly log}(n)$ time, making it feasible for massive point sets.
- Near-Linear Discrete OT: A $(1+\epsilon)$-approximation in $n \epsilon^{-O(d)} \text{poly log}(n)$ time, improving upon previous deterministic benchmarks.
Limitations and Future Work
Despite these advancements, the "curse of dimensionality" remains a challenge; the dimension $d$ appears in the exponent of the runtime ($O(d)$). While highly effective for 2D and 3D applications in graphics and vision, these methods may struggle with the high-dimensional features common in deep learning. Additionally, the semi-discrete algorithms assume an "oracle" for computing mass within geometric regions, which may be a bottleneck for complex distributions. Future research aims to derandomize the discrete algorithms and further optimize the dependence on $\epsilon$.
Summary updated