Leverage Score Sampling for Tensor Product Matrices in Input Sparsity Time
David P. Woodruff, Amir Zandieh
Abstract
We propose an input sparsity time sampling algorithm that can spectrally approximate the Gram matrix corresponding to the -fold column-wise tensor product of matrices using a nearly optimal number of samples, improving upon all previously known methods by poly factors. Furthermore, for the important special case of the -fold self-tensoring of a dataset, which is the feature matrix of the degree- polynomial kernel, the leading term of our method's runtime is proportional to the size of the input dataset and has no dependence on . Previous techniques either incur poly slowdowns in their runtime or remove the dependence on 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 partially correlated random projections which can be simultaneously applied to a dataset in total time that only depends on the size of , and at the same time their -fold Kronecker product acts as a near-isometry for any fixed vector in the column span of . 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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext df53cf1c-4b36-4a9a-b2b1-0f640f043dbaCited by top-tier papers4
- A Nearly-Optimal Bound for Fast Regression with ℓ∞ GuaranteeZhao Song, Mingquan Ye, Junze Yin, Lichen ZhangICML 2023 · 20 citations
- Cost-efficient Gaussian tensor network embeddings for tensor-structured inputsLinjian Ma, Edgar SolomonikNeurIPS 2022 · 18 citations
- Fast Exact Leverage Score Sampling from Khatri-Rao Products with Applications to Tensor DecompositionVivek Bharadwaj, Osman Asif Malik, Riley Murray, Laura Grigori et al.NeurIPS 2023 · 14 citations
- Faster Algorithms for Structured Linear and Kernel Support Vector MachinesYuzhou Gu, Zhao Song, Lichen ZhangICLR 2025
Builds on4
- Fast Sketching of Polynomial Kernels of Polynomial DegreeZhao Song, David P. Woodruff, Zheng Yu, Lichen ZhangICML 2021 · 48 citations
- Oblivious Sketching of High-Degree Polynomial KernelsThomas D. Ahle, Michael Kapralov, Jakob Bæk Tejs Knudsen, Rasmus Pagh et al.SODA 2020 · 42 citations
- Scaling Neural Tangent Kernels via Sketching and Random FeaturesAmir Zandieh, Insu Han, Haim Avron, Neta Shoham et al.NeurIPS 2021 · 42 citations
- Near Input Sparsity Time Kernel Embeddings via Adaptive SamplingDavid P. Woodruff, Amir ZandiehICML 2020 · 20 citations
Related papers
- Random matrices in service of ML footprint: ternary random features with no performance lossHafiz Tiomoko Ali, Zhenyu Liao, Romain CouilletICLR 2022 · 8 citations
- Optimal Sublinear Sampling of Spanning Trees and Determinantal Point Processes via Average-Case Entropic IndependenceNima Anari, Yang P. Liu, Thuy-Duong VuongFOCS 2022 · 1 citation
- Fast Sampling-Based Sketches for TensorsWilliam J. Swartworth, David P. WoodruffICML 2024
- Sublinear time spectral density estimationVladimir Braverman, Aditya Krishnan, Christopher MuscoSTOC 2022 · 9 citations
- Matrix anti-concentration inequalities with applicationsZipei NieSTOC 2022 · 8 citations
