TL;DR
This paper introduces a new first-order optimization algorithm for computing Optimal Transport (OT) that achieves a state-of-the-art runtime of $\widetilde{O}(n^2/\varepsilon)$. By combining entropy regularization with an extragradient minimax framework and adaptive learning rates, the authors bridge the gap between theoretical efficiency and practical, implementable performance.
What Problem Does This Paper Address?
Optimal Transport (OT)—often referred to as the Earth Mover’s Distance—is a powerful tool for measuring the distance between probability distributions. It has become a staple in machine learning (e.g., for training GANs), computer graphics, and transfer learning. However, computing it is notoriously expensive.
Standard linear programming approaches scale at $O(n^{2.5})$, which is too slow for high-dimensional data. The popular Sinkhorn algorithm improved this to a near-linear $O(n^2)$ scaling in terms of dimension, but it scales poorly with accuracy ($\varepsilon$), requiring $O(1/\varepsilon^2)$ iterations. While some recent "theoretical" algorithms achieved the desired $O(1/\varepsilon)$ scaling, they often rely on complex "black-box" subroutines that are impractical to implement. The challenge addressed here is creating an algorithm that is both theoretically optimal ($O(n^2/\varepsilon)$) and practically efficient.
Methods
The authors propose an entropy-regularized extragradient method. Their approach follows a few key steps:
- $\ell_1$-Penalty Reformulation: They start by converting the constrained OT problem into an $\ell_1$-penalized version. This allows them to handle the marginal constraints more flexibly.
- Bilinear Minimax Framework: They reformulate the penalized problem into a bilinear minimax (saddle-point) problem. Essentially, they treat the computation as a game between two sets of probability distributions.
- Extragradient Updates: Instead of standard gradient descent-ascent, they use an "extragradient" method. This involves taking a "midpoint" step to calculate a gradient, then using that gradient to make the actual update. This "look-ahead" mechanism is known to stabilize and accelerate convergence in minimax problems.
- Adaptive Learning Rates: A crucial innovation is the use of learning rates that adapt to the row and column marginals ($r_i$ and $c_j$). This adaptation is the key to achieving the improved $1/\varepsilon$ complexity.
- Adjustment Step: To prevent numerical instability (where probability ratios become exponentially large), they include a projection-like adjustment step that keeps the iterates within a well-behaved region of the probability simplex.
Datasets
The algorithm was evaluated on three types of problem instances:
- "Synthetic": $m \times m$ images with randomly placed square foregrounds.
- "MNIST": Real-world handwritten digit images from the MNIST dataset, downsampled for testing.
- "Point Clouds": Pairs of point clouds generated from 2D Gaussian distributions, where the cost matrix is defined by Euclidean distance.
Key Insights and Ideas
- Closing the Theory-Practice Gap: The paper highlights a significant mismatch in previous literature: algorithms with the best theoretical runtimes were often the slowest (or impossible to run) in practice. This work aims for the "sweet spot" of being both theoretically sound and numerically competitive.
- Adaptive Learning Rates are Essential: The authors show that fixing learning rates across all dimensions leads to slow convergence when marginals are non-uniform. By scaling the learning rate inversely with the marginal sums, they ensure that "heavy" parts of the distribution don't dominate the optimization process.
- Minimax Stability: Using extragradient steps with entropy regularization provides a smoother optimization landscape, helping the algorithm avoid the oscillations common in standard first-order minimax solvers.
Key Results
The primary result is the theoretical guarantee: the algorithm reaches $\varepsilon$-accuracy in $\widetilde{O}(n^2/\varepsilon)$ time.
As shown in the comparison table below, this work is one of the few to achieve the optimal $n^2/\varepsilon$ runtime while remaining a first-order, implementable method.
In numerical experiments, the proposed method consistently outperformed the classical Sinkhorn and Greenkhorn algorithms, particularly when high accuracy (small $\varepsilon$) was required. It also showed superior performance compared to other recent first-order methods like Dual Extrapolation in most settings.
Limitations and Future Work
- Hyperparameter Sensitivity: While the algorithm is efficient, it still requires tuning several hyperparameters (like $C_1, C_2, C_3$). The authors suggest that developing a "parameter-free" version would be a valuable next step.
- Structural Exploitation: The current method treats the cost matrix $W$ as a general matrix. Future work could explore how to leverage low-dimensional structures (like low-rank cost matrices) to achieve even faster sub-quadratic runtimes.
- Generalization: The authors are interested in whether this entropy-regularized extragradient framework can be extended to a broader class of linear programs beyond Optimal Transport.
Summary updated