Skip to main content
QUICK REVIEW

[Paper Review] Large-scale Log-determinant Computation through Stochastic Chebyshev Expansions

In‐Su Han, Dmitry Malioutov|arXiv (Cornell University)|Mar 22, 2015
Gaussian Processes and Bayesian InferenceComputer Science28 references36 citations
TL;DR

This paper proposes a linear-time randomized algorithm for approximating the log-determinant of large positive definite and general non-singular matrices using stochastic trace estimation via the Hutchinson method combined with Chebyshev polynomial expansions. The method achieves high-accuracy approximations in orders of magnitude less time than Cholesky decomposition, enabling log-determinant computation for matrices with tens of millions of variables with rigorous error bounds dependent on condition number and sampling parameters.

ABSTRACT

Logarithms of determinants of large positive definite matrices appear ubiquitously in machine learning applications including Gaussian graphical and Gaussian process models, partition functions of discrete graphical models, minimum-volume ellipsoids, metric learning and kernel learning. Log-determinant computation involves the Cholesky decomposition at the cost cubic in the number of variables, i.e., the matrix dimension, which makes it prohibitive for large-scale applications. We propose a linear-time randomized algorithm to approximate log-determinants for very large-scale positive definite and general non-singular matrices using a stochastic trace approximation, called the Hutchinson method, coupled with Chebyshev polynomial expansions that both rely on efficient matrix-vector multiplications. We establish rigorous additive and multiplicative approximation error bounds depending on the condition number of the input matrix. In our experiments, the proposed algorithm can provide very high accuracy solutions at orders of magnitude faster time than the Cholesky decomposition and Schur completion, and enables us to compute log-determinants of matrices involving tens of millions of variables.

Motivation & Objective

  • To address the computational infeasibility of exact log-determinant computation via Cholesky decomposition in large-scale machine learning applications.
  • To develop a scalable, accurate, and parallelizable algorithm for log-determinant approximation in high-dimensional settings.
  • To establish rigorous additive and multiplicative error bounds depending on matrix condition number, sampling size, and polynomial degree.
  • To extend the method to general non-singular matrices for computing absolute values of log-determinants.
  • To demonstrate practical scalability and accuracy on real and synthetic datasets involving up to 25 million variables.

Proposed method

  • The method uses Chebyshev polynomial expansions to approximate the log-determinant as a trace of a matrix power series.
  • It applies the stochastic trace estimator (Hutchinson method) to estimate the trace using random vectors and efficient matrix-vector multiplications.
  • The algorithm relies on the ability to compute matrix-vector products efficiently, enabling linear-time complexity in the number of non-zero entries.
  • For non-symmetric or non-positive definite matrices, the method computes the log-determinant of the matrix's symmetric part or uses absolute values via appropriate transformations.
  • The approach is parallelizable due to its reliance on independent matrix-vector products with random vectors.
  • Error bounds are derived based on the condition number of the matrix, polynomial degree, and number of random samples.

Experimental results

Research questions

  • RQ1Can a randomized algorithm achieve high-accuracy log-determinant approximation in linear time for large-scale matrices?
  • RQ2How do the condition number and sampling parameters affect the approximation error in the proposed method?
  • RQ3Can the method be extended to general non-singular matrices while maintaining theoretical error guarantees?
  • RQ4How does the performance of Chebyshev-based approximation compare to Taylor-based alternatives in terms of accuracy and convergence?
  • RQ5Can the algorithm scale to matrices with tens of millions of variables while maintaining sub-second runtime?

Key findings

  • The proposed algorithm computes log-determinants of matrices with up to 25 million variables in a few minutes on a single commodity computer, far outpacing Cholesky decomposition.
  • For matrices with condition number O(1), the algorithm provides ε-approximation guarantees (additive or multiplicative) in linear time for any constant ε > 0.
  • The method achieves 99.9% accuracy in log-determinant approximation compared to exact Cholesky decomposition on large sparse matrices.
  • In experiments, the Chebyshev-based method outperformed a Taylor-series-based stochastic trace estimator in accuracy, even with 1000 samples.
  • The algorithm successfully enabled maximum likelihood estimation in a 5000×5000 Gaussian Markov Random Field (25 million variables), correctly identifying the hidden parameter ρ = -0.22.
  • The method demonstrated strong scalability and parallelizability, with potential for further scaling to even larger matrices using distributed systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.