On Efficient Optimal Transport: An Analysis of Greedy and Accelerated Mirror Descent Algorithms

Tianyi Lin, Nhat Ho, Michael I. Jordan

Abstract

Optimal Transport (OT) is a powerful framework for measuring distances between probability distributions, with applications spanning from generative modeling to document clustering. However, the computational complexity of standard linear programming approaches is prohibitive for large-scale machine learning. This paper provides a rigorous theoretical analysis of entropic regularized OT algorithms. We demonstrate that the greedy Greenkhorn algorithm matches the theoretical complexity of the classic Sinkhorn algorithm—$\tilde{O}(n^2\epsilon^{-2})$—while often outperforming it in practice. Additionally, we introduce APDAMD, an adaptive primal-dual accelerated mirror descent algorithm that offers superior performance in high-precision regimes.

Introduction

The "standard" approach to computing OT involves entropic regularization, which yields the widely-used Sinkhorn algorithm. While practitioners often prefer the greedy variant, Greenkhorn, its theoretical complexity was previously believed to be inferior. Moreover, existing accelerated methods often suffered from theoretical gaps regarding their scaling with the number of data points ($n$). This work addresses these gaps by providing sharper complexity bounds and a new, robust accelerated algorithm.

Methods and Algorithmic Framework

The research focuses on two primary algorithmic strategies for solving the regularized OT problem:

1. Greenkhorn Analysis

Greenkhorn is a greedy coordinate descent algorithm. Unlike Sinkhorn, which updates all rows and columns simultaneously, Greenkhorn selectively updates the single row or column furthest from the target marginals. The authors utilize a novel proof technique involving a new upper bound for the dual optimal solution in terms of the $\ell_\infty$-norm, improving the complexity bound from $\tilde{O}(n^2\epsilon^{-3})$ to $\tilde{O}(n^2\epsilon^{-2})$.

Algorithm 2: Approximating Optimal Transport using the Greenkhorn algorithm and a rounding procedure.

2. APDAMD (Adaptive Primal-Dual Accelerated Mirror Descent)

By recognizing that the dual objective of the regularized OT problem is smooth with respect to the $\ell_\infty$-norm (rather than the standard $\ell_2$-norm), the authors developed APDAMD. This algorithm incorporates an efficient line-search strategy and accelerated mirror descent to achieve a complexity of $\tilde{O}(n^2\sqrt{\delta}\epsilon^{-1})$. This $1/\epsilon$ dependence makes it significantly faster for high-precision applications compared to the $1/\epsilon^2$ dependence of Sinkhorn-based methods.

Key Insights

  • The Efficiency of Greed: Greenkhorn's success stems from its ability to focus computation on the most "erroneous" parts of the transport plan, avoiding redundant updates on nearly optimal sections.
  • The Role of the $\ell_\infty$-norm: A critical contribution is the realization that the dual OT problem exhibits higher smoothness when measured via the $\ell_\infty$-norm. This insight is the foundation for both the improved Greenkhorn bounds and the development of APDAMD.
  • Correcting Prior Complexity Claims: The authors identified that previous claims for the APDAGD algorithm ignored a hidden dependence on the dimension $n$, proving the actual complexity is $O(n^{2.5}/\epsilon)$ rather than $O(n^2/\epsilon^2)$.

Experimental Results

The algorithms were evaluated on synthetic images and the MNIST dataset.

  • Greenkhorn vs. Sinkhorn: Greenkhorn consistently required fewer iterations across various datasets, validating the improved theoretical bounds.
  • APDAMD Performance: APDAMD proved more robust and faster than previous accelerated methods like APDAGD and GCPB, particularly as the regularization parameter varied. Its advantage is most pronounced when high precision is required.

Limitations and Future Directions

While APDAMD offers significant speedups, its complexity depends on a parameter $\delta$ (the inverse of the strong convexity module), which can scale with $n$ in the worst case. Future work includes investigating if this dependence can be reduced. Additionally, extending these accelerated techniques to compute Wasserstein barycenters—the average of multiple measures—remains an important open challenge.

Summary updated

BibTeX
@inproceedings{lin2019efficient,
  author = {Tianyi Lin and Nhat Ho and Michael I. Jordan},
  title = {{On Efficient Optimal Transport: An Analysis of Greedy and Accelerated Mirror Descent Algorithms}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure