Sinkhorn–Knopp Algorithm
- The Sinkhorn–Knopp algorithm is an iterative method that alternates row and column normalization to transform a matrix into a doubly stochastic one.
- It leverages the geometric and combinatorial properties of the Birkhoff polytope, ensuring unique convergence under proper conditions.
- Recent advancements use acceleration techniques like overrelaxation and Krylov subspace methods to improve convergence, especially in low-entropy settings.
The Birkhoff polytope is the convex polytope of doubly stochastic matrices. It arises as the feasible region for matrix scaling and entropic optimal transport, and serves as the canonical set of couplings in discrete transport problems. The vertices of the Birkhoff polytope are precisely the permutation matrices, and its geometry underpins a variety of algorithms—including the Sinkhorn–Knopp procedure—for matrix balancing, optimal transport, and more. The Birkhoff polytope’s structure, its connections to combinatorics, and its algorithmic role in optimization are central in both theoretical and applied domains.
1. Definition and Polytope Structure
The Birkhoff polytope is the set of all doubly stochastic matrices: where is the all-ones column vector. A matrix has nonnegative entries, and each row and column sums to one.
The Birkhoff–von Neumann theorem asserts that is the convex hull of the set of permutation matrices. Therefore, every doubly stochastic matrix can be expressed as a convex combination of permutation matrices.
2. Geometric and Combinatorial Properties
The Birkhoff polytope is a -dimensional convex polytope with vertices, corresponding to the possible permutation matrices of size (Modin, 2023). Its faces, edges, and extreme points encode combinatorial structures such as matchings and assignments. The polytope is centrally symmetric and highly structured, with tight control over marginal constraints.
From a combinatorial optimization perspective, serves as the feasible region for the assignment problem and the max-weight perfect matching problem. Its facial structure is exploited by algorithms in combinatorial optimization and by theoretical analyses using polytope theory.
3. Birkhoff Polytope as the Feasible Set in Matrix Scaling
The fundamental problem of matrix scaling seeks diagonal matrices , such that is doubly stochastic, i.e., for a nonnegative with total support (Mazzilli et al., 2022). The Sinkhorn–Knopp algorithm alternately normalizes rows and columns, iteratively projecting onto the affine constraints defined by the Birkhoff polytope. These iterations converge to a unique point in closest to in relative entropy (KL divergence), provided the initial is positive or supported appropriately.
Scaling matrices to achieve prescribed marginals is therefore equivalent to projecting onto in an appropriate metric geometry (typically KL/Bregman). This characterization is central to discrete optimal transport, preconditioning, and normalization schemes.
4. Optimal Transport and Entropic Regularization
Discrete optimal transport problems: seek couplings in when . Entropic regularization smooths the classical transport problem: This remains a projection onto the Birkhoff polytope in the sense of KL geometry. The optimal is of form , with the Gibbs kernel and chosen such that (Cuturi, 2013). The solution corresponds to a point in the polytope closest to (or the cost-encoded matrix) with margins enforced.
5. Algorithmic Approaches: Sinkhorn–Knopp and Acceleration
The iterative matrix scaling algorithms operate as alternating projections onto the row and column sums defining . The Sinkhorn–Knopp algorithm applies the updates: resulting in exponential convergence to the balanced solution in (Ali et al., 2024).
Recent advances involve reformulating the scaling problem as a nonlinear multiparameter eigenvalue problem on the polytope, and using Arnoldi/Krylov subspace methods for accelerated computation in regimes where the Birkhoff polytope’s spectral structure induces slow convergence by basic alternation (Aristodemo et al., 2018). Overrelaxation techniques further leverage the geometric structure of to reduce iteration count in low-entropy settings (1711.01851).
6. Complexity, Phase Transitions, and Structural Limits
For a square matrix with normalized density , the Sinkhorn–Knopp algorithm achieves nearly doubly-stochastic scaling in iterations and total time for matrices whose normalized version is -dense with . The Birkhoff polytope’s intrinsic geometry enables this optimal complexity; matrices with density cause a sharp phase transition to polynomial iteration bounds (He, 13 Jul 2025). The exponential contraction in the polytope’s projective geometry underpins efficient balancing in practical settings.
7. Extensions: Quantum, Constrained, and Stochastic Variants
Generalizations of the Birkhoff polytope appear in quantum circuit decomposition (unitary matrices scaled to unit line-sums over ), constrained optimal transport with prescribed zero-entries in the plan (faces or slices of ; see (Corless et al., 2024)), and in mirror-descent interpretations where projection onto multiple marginal polytopes recovers higher-order assignment problems (Mishchenko, 2019).
The Birkhoff polytope’s rich geometric, combinatorial, and algorithmic structure establishes it as a foundational object in the theory and practice of matrix balancing, optimal transport, and high-dimensional scaling. Its role is central in convergence analysis, algorithm design, and in the deeper geometric understanding of doubly-stochastic couplings.