Papers
Topics
Authors
Recent
Search
2000 character limit reached

Sinkhorn–Knopp Fixed Point Iterations

Updated 10 June 2026
  • 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 n×nn\times n matrix AA, the Sinkhorn–Knopp algorithm scales AA 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 AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}, define the row- and column-sum operators: Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij} and construct the diagonal scaling matrices: Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)

Dc(A)=diag(c1(A),...,cn(A)), cj(A)=1/Colj(A)D_c(A) = \mathrm{diag}(c_1(A), ..., c_n(A)), \ c_j(A) = 1/\mathrm{Col}_j(A)

The iteration alternates between row and column scaling:

  • Column scaling: $A^{(k+1)} = D_c(A^{(k)}) A^{(k)} \$ (if kk even)
  • Row scaling: $A^{(k+1)} = A^{(k)} D_r(A^{(k)}) \$ (if AA0 odd)

The process generates a sequence AA1 converging entrywise to the unique doubly stochastic matrix AA2 diagonally equivalent to AA3, characterized by positive diagonal matrices AA4, AA5 with AA6 and AA7 (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 AA8 is already doubly stochastic. Compactness of the positive orthant and strict monotonicity guarantee entrywise convergence.

The fixed-point equations for the limit AA9 are: AA0 or equivalently, there exist unique AA1 such that

AA2

Proofs rely on convexity or projective-metric contraction arguments (Nathanson, 2019).

Table: Essential Operators in Sinkhorn–Knopp Iteration

Notation Definition Action
AA3 AA4 Row-wise normalization
AA5 AA6 Column-wise normalization
AA7 Iterative scaling sequence Alternating row/column scaling

3. Special Finite-Terminating Families

Although the generic behavior is asymptotic convergence, Nathanson constructed, for every AA8, an explicit two-parameter family of positive AA9 matrices that are row-stochastic but not column-stochastic, and become exactly doubly stochastic after a single column normalization.

Construction (abridged): Given AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}0, AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}1, parameters AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}2, AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}3, AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}4, define AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}5, AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}6. Define AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}7 so rows AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}8 or AR>0n×nA \in \mathbb{R}^{n \times n}_{>0}9 have Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}0; others have Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}1. Then Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}2 is row-stochastic and Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}3 is doubly stochastic.

For Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}4, Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}5, and choice Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}6, the matrix

Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}7

becomes doubly stochastic after exactly one column normalization (Nathanson, 2019).

Determinant Zero: Every such Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}8 has Rowi(A)=j=1naij,Colj(A)=i=1naij\mathrm{Row}_i(A) = \sum_{j=1}^n a_{ij}, \quad \mathrm{Col}_j(A) = \sum_{i=1}^n a_{ij}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 Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)0 matrices, explicit closed-form solutions characterize the Sinkhorn limit. Every finite-step termination occurs in at most two steps. The Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)1 Sinkhorn limit is: Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)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 Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)3, closed-form formulas are generally unavailable.

Any two different diagonal scalings Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)4, Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)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 Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)6, Sinkhorn–Knopp achieves Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)7 iteration count; otherwise, the count can scale as Dr(A)=diag(r1(A),...,rn(A)), ri(A)=1/Rowi(A)D_r(A) = \mathrm{diag}(r_1(A), ..., r_n(A)), \ r_i(A) = 1/\mathrm{Row}_i(A)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:

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Sinkhorn–Knopp Fixed Point Iterations.