Sam Babichenko

Reading notes

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.