Even Faster Kernel Matrix Linear Algebra via Density Estimation
Not on the map. Why?
Abstract (arXiv)
This paper studies the use of kernel density estimation (KDE) for linear algebraic tasks involving the kernel matrix of a collection of n data points in mathbb Rd. In particular, we improve upon existing algorithms for computing the following up to (1+varepsilon) relative error: matrix-vector products, matrix-matrix products, the spectral norm, and sum of all entries. The runtimes of our algorithms depend on the dimension d, the number of points n, and the target error varepsilon. Importantly, the dependence on n in each case is far lower when accessing the kernel matrix through KDE queries as opposed to reading individual entries. Our improvements over existing best algorithms (particularly those of Backurs, Indyk, Musco, and Wagner '21) for these tasks reduce the polynomial dependence on varepsilon, and additionally decreases the dependence on n in the case of computing the sum of all entries of the kernel matrix. We complement our upper bounds with several lower bounds for related problems, which provide (conditional) quadratic time hardness results and additionally hint at the limits of KDE based approaches for the problems we study.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 21 of its 34 references that are in the map. First posted on arXiv 2 Oct 2025.
Builds on
21 of 34 references.
References · 21
- 2017Attention Is All You Needcited by 59,932
- 2014Sketching as a Tool for Numerical Linear Algebracited by 285
- 2023Fast Attention Requires Bounded Entriescited by 102
- 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
- 2013Revisiting the Nystrom Method for Improved Large-Scale Machine Learningcited by 76
- 2015Randomized Block Krylov Methods for Stronger and Faster Approximate Singular Value Decompositioncited by 63
- 2023KDEformer: Accelerating Transformers via Kernel Density Estimationcited by 58
- 2015Optimal approximate matrix product in terms of stable rankcited by 37
- 2021Stein's Method Meets Computational Statistics: A Review of Some Recent Developmentscited by 32
- 2020Kernel Density Estimation through Density Constrained Near Neighbor Searchcited by 26
- 2020Algorithms and Hardness for Linear Algebra on Geometric Graphscited by 22
- 2017On the Fine-Grained Complexity of Empirical Risk Minimization: Kernel Methods and Neural Networkscited by 16
9 more
- 2023Optimal Eigenvalue Approximation via Sketchingcited by 9
- 2020Vector-Matrix-Vector Queries for Solving Linear Algebra, Statistics, and Graph Problemscited by 8
- 2021Faster Kernel Matrix Algebra via Density Estimationcited by 7
- 2021Sublinear Time Eigenvalue Approximation via Random Samplingcited by 7
- 2024Efficiently Computing Similarities to Private Datasetscited by 7
- 2024A Quasi-Monte Carlo Data Structure for Smooth Kernel Evaluationscited by 5
- 2025Improved Algorithms for Kernel Matrix-Vector Multiplication Under Sparsity Assumptionscited by 4
- 2020Testing Positive Semi-Definiteness via Random Submatricescited by 3
- 2024Tight Sampling Bounds for Eigenvalue Approximationcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026New Bounds for Kernel Sums via Fast Spherical Embeddingscited by 0
- 2026New Bounds for Kernel Sums via Fast Spherical Embeddings2 May 2026