Abstract: The optimal transport (OT) problem is a classical optimization problem having the form of linear programming. Machine learning applications put forward new computational challenges in its solution. In particular, the OT problem defines a distance between real-world objects such as images, videos, texts, etc., modeled as probability distributions. In this case, the large dimension of the corresponding optimization problem does not allow applying classical methods such as network simplex or interior-point methods. This challenge was overcome by introducing entropic regularization and using the efficient Sinkhorn's algorithm to solve the regularized problem. A flexible alternative is the accelerated primal-dual gradient method, which can use any strongly-convex regularization. We discuss these algorithms and other related problems such as approximating the Wasserstein barycenter together with efficient algorithms for its solution, including decentralized distributed algorithms.
The Computational Challenge of Optimal Transport
Optimal Transport (OT) has emerged as a powerful framework for measuring distances between probability distributions, with applications ranging from image processing to natural language processing. Historically, OT was formulated as a Linear Programming (LP) problem. However, as datasets grow into the millions of points ($n$), classical LP solvers like the simplex method or interior-point methods become prohibitively expensive, typically scaling at $O(n^3)$ or $O(n^{2.5})$.
Modern machine learning requires $\epsilon$-approximate solutions that are computationally efficient, numerically stable, and capable of running on distributed hardware. This paper surveys the algorithmic landscape that has transformed OT from a theoretical curiosity into a scalable tool.
Regularization and Acceleration
The primary breakthrough in large-scale OT was the introduction of entropic regularization. By adding a small entropy term to the objective, the problem becomes strongly convex, allowing for the use of Sinkhorn’s Algorithm. This method is highly parallelizable and GPU-friendly, achieving a complexity of $\widetilde{O}(n^2/\epsilon^2)$.
To further improve convergence, especially when high precision is required, the paper discusses Accelerated First-Order Methods such as Accelerated Gradient Descent (AGD) and Accelerated Alternating Minimization (AAM). These methods leverage Nesterov-style acceleration to improve the theoretical complexity to $\widetilde{O}(n^{2.5}/\epsilon)$, providing a faster alternative to Sinkhorn for small $\epsilon$.
Comparative Complexity Analysis
The following tables summarize the computational landscape for both regularized and non-regularized OT methods. While classical methods offer exact solutions, they often suffer from high complexity or lack practical, efficient subroutines for large-scale implementation.
In contrast, non-regularized methods, while theoretically interesting, often face an "implementability gap." Many algorithms with superior theoretical bounds lack the practical subroutines (like efficient Laplacian solvers) necessary to compete with the simplicity of Sinkhorn on modern hardware.
Beyond Pairwise OT: Barycenters and Decentralization
The survey extends these techniques to the problem of finding the Wasserstein Barycenter—the "average" distribution of a set of $m$ measures. The Iterative Bregman Projections (IBP) algorithm, an extension of Sinkhorn, scales linearly with $m$, making it feasible to average hundreds of distributions.
Furthermore, for massive datasets distributed across networks, the paper highlights decentralized algorithms. These methods allow nodes to reach a consensus on the barycenter using only local communication, effectively avoiding the bottleneck of a central coordinator.
Conclusion and Future Directions
While entropic regularization and acceleration have revolutionized the field, challenges remain. The precision-speed trade-off is inherent; decreasing the regularization parameter $\gamma$ to improve accuracy leads to numerical instability, often requiring implementations in the log-domain. Future work continues to bridge the gap between theoretical complexity and practical, hardware-optimized implementations for even larger-scale applications.
Summary updated