Near Input Sparsity Time Kernel Embeddings via Adaptive Sampling
David P. Woodruff, Amir Zandieh
Abstract
To accelerate kernel methods, we propose a near input sparsity time algorithm for sampling the high-dimensional feature space implicitly defined by a kernel transformation. Our main contribution is an importance sampling method for subsampling the feature space of a degree tensoring of data points in almost input sparsity time, improving the recent oblivious sketching method of (Ahle et al., 2020) by a factor of . This leads to a subspace embedding for the polynomial kernel, as well as the Gaussian kernel, with a target dimension that is only linearly dependent on the statistical dimension of the kernel and in time which is only linearly dependent on the sparsity of the input dataset. We show how our subspace embedding bounds imply new statistical guarantees for kernel ridge regression. Furthermore, we empirically show that in large-scale regression tasks, our algorithm outperforms state-of-the-art kernel approximation methods.
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.
Cited by top-tier papers8
- Fast Sketching of Polynomial Kernels of Polynomial DegreeZhao Song, David P. Woodruff, Zheng Yu, Lichen ZhangICML 2021 · 48 citations
- Scaling Neural Tangent Kernels via Sketching and Random FeaturesAmir Zandieh, Insu Han, Haim Avron, Neta Shoham et al.NeurIPS 2021 · 42 citations
- A Nearly-Optimal Bound for Fast Regression with ℓ∞ GuaranteeZhao Song, Mingquan Ye, Junze Yin, Lichen ZhangICML 2023 · 20 citations
- Leverage Score Sampling for Tensor Product Matrices in Input Sparsity TimeDavid P. Woodruff, Amir ZandiehICML 2022 · 10 citations
- In-Database Regression in Input Sparsity TimeRajesh Jayaram, Alireza Samadian, David P. Woodruff, Peng YeICML 2021 · 8 citations
Builds on1
Related papers
- Sketching Algorithms and Lower Bounds for Ridge RegressionPraneeth Kacham, David P. WoodruffICML 2022 · 6 citations
- Random Fourier Features via Fast Surrogate Leverage Weighted SamplingFanghui Liu, Xiaolin Huang, Yudong Chen, Jie Yang et al.AAAI 2020 · 21 citations
- Optimal Embedding Dimension for Sparse Subspace EmbeddingsShabarish Chenakkod, Michal Derezinski, Xiaoyu Dong, Mark RudelsonSTOC 2024 · 5 citations
- Subquadratic Algorithms for Kernel Matrices via Kernel Density EstimationAinesh Bakshi, Piotr Indyk, Praneeth Kacham, Sandeep Silwal et al.ICLR 2023
- Nyström Kernel Mean EmbeddingsAntoine Chatalic, Nicolas Schreuder, Lorenzo Rosasco, Alessandro RudiICML 2022 · 25 citations
