Improved Algorithms for Kernel Matrix-Vector Multiplication Under Sparsity Assumptions

July 31, 2025 ยท Declared Dead ยท ๐Ÿ› International Conference on Learning Representations

๐Ÿ‘ป CAUSE OF DEATH: Ghosted
No code link whatsoever

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors Piotr Indyk, Michael Kapralov, Kshiteej Sheth, Tal Wagner arXiv ID 2507.23539 Category cs.LG: Machine Learning Cross-listed cs.DS Citations 2 Venue International Conference on Learning Representations Last Checked 5 months ago
Abstract
Motivated by the problem of fast processing of attention matrices, we study fast algorithms for computing matrix-vector products for asymmetric Gaussian Kernel matrices $K\in \mathbb{R}^{n\times n}$. $K$'s columns are indexed by a set of $n$ keys $k_1,k_2\ldots, k_n\in \mathbb{R}^d$, rows by a set of $n$ queries $q_1,q_2,\ldots,q_n\in \mathbb{R}^d $, and its $i,j$ entry is $K_{ij} = e^{-\|q_i-k_j\|_2^2/2ฯƒ^2}$ for some bandwidth parameter $ฯƒ>0$. Given a vector $x\in \mathbb{R}^n$ and error parameter $ฮต>0$, our task is to output a $y\in \mathbb{R}^n$ such that $\|Kx-y\|_2\leq ฮต\|x\|_2$ in time subquadratic in $n$ and linear in $d$. Our algorithms rely on the following modelling assumption about the matrices $K$: the sum of the entries of $K$ scales linearly in $n$, as opposed to worst case quadratic growth. We validate this assumption experimentally, for Gaussian kernel matrices encountered in various settings such as fast attention computation in LLMs. We obtain the first subquadratic-time algorithm that works under this assumption, for unrestricted vectors.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Machine Learning

Died the same way โ€” ๐Ÿ‘ป Ghosted