Sinkhorn–Knopp Fixed Point Iterations
- Sinkhorn–Knopp fixed point iterations are an alternating row and column normalization process that transforms strictly positive matrices into a unique doubly stochastic matrix.
- The algorithm converges robustly by contracting the Hilbert projective metric and strictly decreasing a convex divergence measure at each iteration.
- Recent research has refined finite-step termination, complexity bounds, and accelerated variants, expanding its applications in optimal transport, machine learning, and matrix balancing.
A Sinkhorn–Knopp fixed point iteration is an alternating row and column normalization process for positive matrices, central to matrix scaling problems and entropic optimal transport. Given a strictly positive matrix , the Sinkhorn–Knopp algorithm scales to a unique diagonally equivalent doubly stochastic matrix—i.e., a matrix with all rows and columns summing to one—provided such a scaling exists. The iterations underpin matrix balancing, optimal transport solvers, bipartite ranking models, and general operator scaling, and converge robustly under minimal positivity assumptions. Recent research has refined finite-step characterization, complexity bounds, acceleration schemes, and functional-analytic perspectives.
1. Algebraic Structure and Fixed-Point Scheme
Given , define the row- and column-sum operators: and construct the diagonal scaling matrices:
The iteration alternates between row and column scaling:
- Column scaling: $A^{(k+1)} = D_c(A^{(k)}) A^{(k)} \$ (if even)
- Row scaling: $A^{(k+1)} = A^{(k)} D_r(A^{(k)}) \$ (if 0 odd)
The process generates a sequence 1 converging entrywise to the unique doubly stochastic matrix 2 diagonally equivalent to 3, characterized by positive diagonal matrices 4, 5 with 6 and 7 (Nathanson, 2019, Nathanson, 2018).
2. Convergence Theory and Fixed-Point Characterization
The Sinkhorn–Knopp map is a contraction in the Hilbert projective metric and strictly decreases an associated convex divergence (such as Kullback–Leibler) at each step unless 8 is already doubly stochastic. Compactness of the positive orthant and strict monotonicity guarantee entrywise convergence.
The fixed-point equations for the limit 9 are: 0 or equivalently, there exist unique 1 such that
2
Proofs rely on convexity or projective-metric contraction arguments (Nathanson, 2019).
Table: Essential Operators in Sinkhorn–Knopp Iteration
| Notation | Definition | Action |
|---|---|---|
| 3 | 4 | Row-wise normalization |
| 5 | 6 | Column-wise normalization |
| 7 | Iterative scaling sequence | Alternating row/column scaling |
3. Special Finite-Terminating Families
Although the generic behavior is asymptotic convergence, Nathanson constructed, for every 8, an explicit two-parameter family of positive 9 matrices that are row-stochastic but not column-stochastic, and become exactly doubly stochastic after a single column normalization.
Construction (abridged): Given 0, 1, parameters 2, 3, 4, define 5, 6. Define 7 so rows 8 or 9 have 0; others have 1. Then 2 is row-stochastic and 3 is doubly stochastic.
For 4, 5, and choice 6, the matrix
7
becomes doubly stochastic after exactly one column normalization (Nathanson, 2019).
Determinant Zero: Every such 8 has 9. The existence of a nonsingular (invertible) example terminating in a single step remains open.
4. The General Case, Two-by-Two Matrices, and Uniqueness
For strictly positive 0 matrices, explicit closed-form solutions characterize the Sinkhorn limit. Every finite-step termination occurs in at most two steps. The 1 Sinkhorn limit is: 2 Finite-step one-step and two-step terminations are fully classified: up to permutation, the forms attaining a doubly stochastic matrix in exactly 1 or 2 steps are known (Nathanson, 2018). For 3, closed-form formulas are generally unavailable.
Any two different diagonal scalings 4, 5 yielding doubly stochastic matrices must coincide up to a scalar factor, implying uniqueness up to scaling (Nathanson, 2018).
5. Implications for Matrix Scaling, Applications, and Variants
Sinkhorn–Knopp iterations underpin matrix scaling to prescribed marginals, used in optimal transport, machine learning (notably through entropic OT and Schrödinger bridges), and network analysis. In economic complexity, the so-called Fitness–Complexity algorithm coincides, up to normalization, with Sinkhorn–Knopp—both are alternating diagonal scaling systems that minimize a logarithmic barrier potential under linear constraints (Mazzilli et al., 2022).
Constrained Sinkhorn–Knopp schemes extend to structured zero-patterns or entropic-regularized optimal transport with prescribed zeros, replacing positivity with Bregman-projected alternating scaling, yielding unique solutions even with infinite costs or infeasible marginals (Corless et al., 2024).
Recent advances have elucidated phase transitions in iterative complexity tied to combinatorial matrix density; when the normalized density exceeds 6, Sinkhorn–Knopp achieves 7 iteration count; otherwise, the count can scale as 8 in the worst case (He, 13 Jul 2025, He, 4 Apr 2026).
6. Accelerated and Operator Variants
The classical Sinkhorn–Knopp exhibits linear convergence, governed by the spectral gap of the balanced matrix; convergence can stall if this gap closes. Krylov subspace and Arnoldi-type accelerations, building on the nonlinear multiparameter eigenvalue formulation of the scaling problem, enable faster convergence for matrices with clustered singular values near 1 (Aristodemo et al., 2018).
Nonlinear overrelaxation of the SK projection—implemented as geodesic or Cholesky-based SOR schemes (notably in operator scaling for completely positive maps)—can dramatically enhance rates, provided numerical stability is ensured via on-the-fly scaling (Eisenmann et al., 13 Mar 2026, 1711.01851). In ill-conditioned settings, care must be taken to avoid instabilities from direct scaling; empirically, the stabilized schemes reach higher accuracies and achieve speedups for both matrix and operator settings.
7. Concluding Synthesis and Open Questions
Sinkhorn–Knopp fixed point algorithms provide a canonical, robust, and convergent procedure for rescaling positive matrices to prescribed row and column sums—foundational in many theoretical and applied disciplines. Their convergence is generally linear, but families exist exhibiting finite-step termination, especially in structured low-rank or degenerate settings, but only when the determinants vanish. The existence and explicit construction of invertible matrices with finite-step termination remains open beyond trivial or low-dimensional examples (Nathanson, 2019). Recent advances have connected iteration complexity to “bulk” matrix density, clarified phase transitions, and introduced numerically robust acceleration methods, establishing a sharp boundary between the regimes of rapid and slow convergence.
Key references:
- "Matrix scaling limits in finitely many iterations" (Nathanson, 2019)
- "Alternate minimization and doubly stochastic matrices" (Nathanson, 2018)
- "Equivalence between the Fitness-Complexity and the Sinkhorn-Knopp algorithms" (Mazzilli et al., 2022)
- "Phase transition of the Sinkhorn-Knopp algorithm" (He, 13 Jul 2025)
- "On the Efficiency of Sinkhorn-Knopp for Entropically Regularized Optimal Transport" (He, 4 Apr 2026)
- "Accelerating the Sinkhorn-Knopp iteration by Arnoldi-type methods" (Aristodemo et al., 2018)
- "Numerically stable variants of overrelaxation for operator Sinkhorn iteration" (Eisenmann et al., 13 Mar 2026)