Lune

SODA2026Top-tier venue

Phase transition of the Sinkhorn-Knopp algorithm

Kun He

Abstract

The matrix scaling problem, particularly the Sinkhorn-Knopp algorithm, has been studied for over 60 years. In practice, the algorithm often yields high-quality approximations within just a few iterations. Theoretically, however, the best known upper bound on its iteration count scales polynomially with the accuracy parameter ๐œ€, placing it in the class of pseudopolynomial-time approximation algorithms. Meanwhile, the lower-bound landscape remains largely unexplored. Two fundamental questions persist: what accounts for the algorithm's strong empirical performance, and can a tight bound on its iteration count be established?

For an ๐‘› ร— ๐‘› matrix, its normalized version is obtained by dividing each entry by the largest entry in the matrix. We say that a normalized matrix has a density ๐›พ if there exists a constant ๐œŒ > 0 such that one row or column has exactly โŒˆ๐›พ๐‘›โŒ‰ entries with values at least ๐œŒ, and every other row and column has at least โŒˆ๐›พ๐‘›โŒ‰ such entries.

For the upper bound, we show that the Sinkhorn-Knopp algorithm produces a nearly doubly stochastic matrix in ๐‘‚ (log ๐‘›log ๐œ€) iterations and ร• (๐‘› 2 ) time for all nonnegative square matrices whose normalized version has a density ๐›พ > 1/2. Such matrices cover both the algorithm's principal practical inputs and its typical theoretical regime. This ร• (๐‘› 2 ) runtime is optimal, as merely reading the input requires ฮฉ(๐‘› 2 ) time. In fact, the algorithm is optimal for nearly all nonnegative matrices with entries bounded above by a constant, demonstrating its practical efficiency.

For the lower bound, we establish a tight bound of ฮฉ โˆš ๐‘›/๐œ€ iterations for positive matrices under the โ„“ 2 -norm error measure. Moreover, for every ๐›พ < 1/2, there exists a matrix with density ๐›พ for which the Sinkhorn-Knopp algorithm requires ฮฉ โˆš ๐‘›/๐œ€ iterations. In summary, our results reveal a sharp phase transition in the Sinkhorn-Knopp algorithm at the density threshold ๐›พ = 1/2. Moreover, we demonstrate that convergence improves as matrix density increases, thereby accounting for prior observations in entropically regularised optimal transport that larger inverse temperature slows convergence.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper ยท related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Accelerating Sinkhorn algorithm with sparse Newton iterationsXun Tang, Michael Shavlovsky, Holakou Rahmanian, Elisa Tardini et al.ICLR 2024 ยท 11 citations
  2. On Unbalanced Optimal Transport: An Analysis of Sinkhorn AlgorithmKhiem Pham, Khang Le, Nhat Ho, Tung Pham et al.ICML 2020 ยท 104 citations
  3. Low-Rank Sinkhorn FactorizationMeyer Scetbon, Marco Cuturi, Gabriel PeyrรฉICML 2021 ยท 76 citations
  4. A fast and accurate splitting method for optimal transport: analysis and implementationVien V. Mai, Jacob Lindbรคck, Mikael JohanssonICLR 2022 ยท 15 citations
  5. Breaking the Barrier of Self-Concordant Barriers: Faster Interior Point Methods for M-MatricesAdrian VladuSTOC 2025
Dusk over the sea between two cliffs drawn in fine vertical lines