Matrix scaling and optimal transport
Scaling a positive matrix's rows and columns to prescribed sums by alternating row and column normalizations turns a constrained bilinear system into exact block coordinate descent on a convex log-potential. Subtracting entropy from optimal transport's linear program puts the optimal plan in exactly this scaled form, turning a cubic-time flow problem into GPU-friendly matrix-vector products.
Sinkhorn's theorem derives existence, uniqueness, and linear convergence from that potential, while Sinkhorn-Knopp settles when zero entries still allow convergence or finite scalings. Exact KL drops and Pinsker's inequality then give dimension-free iteration counts for entropic transport and near-linear runtime in cost-matrix size. Small entropy weights still slow convergence, so practice favors moderate weights and short runs across transport, clustering, and residual mixing.
- For , setting makes doubly stochastic. Why must such a point be a global minimum, not a saddle?Each term is convex and the linear terms preserve convexity, so every critical point of is a global minimum. is not strictly convex along the flat line .From Matrix scaling and Sinkhorn's theorem
- Differentiate the entropic OT Lagrangian with respect to . Why must the optimum take the form with ?
- Shift for any real . How do and the scaled matrix respond?Adding to all and subtracting from all leaves every sum and untouched, which is the scaling invariance .From Matrix scaling and Sinkhorn's theorem
- After a column step, totals 1. The next row step multiplies row by , shifting by . Why does drop by exactly ?Because totals 1 before and after scaling row sums to (which totals 1), the term cancels identically and .From Sinkhorn distances
- Rewrite with . What breaks in the existence proof if even one entry drops to zero?With , every as , trapping every in a bounded interval. Setting removes that wall and can open an unbounded channel.From Matrix scaling and Sinkhorn's theorem