The previous sections describe algorithms for obtaining a low-rank approximation to a matrix . In some settings (e.g. trace estimation), we instead want a low-rank approximation to a matrix function of a symmetric matrix , which we can access only through matrix-vector products. Products with can be approximated using black-box methods like the Lanczos method for matrix functions, but each such product requires a number of products with . In this section, we describe two approaches for making more efficient use of the products with : Krylov-aware methods, which reuse the information generated by the underlying Krylov subspace methods, and, for operator monotone functions, approximations obtained by sketching directly.
Krylov-aware methods¶
Krylov-aware methods make use of the interaction between Krylov subspace methods and randomized low-rank approximation techniques to more efficiently produce low-rank approximations to matrix functions Chen & Hallman, 2023Persson et al., 2025.
Let’s consider a Randomized-SVD type approach to obtaining a low-rank approximation to , where products with are approximated via Krylov subspace methods.
The first key observation is that is contained in some block Krylov subspace
where is the number of steps taken by the KSM.
Let be an orthonormal basis for . We can compute using the same number of matrix-vector products with as were used to compute . However, , so we may expect that is a better approximation to than .
However, since has many more columns than , at first glance computing an approximation to seems to require many more products than computing an approximation to .
The second key observation is that because is a basis for a Krylov subspace, we can efficiently compute an approximation to . In particular, we have the following:
Proof
This means that quantities such as can be approximated from . This requires just additional matrix-vector products with (to extend to ), rather than the roughly products required to build by treating the columns of as a fresh starting block.
While this idea is simple, our algorithm can often perform much better than if matrix-vector products with are treated as a black box. This is particularly true for functions like , where we may require to be quite large to obtain a good approximation to , but even the basis obtained with (which is basically like sketching ) works well.
Operator monotone functions¶
The methods above still approximate products with using Krylov subspace methods. For an important class of functions, we can avoid approximating products with altogether: it suffices to compute a good low-rank approximation to itself Persson & Kressner, 2023Persson et al., 2025.
Common examples of operator monotone functions include for , , and for .
Suppose is positive semi-definite, and let be a rank- approximation to satisfying ; e.g. the Nyström approximation, which always satisfies this condition. If , then also has rank at most , and can be computed directly from the eigendecomposition of — no products with are required. Remarkably, if is a near-optimal low-rank approximation to , then is a near-optimal low-rank approximation to . The following version of this result is from Persson et al., 2025, which generalizes the analysis of the funNyström method of Persson & Kressner, 2023.
Note that since (and, by operator monotonicity, ), the traces above are exactly the nuclear norm errors; analogous guarantees hold in the Frobenius and operator norms Persson et al., 2025.
- Chen, T., & Hallman, E. (2023). Krylov-Aware Stochastic Trace Estimation. SIAM Journal on Matrix Analysis and Applications, 44(3), 1218–1244. 10.1137/22m1494257
- Persson, D., Chen, T., & Musco, C. (2025). Randomized block-Krylov subspace methods for low-rank approximation of matrix functions. https://arxiv.org/abs/2502.01888
- Persson, D., & Kressner, D. (2023). Randomized Low-Rank Approximation of Monotone Matrix Functions. SIAM Journal on Matrix Analysis and Applications, 44(2), 894–918. 10.1137/22m1523923
- Persson, D., Meyer, R. A., & Musco, C. (2025). Algorithm-Agnostic Low-Rank Approximation of Operator Monotone Matrix Functions. SIAM Journal on Matrix Analysis and Applications, 46(1), 1–21. 10.1137/23m1619435