Randomly pivoted Cholesky: Practical approximation of a kernel matrix with few entry evaluations

Yifan Chen, Ethan N. Epperly, Joel A. Tropp, Robert J. Webber
7/13/2022
math.NAstat.ML

Official code: eepperly/Randomly-Pivoted-Cholesky (37 stars, Python, MIT, last commit 2025-12-04).

Abstract

The randomly pivoted partial Cholesky algorithm (RPCholesky) computes a factorized rank-k approximation of an N x N positive-semidefinite (psd) matrix. RPCholesky requires only (k + 1) N entry evaluations and O(k^2 N) additional arithmetic operations, and it can be implemented with just a few lines of code.

Show full abstract

The method is particularly useful for approximating a kernel matrix. This paper offers a thorough new investigation of the empirical and theoretical behavior of this fundamental algorithm. For matrix approximation problems that arise in scientific machine learning, experiments show that RPCholesky matches or beats the performance of alternative algorithms. Moreover, RPCholesky provably returns low-rank approximations that are nearly optimal. The simplicity, effectiveness, and robustness of RPCholesky strongly support its use in scientific computing and machine learning applications.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Randomly pivoted Cholesky: Practical approximation of a kernel matrix with few entry evaluations"

3714Python, MATLABJul 7, 202212 months agoMIT

Similar Papers

Cite this paper

@article{chen2022randomly,
  title  = {Randomly pivoted Cholesky: Practical approximation of a kernel matrix with few entry evaluations},
  author = {Yifan Chen and Ethan N. Epperly and Joel A. Tropp and Robert J. Webber},
  year   = {2022},
  eprint = {2207.06503},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.06503}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.06503.svg)](https://codeofpaper.com/paper/2207.06503)

Discussion