Lune

ICML2022Top-tier venue

Leverage Score Sampling for Tensor Product Matrices in Input Sparsity Time

David P. Woodruff, Amir Zandieh

2022Year
10Citations
4Top-tier citations

Abstract

We propose an input sparsity time sampling algorithm that can spectrally approximate the Gram matrix corresponding to the qq-fold column-wise tensor product of qq matrices using a nearly optimal number of samples, improving upon all previously known methods by poly(q)(q) factors. Furthermore, for the important special case of the qq-fold self-tensoring of a dataset, which is the feature matrix of the degree-qq polynomial kernel, the leading term of our method's runtime is proportional to the size of the input dataset and has no dependence on qq. Previous techniques either incur poly(q)(q) slowdowns in their runtime or remove the dependence on qq at the expense of having sub-optimal target dimension, and depend quadratically on the number of data-points in their runtime. Our sampling technique relies on a collection of qq partially correlated random projections which can be simultaneously applied to a dataset XX in total time that only depends on the size of XX, and at the same time their qq-fold Kronecker product acts as a near-isometry for any fixed vector in the column span of X⊗qX^{\otimes q}. We also show that our sampling methods generalize to other classes of kernels beyond polynomial, such as Gaussian and Neural Tangent kernels.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext df53cf1c-4b36-4a9a-b2b1-0f640f043dba

Cited by top-tier papers4

Ask how each one uses it

Builds on4

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines