Abstract
We provide theoretical complexity analysis for new algorithms to compute the optimal transport (OT) distance between two discrete probability distributions, and demonstrate their favorable practical performance over state-of-art primal-dual algorithms and their capability in solving other problems in large-scale, such as the Wasserstein barycenter problem for multiple probability distributions. First, we introduce the accelerated primal-dual randomized coordinate descent (APDRCD) algorithm for computing the OT distance. We provide its complexity upper bound $\tilde{O}(n^{5/2}/\epsilon)$ where $n$ stands for the number of atoms of these probability measures and $\epsilon > 0$ is the desired accuracy. This complexity bound matches the best known complexities of primal-dual algorithms for the OT problems, including the adaptive primal-dual accelerated gradient descent (APDAGD) and the adaptive primal-dual accelerated mirror descent (APDAMD) algorithms. Then, we demonstrate the better performance of the APDRCD algorithm over the APDAGD and APDAMD algorithms through extensive experimental studies, and further improve its practical performance by proposing a greedy version of it, which we refer to as accelerated primal-dual greedy coordinate descent (APDGCD). Finally, we generalize the APDRCD and APDGCD algorithms to distributed algorithms for computing the Wasserstein barycenter for multiple probability distributions.
Introduction
Optimal Transport (OT) has emerged as a fundamental tool in machine learning for comparing probability distributions, with applications ranging from generative modeling (WGANs) to domain adaptation. Despite its power, the computational cost of OT remains a significant hurdle. Standard linear programming approaches scale cubically ($O(n^3)$), making them impractical for large-scale datasets. While entropic regularization and the Sinkhorn algorithm provided a breakthrough, they often struggle with numerical stability and scalability in decentralized settings. Recent research has focused on "accelerated primal-dual" methods, which have pushed theoretical complexity to $\tilde{O}(n^{2.5}/\epsilon)$. However, a gap remains between these theoretical bounds and the practical efficiency required for high-dimensional tasks.
Methodology: Accelerated Coordinate Descent
This paper introduces a new family of algorithms that bridge the gap between theory and practice by leveraging coordinate descent within an accelerated primal-dual framework.
APDRCD: Randomized Updates
The Accelerated Primal-Dual Randomized Coordinate Descent (APDRCD) algorithm shifts the focus from full gradient updates to single-coordinate updates. In high-dimensional OT problems, calculating a full gradient is computationally expensive. By randomly selecting and updating a single coordinate at each step and applying Nesterov-style acceleration, APDRCD maintains a competitive theoretical complexity of $\tilde{O}(n^{5/2}/\epsilon)$ while significantly reducing the per-iteration cost.
APDGCD: The Greedy Heuristic
To further enhance practical performance, the authors propose APDGCD (Accelerated Primal-Dual Greedy Coordinate Descent). Instead of random selection, this variant greedily chooses the coordinate with the largest gradient magnitude. This heuristic exploits the inherent sparsity and structure of OT problems, often leading to even faster convergence than its randomized counterpart.
Experimental Performance and Robustness
The proposed algorithms were rigorously tested against state-of-the-art methods like APDAGD and APDAMD using synthetic images, MNIST, and CIFAR-10 datasets.
One of the most significant advantages of the coordinate descent approach is its stability. As shown in the "Distance to Polytope" analysis, APDRCD converges to valid transport solutions more smoothly and rapidly than previous gradient-based methods. While older methods often exhibit "spiky" or unstable behavior, the coordinate-wise updates provide a more monotonic path toward the transportation polytope.
Furthermore, the algorithms demonstrate remarkable robustness to the regularization parameter ($\eta$). In practical applications, tuning $\eta$ can be difficult; APDRCD maintains consistent performance across a wide range of values, reaching lower objective values faster than APDAGD across different settings.
Extension to Wasserstein Barycenters
The authors extend these coordinate descent methods to the Wasserstein Barycenter problem, which involves finding the "average" distribution among a set of measures. The resulting algorithms are specifically designed for distributed networks, allowing agents to compute barycenters through local communication with neighbors, making them ideal for decentralized machine learning and sensor networks.
Conclusion
The introduction of APDRCD and APDGCD represents a significant step forward in computational optimal transport. By combining the theoretical guarantees of accelerated primal-dual methods with the practical efficiency of coordinate descent, these algorithms offer a robust and scalable solution for high-dimensional distribution comparison. Future work will focus on refining the theoretical bounds for the greedy variant and exploring the performance of these algorithms in dynamic, time-varying network environments.
Summary updated