Fast Sketching of Polynomial Kernels of Polynomial Degree
Zhao Song, David P. Woodruff, Zheng Yu, Lichen Zhang
Abstract
Kernel methods are fundamental in machine learning, and faster algorithms for kernel approximation provide direct speedups for many core tasks in machine learning. The polynomial kernel is especially important as other kernels can often be approximated by the polynomial kernel via a Taylor series expansion. Recent techniques in oblivious sketching reduce the dependence in the running time on the degree of the polynomial kernel from exponential to polynomial, which is useful for the Gaussian kernel, for which can be chosen to be polylogarithmic. However, for more slowly growing kernels, such as the neural tangent and arc-cosine kernels, needs to be polynomial, and previous work incurs a polynomial factor slowdown in the running time. We give a new oblivious sketch which greatly improves upon this running time, by removing the dependence on in the leading order term. Combined with a novel sampling scheme, we give the fastest algorithms for approximating a large family of slow-growing 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.
23 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Generalized Leverage Score Sampling for Neural Networks cites Algorithms and Hardness for Linear Algebra on Geometric Graphs
- Generalized Leverage Score Sampling for Neural Networks cites An improved cutting plane method for convex optimization, convex-concave games, and its applications
- Near Input Sparsity Time Kernel Embeddings via Adaptive Sampling cites Oblivious Sketching of High-Degree Polynomial Kernels
- How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computation cites Algorithms and Hardness for Linear Algebra on Geometric Graphs
- How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computation cites Oblivious Sketching of High-Degree Polynomial Kernels
- The Fine-Grained Complexity of Gradient Computation for Training Large Language Models cites Algorithms and Hardness for Linear Algebra on Geometric Graphs
- The Fine-Grained Complexity of Gradient Computation for Training Large Language Models cites How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computation
- The Fine-Grained Complexity of Gradient Computation for Training Large Language Models cites On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis cites The Fine-Grained Complexity of Gradient Computation for Training Large Language Models
- Low Rank Matrix Completion via Robust Alternating Minimization in Nearly Linear Time cites Oblivious Sketching-based Central Path Method for Linear Programming
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis cites Algorithms and Hardness for Linear Algebra on Geometric Graphs
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis cites How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computation
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis cites Low Rank Matrix Completion via Robust Alternating Minimization in Nearly Linear Time
Cited by top-tier papers23
- How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker ComputationJosh Alman, Zhao SongICLR 2024 · 53 citations
- On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity AnalysisJerry Yao-Chieh Hu, Thomas Lin, Zhao Song, Han LiuICML 2024 · 47 citations
- Oblivious Sketching-based Central Path Method for Linear ProgrammingZhao Song, Zheng YuICML 2021 · 40 citations
- Low Rank Matrix Completion via Robust Alternating Minimization in Nearly Linear TimeYuzhou Gu, Zhao Song, Junze Yin, Lichen ZhangICLR 2024 · 37 citations
- The Fine-Grained Complexity of Gradient Computation for Training Large Language ModelsJosh Alman, Zhao SongNeurIPS 2024 · 33 citations
Builds on5
- An improved cutting plane method for convex optimization, convex-concave games, and its applicationsHaotian Jiang, Yin Tat Lee, Zhao Song, Sam Chiu-wai WongSTOC 2020 · 54 citations
- Generalized Leverage Score Sampling for Neural NetworksJason D. Lee, Ruoqi Shen, Zhao Song, Mengdi Wang et al.NeurIPS 2020 · 44 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
- Near Input Sparsity Time Kernel Embeddings via Adaptive SamplingDavid P. Woodruff, Amir ZandiehICML 2020 · 20 citations
- Algorithms and Hardness for Linear Algebra on Geometric GraphsJosh Alman, Timothy Chu, Aaron Schild, Zhao SongFOCS 2020 · 5 citations
Related papers
- Scaling Neural Tangent Kernels via Sketching and Random FeaturesAmir Zandieh, Insu Han, Haim Avron, Neta Shoham et al.NeurIPS 2021 · 42 citations
- Fast Neural Kernel Embeddings for General ActivationsInsu Han, Amir Zandieh, Jaehoon Lee, Roman Novak et al.NeurIPS 2022 · 26 citations
- Fast Graph Neural Tangent Kernel via Kronecker SketchingShunhua Jiang, Yunze Man, Zhao Song, Zheng Yu et al.AAAI 2022 · 9 citations
- Leverage Score Sampling for Tensor Product Matrices in Input Sparsity TimeDavid P. Woodruff, Amir ZandiehICML 2022 · 10 citations
- Towards Understanding Hierarchical Learning: Benefits of Neural RepresentationsMinshuo Chen, Yu Bai, Jason D. Lee, Tuo Zhao et al.NeurIPS 2020 · 61 citations
