Fast Exact Leverage Score Sampling from Khatri-Rao Products with Applications to Tensor Decomposition

V. Bharadwaj, Osman Asif Malik, Riley Murray, L. Grigori, A. Buluç +1 more
2/12/2026

No official code found. Best implementation: vbharadwaj-bk/fast_tensor_leverage (5 stars, last commit 2024-10-23).

Abstract

We present a data structure to randomly sample rows from the Khatri-Rao product of several matrices according to the exact distribution of its leverage scores. Our proposed sampler draws each row in time logarithmic in the height of the Khatri-Rao product and quadratic in its column count, with persistent space overhead at most the size of the input matrices. As a result, it tractably draws samples even when the matrices forming the Khatri-Rao product have tens of millions of rows each. When used to sketch the linear least squares problems arising in CANDECOMP / PARAFAC tensor decomposition, our method achieves lower asymptotic complexity per solve than recent state-of-the-art methods. Experiments on billion-scale sparse tensors validate our claims, with our algorithm achieving higher accuracy than competing methods as the decomposition rank grows.

View on arXivView PDF

Code Implementations(1)

Code for the Neurips 2023 Paper "Fast Exact Leverage Score Sampling from Khatri-Rao Products"

52C++, CMakeOct 8, 20221 years ago
khatri-raoleverage-scorerandomized-algorithmsparse-tensors

Similar Papers

Cite this paper

@article{bharadwaj2026fast,
  title  = {Fast Exact Leverage Score Sampling from Khatri-Rao Products with Applications to Tensor Decomposition},
  author = {V. Bharadwaj and Osman Asif Malik and Riley Murray and L. Grigori and A. Buluç and J. Demmel},
  year   = {2026},
  eprint = {2301.12584},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2301.12584},
  journal = {NEURIPS 2023 2023}
}

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/2301.12584.svg)](https://codeofpaper.com/paper/2301.12584)

Discussion