Low-Memory Krylov Subspace Methods for Optimal Rational Matrix Function Approximation

Tyler Chen, Anne Greenbaum, Cameron Musco, Christopher MuscoSIAM J. Matrix Anal. Appl 2022 · DOI

TL;DR

This paper introduces "Lanczos-OR," a novel algorithm for efficiently approximating rational matrix functions. It achieves optimal approximations within a Krylov subspace while significantly reducing memory requirements, making it suitable for large-scale computations. The method also extends to approximating other matrix functions and demonstrates improved performance over existing techniques.

What Problem Does This Paper Address?

Approximating matrix functions, especially rational ones like $f(A)b$, is crucial in many scientific and engineering fields. Standard Krylov subspace methods (KSMs) are powerful for large matrices because they avoid storing the entire matrix. However, existing KSMs for general rational functions either require storing a large number of vectors (proportional to the iteration count) or don't guarantee optimal approximations. This gap limits their applicability when memory is a constraint or when high accuracy is paramount. The paper aims to bridge this gap by providing an optimal approximation method with low memory requirements.

Methods

The core contribution is the Lanczos-OR (Optimal Rational) algorithm. It builds upon the Lanczos method, a standard KSM for symmetric matrices. Lanczos-OR constructs an approximation that is optimal in a specific norm related to the rational function's denominator. A key innovation is a low-memory implementation that stores a number of vectors proportional to the degree of the denominator of the rational function, rather than the iteration count. This is achieved through efficient computation of matrix polynomials and LDL factorizations. The paper also shows how Lanczos-OR can be used to derive algorithms for other matrix functions, such as the matrix sign function, by leveraging integral representations.

Datasets

Not discussed in the paper. The paper focuses on theoretical development and algorithmic design, with numerical experiments conducted on synthetic matrices generated to test specific properties (e.g., eigenvalue distributions, condition numbers).

Key Insights and Ideas

  • Optimality in a Specific Norm: Lanczos-OR provides an approximation that is provably optimal in an H-norm, where H depends on the rational function. This optimality, even if not in the standard Euclidean norm, leads to strong practical performance.
  • Low-Memory Breakthrough: The most significant insight is the development of a low-memory implementation where storage scales with the denominator degree, not the iteration count. This is a crucial advancement for large-scale problems.
  • Generalizability: The framework of Lanczos-OR is shown to be versatile, enabling the derivation of algorithms for other matrix functions (like the matrix sign function) and improving upon existing methods for these problems.
  • Smoother Convergence: In numerical examples, Lanczos-OR-based methods exhibit smoother convergence compared to standard Lanczos-FA, particularly in cases where the latter shows oscillatory behavior.

Key Results

  • Lanczos-OR provides optimal approximations to $r(A)b$ in an H-norm from a Krylov subspace.
  • A low-memory implementation requires storing only $O(q)$ vectors of length $n$, where $q$ is the degree of the denominator polynomial. This is a significant improvement over methods requiring $O(k)$ vectors.
  • The method can be used to derive algorithms for the matrix sign function and other rational function approximations, often outperforming standard Lanczos-FA.
  • Numerical experiments show that Lanczos-OR-based approximations can be nearly optimal even in the standard 2-norm, with significantly less erratic behavior than Lanczos-FA.

Limitations and Future Work

  • Norm Optimality: While Lanczos-OR is optimal in an H-norm, its optimality in the standard 2-norm is bounded by $\sqrt{\kappa(H)}$, where $\kappa(H)$ is the condition number of H. For poorly conditioned H, this bound might not guarantee near-optimal 2-norm performance.
  • Generalization to Non-Rational Functions: While the paper shows how to derive approximations for non-rational functions (like the sign function) using integral representations, these induced approximations are not provably optimal.
  • Finite Precision Arithmetic: The paper acknowledges that behavior in finite precision might differ from exact arithmetic, though it leverages existing knowledge about standard Lanczos implementations.
  • Future Work: The authors suggest exploring exact relations between Lanczos-OR and Lanczos-FA errors, providing sharper comparisons for the matrix sign function, investigating the generalization of "harmonic Ritz values," and developing unified analyses for Krylov subspace methods in finite precision.

Summary updated

BibTeX
@article{chen2022low,
  author = {Tyler Chen and Anne Greenbaum and Cameron Musco and Christopher Musco},
  title = {{Low-Memory Krylov Subspace Methods for Optimal Rational Matrix Function Approximation}},
  journal = {SIAM J. Matrix Anal. Appl.},
  year = {2022},
  doi = {10.1137/22m1479853},
}
Figure