Lune

ICML2022Top-tier venue

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 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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fast Exact Leverage Score Sampling from Khatri-Rao Products with Applications to Tensor Decomposition cites Oblivious Sketching of High-Degree Polynomial Kernels
  • Fast Exact Leverage Score Sampling from Khatri-Rao Products with Applications to Tensor Decomposition cites Cost-efficient Gaussian tensor network embeddings for tensor-structured inputs
  • Near Input Sparsity Time Kernel Embeddings via Adaptive Sampling cites Oblivious Sketching of High-Degree Polynomial Kernels
  • A Nearly-Optimal Bound for Fast Regression with ℓ∞ Guarantee cites Near Input Sparsity Time Kernel Embeddings via Adaptive Sampling
  • A Nearly-Optimal Bound for Fast Regression with ℓ∞ Guarantee cites Oblivious Sketching of High-Degree Polynomial Kernels
  • A Nearly-Optimal Bound for Fast Regression with ℓ∞ Guarantee cites Fast Sketching of Polynomial Kernels of Polynomial Degree
  • Fast Sketching of Polynomial Kernels of Polynomial Degree cites Near Input Sparsity Time Kernel Embeddings via Adaptive Sampling
  • Fast Sketching of Polynomial Kernels of Polynomial Degree cites Oblivious Sketching of High-Degree Polynomial Kernels
  • Faster Algorithms for Structured Linear and Kernel Support Vector Machines cites Oblivious Sketching of High-Degree Polynomial Kernels
  • Faster Algorithms for Structured Linear and Kernel Support Vector Machines cites Fast Sketching of Polynomial Kernels of Polynomial Degree
  • Faster Algorithms for Structured Linear and Kernel Support Vector Machines cites Scaling Neural Tangent Kernels via Sketching and Random Features
  • Cost-efficient Gaussian tensor network embeddings for tensor-structured inputs cites Oblivious Sketching of High-Degree Polynomial Kernels
  • Scaling Neural Tangent Kernels via Sketching and Random Features cites Near Input Sparsity Time Kernel Embeddings via Adaptive Sampling
  • Scaling Neural Tangent Kernels via Sketching and Random Features cites Oblivious Sketching of High-Degree Polynomial Kernels
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. A Nearly-Optimal Bound for Fast Regression with ℓ∞ GuaranteeZhao Song, Mingquan Ye, Junze Yin, Lichen ZhangICML 2023 · 20 citations
  2. Cost-efficient Gaussian tensor network embeddings for tensor-structured inputsLinjian Ma, Edgar SolomonikNeurIPS 2022 · 18 citations
  3. 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
  4. Faster Algorithms for Structured Linear and Kernel Support Vector MachinesYuzhou Gu, Zhao Song, Lichen ZhangICLR 2025

Builds on4

  1. Fast Sketching of Polynomial Kernels of Polynomial DegreeZhao Song, David P. Woodruff, Zheng Yu, Lichen ZhangICML 2021 · 48 citations
  2. Oblivious Sketching of High-Degree Polynomial KernelsThomas D. Ahle, Michael Kapralov, Jakob Bæk Tejs Knudsen, Rasmus Pagh et al.SODA 2020 · 42 citations
  3. Scaling Neural Tangent Kernels via Sketching and Random FeaturesAmir Zandieh, Insu Han, Haim Avron, Neta Shoham et al.NeurIPS 2021 · 42 citations
  4. Near Input Sparsity Time Kernel Embeddings via Adaptive SamplingDavid P. Woodruff, Amir ZandiehICML 2020 · 20 citations

Related papers

  1. Random matrices in service of ML footprint: ternary random features with no performance lossHafiz Tiomoko Ali, Zhenyu Liao, Romain CouilletICLR 2022 · 8 citations
  2. 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
  3. Fast Sampling-Based Sketches for TensorsWilliam J. Swartworth, David P. WoodruffICML 2024
  4. Sublinear time spectral density estimationVladimir Braverman, Aditya Krishnan, Christopher MuscoSTOC 2022 · 9 citations
  5. Matrix anti-concentration inequalities with applicationsZipei NieSTOC 2022 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines