Preconditioned log-determinant approximation: one Gaussian probe vector is almost always enough
Alice Cortinovis, Daniele Toni
TL;DR
This work tackles the computational challenge of estimating the regularized log-determinant ${\rm log\,det}(A+I)$ for SPSD matrices using only matrix-vector products. It introduces a Nyström-based preconditioner to reduce variance and conditioning, and employs stochastic Lanczos quadrature with a single Gaussian probe to estimate the residual trace, achieving strong performance when spectral decay is moderate. A complementary detective strategy monitors preconditioner quality and adaptively switches budgeting between the Nyström approximation and SLQ to maintain accuracy. Theoretical bounds for the one-sample Nyström approach are derived, and extensive numerical experiments on synthetic and kernel matrices demonstrate competitive accuracy and scalability compared to existing methods. The approach offers practical, efficient log-determinant estimation suitable for large-scale problems in machine learning and statistics, including Gaussian processes and kernelized models.
Abstract
We present randomized algorithms for estimating the log-determinant of regularized symmetric positive semi-definite matrices. The algorithms access the matrix only through matrix vector products, and are based on the introduction of a preconditioner and stochastic trace estimator. We claim that preconditioning as much as we can and making a rough estimate of the residual part with a small budget achieves a small error in most of the cases. We choose a Nyström preconditioner and estimate the residual using only one sample of stochastic Lanczos quadrature (SLQ). We analyze the performance of this strategy from a theoretical and practical viewpoint. We also present an algorithm that, at almost no additional cost, detects whether the proposed strategy is not the most effective, in which case it uses more samples for the SLQ part. Numerical examples on several test matrices show that our proposed methods are competitive with existing algorithms.
