English

Fast Approximate Determinants Using Rational Functions

Data Structures and Algorithms 2024-05-07 v1 Numerical Analysis Numerical Analysis

Abstract

We show how rational function approximations to the logarithm, such as logz(z21)/(z2+6z+1)\log z \approx (z^2 - 1)/(z^2 + 6z + 1), can be turned into fast algorithms for approximating the determinant of a very large matrix. We empirically demonstrate that when combined with a good preconditioner, the third order rational function approximation offers a very good trade-off between speed and accuracy when measured on matrices coming from Mat\'ern-5/25/2 and radial basis function Gaussian process kernels. In particular, it is significantly more accurate on those matrices than the state-of-the-art stochastic Lanczos quadrature method for approximating determinants while running at about the same speed.

Keywords

Cite

@article{arxiv.2405.03474,
  title  = {Fast Approximate Determinants Using Rational Functions},
  author = {Thomas Colthurst and Srinivas Vasudevan and James Lottes and Brian Patton},
  journal= {arXiv preprint arXiv:2405.03474},
  year   = {2024}
}

Comments

22 pages, 17 figures