Faster Computation of Entropic Optimal Transport via Stable Low Frequency Modes

Reda Chhaibi, Serge Gratton, Samuel VaiterarXiv 2025 · DOI

Abstract

The Sinkhorn algorithm is the standard method for solving Entropic Optimal Transport (EOT), but it suffers from severe ill-conditioning and exponential slowdown as the regularization parameter $\varepsilon$ approaches zero. This paper introduces SK-NR($\ell$), a hybrid algorithm that accelerates Sinkhorn by applying targeted Newton-Raphson steps along a small number of unstable, "low-frequency" eigendirections. By leveraging the empirical stability of these eigenvectors across different $\varepsilon$ scales, the method achieves order-of-magnitude speedups while maintaining the low per-iteration computational cost of the original algorithm.

The Bottleneck of Entropic Optimal Transport

Optimal Transport (OT) provides a powerful geometric framework for measuring distances between probability distributions, known as the Wasserstein distance. To make OT computationally feasible for large-scale datasets, practitioners typically use Entropic Optimal Transport (EOT). This formulation adds a regularization term scaled by $\varepsilon > 0$, allowing the problem to be solved via the highly parallelizable Sinkhorn-Knopp (SK) algorithm.

However, a significant challenge arises when high-accuracy transport maps are required. To recover exact transport couplings, $\varepsilon$ must be driven toward zero. In this "small-$\varepsilon$" regime, the SK algorithm experiences an exponential slowdown. While techniques like Nesterov acceleration or annealing have been proposed, the fundamental ill-conditioning of the EOT dual problem remains a primary bottleneck for high-precision tasks like single-cell trajectory inference.

Methods: The SK-NR($\ell$) Hybrid Approach

The authors propose SK-NR($\ell$), a mixed first/second-order solver designed to bypass the limitations of vanilla Sinkhorn.

1. The Spectral Insight

The core of the method lies in a Structure Theorem for the Hessian of the EOT dual objective. The authors demonstrate that the Hessian decomposes as $-\frac{1}{\varepsilon}(Id + \mathbb{K}_\varepsilon)$, where the spectrum of $\mathbb{K}_\varepsilon$ is confined to $[-1, 1]$. As $\varepsilon \to 0$, eigenvalues cluster at the boundaries, causing instability. Crucially, only a small number ($\ell$) of "low-frequency" eigendirections are responsible for the majority of the ill-conditioning.

2. Eigenvector Stability and Spectral Warm-Starting

A key observation of the paper is that while the eigenvalues of the operator change drastically as $\varepsilon$ shrinks, the eigenvectors remain remarkably stable. This stability allows for a "spectral warm-start": the algorithm computes the $\ell$ eigenvectors at a larger, computationally easy $\varepsilon$ and reuses them for the difficult, small-$\varepsilon$ regime.

Figure 3: Visualization of the first five eigenvectors for different datasets and $\varepsilon$ values. Note how the nodal domains (eigenvectors) remain stable even as $\varepsilon$ changes by a factor of four.

3. The Hybrid Algorithm

Instead of performing a full, expensive Newton method, SK-NR($\ell$) alternates standard Sinkhorn updates with a Newton-Raphson (NR) step restricted strictly to the $\ell$ unstable directions. This keeps the per-iteration cost at $O(nm + \ell^3)$, which is nearly identical to vanilla Sinkhorn when $\ell$ is small.

Key Results and Insights

The authors provide a rigorous proof of global convergence for the hybrid algorithm, ensuring that the restricted Newton steps do not disrupt the contraction properties of the Sinkhorn iterations.

Empirically, the method shows dramatic improvements. On real-world single-cell gene expression datasets (WOT), using just $\ell=30$ eigenvectors prevented the iteration explosion typical of vanilla Sinkhorn. As $\varepsilon$ was decreased, SK-NR($\ell$) converged in a fraction of the time required by standard methods.

Figure 1: Comparison of marginal error convergence between vanilla Sinkhorn (SK) and the proposed SK-NR algorithm. SK-NR achieves high precision in significantly fewer iterations.

Conclusion and Future Work

SK-NR($\ell$) offers a dimension-free acceleration for EOT, where the convergence rate is governed by the $(\ell+1)$-st eigenvalue of the system. By "knocking out" the dominant bottlenecks with targeted Newton steps, the algorithm achieves order-of-magnitude speedups.

While the method currently loses the easy auto-differentiability of unrolled Sinkhorn, it represents a major step forward for high-precision OT. Future work aims to rigorously prove the observed stability of the spectral projectors and adapt the NR steps for even greater hardware efficiency on GPUs.

Summary updated

BibTeX
@misc{chhaibi2025faster,
  author = {Reda Chhaibi and Serge Gratton and Samuel Vaiter},
  title = {{Faster Computation of Entropic Optimal Transport via Stable Low Frequency Modes}},
  year = {2025},
  eprint = {2506.14780},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.14780},
}
Figure