BOLT: Block-Orthonormal Lanczos for Trace estimation of matrix functions
Kingsley Yeon, Promit Ghosal, Mihai Anitescu
TL;DR
This work tackles the challenge of estimating traces of matrix functions under memory and restricted-access constraints. It introduces Block-Orthonormal SLQ (BOLT), a block-based Lanczos quadrature method that matches Hutch++ accuracy without requiring randomized SVD, and shows superior performance in flat-spectrum regimes. Building on BOLT, Subblock SLQ enables memory-efficient trace estimation using only small principal submatrices, enabling proxy KL divergence and Wasserstein-2 distance computations in singular or under-sampled settings. The authors provide rigorous theoretical guarantees (unbiasedness, variance bounds, localization) and demonstrate practical gains on high-dimensional problems, including MNIST regularization and HODLR-divergence estimation, with detailed FLOP- and memory-analysis. Overall, the framework delivers scalable, low-memory tools for trace-based divergences and distributional distances in large-scale covariance-structured problems.
Abstract
Efficient matrix trace estimation is essential for scalable computation of log-determinants, matrix norms, and distributional divergences. In many large-scale applications, the matrices involved are too large to store or access in full, making even a single matrix-vector (mat-vec) product infeasible. Instead, one often has access only to small subblocks of the matrix or localized matrix-vector products on restricted index sets. Hutch++ achieves optimal convergence rate but relies on randomized SVD and assumes full mat-vec access, making it difficult to apply in these constrained settings. We propose the Block-Orthonormal Stochastic Lanczos Quadrature (BOLT), which matches Hutch++ accuracy with a simpler implementation based on orthonormal block probes and Lanczos iterations. BOLT builds on the Stochastic Lanczos Quadrature (SLQ) framework, which combines random probing with Krylov subspace methods to efficiently approximate traces of matrix functions, and performs better than Hutch++ in near flat-spectrum regimes. To address memory limitations and partial access constraints, we introduce Subblock SLQ, a variant of BOLT that operates only on small principal submatrices. As a result, this framework yields a proxy KL divergence estimator and an efficient method for computing the Wasserstein-2 distance between Gaussians - both compatible with low-memory and partial-access regimes. We provide theoretical guarantees and demonstrate strong empirical performance across a range of high-dimensional settings.
