Abstract
Computing Optimal Transport (OT) is a fundamental task in machine learning, yet it remains computationally intensive for high-dimensional data. We present a new first-order, parallelizable algorithm for OT that achieves a state-of-the-art iteration complexity of $\tilde{O}(1/\epsilon)$ and total work of $\tilde{O}(n^2/\epsilon)$. By utilizing dual extrapolation and the concept of area-convexity, our method provides a robust alternative to existing second-order solvers and less efficient first-order methods.
Introduction
Optimal Transport (OT), or the Earth Mover's Distance, provides a powerful framework for comparing probability distributions by finding the minimum cost to transform one into another. Despite its theoretical elegance, the computational burden of OT has limited its application in large-scale machine learning and computer vision tasks. Traditional solvers often face a trade-off between parallelizability and convergence rates relative to the desired accuracy $\epsilon$.
The Landscape of OT Algorithms
Existing approaches to OT can be broadly categorized into simple first-order methods like Sinkhorn, which are easily parallelizable but scale poorly with accuracy ($\epsilon^{-2}$), and more complex methods like Positive Linear Programming or Matrix Scaling. While some second-order methods achieve better theoretical rates, they often require solving complex linear systems, hindering efficient parallel implementation.
As shown in the table above, the proposed work fills a critical gap by providing a first-order algorithm that is both parallelizable and achieves the optimal $\tilde{O}(n^2/\epsilon)$ total work complexity.
Methodology: Dual Extrapolation and Area-Convexity
The core of our approach is recasting the OT problem as a minimax game between dual variables (the "box") and the transport plan (the "simplex"). Standard mirror descent methods often struggle with the geometry of the dual space, where strongly-convex regularizers in the $\ell_\infty$ norm incur penalties that scale with the dimension $n$.
To overcome this, we leverage Area-Convexity, a concept recently applied to maximum flow problems. We employ a non-separable "Sherman regularizer" that couples primal and dual variables. This coupling allows for a dual extrapolation (extra-gradient) approach, enabling the algorithm to converge significantly faster than standard first-order methods without dimension-dependent overhead.
Empirical Results
We evaluated the algorithm on the MNIST dataset, specifically focusing on pairs of the digit '1'. Images were downsampled to $14 \times 14$ pixels, and Manhattan distance on a 2D grid was used as the cost metric.
Our results demonstrate that:
- Theoretical Efficiency: The algorithm achieves a parallel depth of $\tilde{O}(1/\epsilon)$, making it highly suitable for GPU acceleration.
- Performance: The optimized version of our algorithm outperformed APDAMD, a leading accelerated first-order method. While Sinkhorn remains efficient for low-precision applications, our method becomes superior as accuracy requirements increase.
Conclusion
By bypassing the traditional $\ell_\infty$ barrier through area-convexity, we provide a first-order parallel algorithm that matches the best known theoretical runtimes for Optimal Transport. This work bridges the gap between theoretical complexity and practical, parallelizable implementation, offering a scalable solution for high-dimensional OT problems. Future work will explore further bridging the gap between area-convex analysis and practical mirror prox implementations, as well as integrating kernel approximations for specific cost metrics.
Summary updated