Nearly Optimal Approximation of Matrix Functions by the Lanczos Method

Noah Amsel, Tyler Chen, A. Greenbaum, Cameron Musco, Christopher Musco
3/1/2023
bayesian

No confident code implementation found for this paper.

Abstract

Approximating the action of a matrix function $f(\mathbf{A})$ on a vector $\mathbf{b}$ is an increasingly important primitive in machine learning, data science, and statistics, with applications such as sampling high dimensional Gaussians, Gaussian process regression and Bayesian inference, principle component analysis, and approximating Hessian spectral densities. Over the past decade, a number of algorithms enjoying strong theoretical guarantees have been proposed for this task.

Show full abstract

Many of the most successful belong to a family of algorithms called Krylov subspace methods. Remarkably, a classic Krylov subspace method, called the Lanczos method for matrix functions (Lanczos-FA), frequently outperforms newer methods in practice. Our main result is a theoretical justification for this finding: we show that, for a natural class of rational functions, Lanczos-FA matches the error of the best possible Krylov subspace method up to a multiplicative approximation factor. The approximation factor depends on the degree of $f(x)$'s denominator and the condition number of $\mathbf{A}$, but not on the number of iterations $k$. Our result provides a strong justification for the excellent performance of Lanczos-FA, especially on functions that are well approximated by rationals, such as the matrix square root.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{amsel2023nearly,
  title  = {Nearly Optimal Approximation of Matrix Functions by the Lanczos Method},
  author = {Noah Amsel and Tyler Chen and A. Greenbaum and Cameron Musco and Christopher Musco},
  year   = {2023},
  eprint = {2303.03358},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2303.03358},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.03358.svg)](https://codeofpaper.com/paper/2303.03358)

Discussion