Abstract
Optimal Transport (OT) is a fundamental framework for comparing probability distributions, yet its high computational cost often limits its application to large-scale datasets. We introduce PDASGD (Primal-Dual Accelerated Stochastic Gradient Descent), a stochastic algorithm that achieves a state-of-the-art computational complexity of $\tilde{O}(n^2/\epsilon)$. By integrating Katyusha acceleration and variance reduction within a semi-dual formulation, PDASGD provides a $\sqrt{n}$ speedup over traditional non-stochastic accelerated methods while maintaining superior numerical stability compared to the popular Sinkhorn algorithm.
Introduction
The discrete Optimal Transport problem between two distributions with $n$ atoms is essentially a linear program with $n^2$ variables. While entropy-regularized versions of the problem have improved efficiency, standard accelerated first-order methods typically scale at a rate of $\tilde{O}(n^{2.5}/\epsilon)$. The primary challenge in the field is developing algorithms that scale linearly with the number of variables ($n^2$) without sacrificing accuracy or numerical stability. PDASGD addresses this by framing the problem in a way that is optimized for stochastic optimization.
Methodology
The PDASGD framework is built upon three core pillars designed to exploit the mathematical structure of the OT problem:
- The Semi-Dual Formulation: The authors derive a "semi-dual" version of the OT problem. This transformation represents the objective as a finite sum of functions where smoothness parameters are independent of $n$, making it ideal for stochastic gradient descent.
- Katyusha Acceleration: The algorithm incorporates Katyusha momentum, a specialized acceleration technique for stochastic gradients that ensures faster convergence rates.
- Variance Reduction: To mitigate the noise inherent in stochastic estimates, PDASGD employs variance reduction. This ensures that as the algorithm approaches the optimal solution, gradient estimates become increasingly precise.
Following optimization, a standard rounding procedure is applied to ensure the resulting transportation plan strictly adheres to the marginal constraints of the original problem.
Theoretical Complexity and Results
PDASGD matches the best-known theoretical bounds for OT approximation. As shown in the comparison below, it achieves the $n^2/\epsilon$ complexity threshold, outperforming many established accelerated primal-dual methods that scale with $n^{2.5}$.
In empirical evaluations using the MNIST dataset and synthetic grey-scale images, PDASGD consistently required fewer arithmetic operations than competing methods like AAM, APDAGD, and PDASMD. Furthermore, while the Sinkhorn algorithm is widely used, its performance can be highly sensitive to data distribution. PDASGD demonstrated significantly tighter error bars in performance benchmarks, indicating higher reliability and stability across different initializations.
Key Insights
- Structural Exploitation: The research demonstrates that the choice of stochastic design and the exploitation of the semi-dual structure are more critical than the specific "Mirror Maps" used in previous state-of-the-art stochastic methods (like PDASMD).
- The Stochastic Advantage: By operating on the semi-dual, the algorithm computes the gradient of only one element function per iteration rather than the full gradient, facilitating the jump from $n^{2.5}$ to $n^2$ complexity.
Conclusion and Future Work
PDASGD represents a significant step forward in making Optimal Transport computationally feasible for large-scale applications. Future research directions include extending this framework to compute Wasserstein Barycenters (averages of multiple distributions), which currently face higher complexities of $\tilde{O}(mn^{2.5}/\epsilon)$. Additionally, the authors suggest applying PDASGD to Unbalanced, Multi-marginal, and Partial OT problems to further broaden its utility in the machine learning community.
Summary updated