English

Near-linear convergence of the Random Osborne algorithm for Matrix Balancing

Optimization and Control 2021-07-06 v2 Data Structures and Algorithms Numerical Analysis Numerical Analysis

Abstract

We revisit Matrix Balancing, a pre-conditioning task used ubiquitously for computing eigenvalues and matrix exponentials. Since 1960, Osborne's algorithm has been the practitioners' algorithm of choice and is now implemented in most numerical software packages. However, its theoretical properties are not well understood. Here, we show that a simple random variant of Osborne's algorithm converges in near-linear time in the input sparsity. Specifically, it balances KR0n×nK\in\mathbb{R}_{\geq 0}^{n\times n} after O(mϵ2logκ)O(m\epsilon^{-2}\log\kappa) arithmetic operations, where mm is the number of nonzeros in KK, ϵ\epsilon is the 1\ell_1 accuracy, and κ=ijKij/(minij:Kij0Kij)\kappa=\sum_{ij}K_{ij}/(\min_{ij:K_{ij}\neq 0}K_{ij}) measures the conditioning of KK. Previous work had established near-linear runtimes either only for 2\ell_2 accuracy (a weaker criterion which is less relevant for applications), or through an entirely different algorithm based on (currently) impractical Laplacian solvers. We further show that if the graph with adjacency matrix KK is moderately connected--e.g., if KK has at least one positive row/column pair--then Osborne's algorithm initially converges exponentially fast, yielding an improved runtime O(mϵ1logκ)O(m\epsilon^{-1}\log\kappa). We also address numerical precision by showing that these runtime bounds still hold when using O(log(nκ/ϵ))O(\log(n\kappa/\epsilon))-bit numbers. Our results are established through an intuitive potential argument that leverages a convex optimization perspective of Osborne's algorithm, and relates the per-iteration progress to the current imbalance as measured in Hellinger distance. Unlike previous analyses, we critically exploit log-convexity of the potential. Our analysis extends to other variants of Osborne's algorithm: along the way, we establish significantly improved runtime bounds for cyclic, greedy, and parallelized variants.

Keywords

Cite

@article{arxiv.2004.02837,
  title  = {Near-linear convergence of the Random Osborne algorithm for Matrix Balancing},
  author = {Jason M. Altschuler and Pablo A. Parrilo},
  journal= {arXiv preprint arXiv:2004.02837},
  year   = {2021}
}

Comments

v2: Fixed minor typos. Modified title for clarity. Corrected statement of Thm 6.1; this does not affect our main results

R2 v1 2026-06-23T14:41:30.164Z