Lune

NeurIPS2024Top-tier venue

Nearly Optimal Approximation of Matrix Functions by the Lanczos Method

Noah Amsel, Tyler Chen, Anne Greenbaum, Cameron Musco, Christopher Musco

Abstract

Approximating the action of a matrix function f(A)f(\mathbf{A}) on a vector b\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. 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)f(x)'s denominator and the condition number of A\mathbf{A}, but not on the number of iterations kk. 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Sublinear time spectral density estimation cites Analysis of stochastic Lanczos quadrature for spectrum approximation
  • Faster Linear Systems and Matrix Norm Approximation via Multi-level Sketched Preconditioning cites Sublinear time spectral density estimation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Faster Linear Systems and Matrix Norm Approximation via Multi-level Sketched PreconditioningMichal Derezinski, Christopher Musco, Jiaming YangSODA 2025

Builds on3

  1. Fast Matrix Square Roots with Applications to Gaussian Processes and Bayesian OptimizationGeoff Pleiss, Martin Jankowiak, David Eriksson, Anil Damle et al.NeurIPS 2020 · 49 citations
  2. Analysis of stochastic Lanczos quadrature for spectrum approximationTyler Chen, Thomas Trogdon, Shashanka UbaruICML 2021 · 29 citations
  3. Sublinear time spectral density estimationVladimir Braverman, Aditya Krishnan, Christopher MuscoSTOC 2022 · 9 citations

Related papers

  1. Improved Spectral Density Estimation via Explicit and Implicit DeflationRajarshi Bhattacharjee, Rajesh Jayaram, Cameron Musco, Christopher Musco et al.SODA 2025 · 1 citation
  2. Does block size matter in randomized block Krylov low-rank approximation?Tyler Chen, Ethan N. Epperly, Raphael A. Meyer, Christopher Musco et al.SODA 2026 · 1 citation
  3. LancBiO: Dynamic Lanczos-aided Bilevel Optimization via Krylov SubspaceYan Yang, Bin Gao, Ya-xiang YuanICLR 2025
  4. On the Unreasonable Effectiveness of Single Vector Krylov Methods for Low-Rank ApproximationRaphael A. Meyer, Cameron Musco, Christopher MuscoSODA 2024 · 5 citations
  5. Invariant subspaces and PCA in nearly matrix multiplication timeAleksandros Sobczyk, Marko Mladenovic, Mathieu LuisierNeurIPS 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines