Skip to content

A new angle on matrix-vector complexity

Cecilia Chen, Ethan N. W. Epperly, Michael W. Mahoney, Raphael A. Meyer, John Urschel

cs.DS

Abstract

The theory of worst-case matrix-vector complexity has been useful for guiding the design of fast linear algebra algorithms. However, there is a large theory-practice gap in the study of *one-sided* methods, which use matrix-vector products with A\mathbf{A} but not A⊤\mathbf{A}^\top. In practice, for fundamental problems like solving linear systems, one-sided methods like GMRES are often the fastest. By contrast, worst-case analysis often shows pessimistic results, for instance showing that one-sided methods cannot solve a linear system with ideal condition number 1 unless they read the whole matrix A\mathbf{A}. Such worst-case complexity results do not reflect real-world experience. To address this issue, this paper proposes a different theory of worst-case matrix-vector complexity that includes information on the positioning of the eigenvalues of A\mathbf{A} *in the complex plane*. Specifically, we characterize the "well-behavedness" of a matrix A\mathbf{A} through its *spectral condition number* κκ and its *angular eigenvalue gap θθ*, the angle of the largest sector not containing an eigenvalue. Under these parameters, we show that the one-sided complexity of the linear system problem is Θ(θ−2κπ/θ)Θ(θ^{-2}κ^{π/θ}). These results interpolate between known results for positive definite matrices (θ=2πθ= 2π), symmetric indefinite matrices (θ=πθ= π), and general matrices (θ=0θ= 0). This provides a rigorous explanation for the success of one-sided methods in practice, as it shows that one-sided methods beat the "optimal" two-sided algorithm (CGN) when the eigenvalues of A\mathbf{A} lie in less than half of the complex plane (θ>πθ> π). Our analysis relies on tools from numerical analysis, complex analysis, and information-theoretic complexity, and the results are presented in a modular way to facilitate future use.

Create a lesson

Metadata

Categories
cs.DS, cs.NA, math.CV, math.NA