[Paper Review] Scalable Log Determinants for Gaussian Process Kernel Learning
This paper proposes novel O(n) stochastic methods—Chebyshev, Lanczos, and surrogate-based—for estimating log determinants and their derivatives of large positive definite kernel matrices using only fast matrix-vector multiplications (MVMs). The approach enables scalable Gaussian process kernel learning across diverse settings, including non-Gaussian likelihoods and complex kernels, with Lanczos proving superior to Chebyshev and surrogate models offering high efficiency and accuracy.
For applications as varied as Bayesian neural networks, determinantal point processes, elliptical graphical models, and kernel learning for Gaussian processes (GPs), one must compute a log determinant of an $n imes n$ positive definite matrix, and its derivatives - leading to prohibitive $\mathcal{O}(n^3)$ computations. We propose novel $\mathcal{O}(n)$ approaches to estimating these quantities from only fast matrix vector multiplications (MVMs). These stochastic approximations are based on Chebyshev, Lanczos, and surrogate models, and converge quickly even for kernel matrices that have challenging spectra. We leverage these approximations to develop a scalable Gaussian process approach to kernel learning. We find that Lanczos is generally superior to Chebyshev for kernel learning, and that a surrogate approach can be highly efficient and accurate with popular kernels.
Motivation & Objective
- Address the computational bottleneck of O(n³) log determinant and derivative computation in Gaussian process kernel learning.
- Overcome limitations of existing methods that rely on eigendecompositions or assume uniform eigenspectra, which are invalid for typical machine learning kernels like RBF.
- Develop general-purpose, scalable, and accurate methods for log determinant and derivative estimation using only fast matrix-vector multiplications (MVMs).
- Enable kernel learning in settings where fast eigendecompositions are unavailable, such as additive kernels, multi-task learning, and diagonal corrections.
- Achieve high performance on large-scale datasets with non-Gaussian likelihoods and complex kernel structures, including deep kernels.
Proposed method
- Propose stochastic Chebyshev and Lanczos methods to estimate log determinants and their derivatives via Monte Carlo sampling over MVMs.
- Introduce a surrogate model approach that learns the log determinant function from MVMs, enabling fast and accurate estimation with minimal re-computation.
- Leverage fast MVMs from the structured kernel interpolation (SKI) framework to scale to large datasets with arbitrary data locations.
- Simultaneously compute log determinant and its derivatives using the same MVMs, reducing computational overhead.
- Perform error analysis and extend methods to higher-order derivatives for improved optimization convergence.
- Integrate the proposed methods into GP marginal likelihood optimization, enabling gradient-based kernel learning without eigendecomposition.
Experimental results
Research questions
- RQ1Can log determinant and derivative estimation be made scalable to large n using only fast matrix-vector multiplications?
- RQ2How do stochastic Chebyshev and Lanczos methods compare in accuracy and efficiency for kernel matrix log determinants with challenging spectra?
- RQ3Can surrogate models trained on MVMs provide accurate and fast log determinant estimation in settings where eigendecompositions are infeasible?
- RQ4Does the proposed method outperform scaled eigenvalue approaches in non-Gaussian likelihood settings where the Fiedler bound is misspecified?
- RQ5Can the method scale to high-dimensional deep kernel learning with thousands of hyperparameters and large datasets?
Key findings
- The Lanczos-based method outperforms Chebyshev in accuracy and convergence speed for kernel learning, especially on ill-conditioned or rapidly decaying spectra.
- On the Chicago assault dataset (n=157,644), Lanczos achieved RMSE=1.33 with σ²=69.72, while the scaled eigenvalue method produced a much larger σ²=191.17, indicating model misspecification.
- The Lanczos method recovered hyperparameters in 264 seconds, while the scaled eigenvalue method required only 67 seconds but produced significantly different and less reliable results.
- For deep kernel learning on a 128-dimensional gas sensor dataset (n=2,565), Lanczos achieved lower RMSE (0.1053) than the DNN baseline (0.1366) and was faster per iteration (2.07s vs. 0.44s) despite higher total time.
- The surrogate model approach provided high accuracy and efficiency, particularly effective with popular kernels and fast MVMs.
- The method enables scalable GP kernel learning with O(n + g(m)) complexity when combined with SKI, supporting large-scale problems with n=528,474 training points.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.