English

Finer-Grained Hardness of Kernel Density Estimation

Data Structures and Algorithms 2024-07-03 v1 Numerical Analysis Numerical Analysis

Abstract

In batch Kernel Density Estimation (KDE) for a kernel function ff, we are given as input 2n2n points x(1),,x(n),y(1),,y(n)x^{(1)}, \cdots, x^{(n)}, y^{(1)}, \cdots, y^{(n)} in dimension mm, as well as a vector vRnv \in \mathbb{R}^n. These inputs implicitly define the n×nn \times n kernel matrix KK given by K[i,j]=f(x(i),y(j))K[i,j] = f(x^{(i)}, y^{(j)}). The goal is to compute a vector vv which approximates KwK w with Kwv<εw1|| Kw - v||_\infty < \varepsilon ||w||_1. A recent line of work has proved fine-grained lower bounds conditioned on SETH. Backurs et al. first showed the hardness of KDE for Gaussian-like kernels with high dimension m=Ω(logn)m = \Omega(\log n) and large scale B=Ω(logn)B = \Omega(\log n). Alman et al. later developed new reductions in roughly this same parameter regime, leading to lower bounds for more general kernels, but only for very small error ε<2logΩ(1)(n)\varepsilon < 2^{- \log^{\Omega(1)} (n)}. In this paper, we refine the approach of Alman et al. to show new lower bounds in all parameter regimes, closing gaps between the known algorithms and lower bounds. In the setting where m=Clognm = C\log n and B=o(logn)B = o(\log n), we prove Gaussian KDE requires n2o(1)n^{2-o(1)} time to achieve additive error ε<Ω(m/B)m\varepsilon < \Omega(m/B)^{-m}, matching the performance of the polynomial method up to low-order terms. In the low dimensional setting m=o(logn)m = o(\log n), we show that Gaussian KDE requires n2o(1)n^{2-o(1)} time to achieve ε\varepsilon such that loglog(ε1)>Ω~((logn)/m)\log \log (\varepsilon^{-1}) > \tilde \Omega ((\log n)/m), matching the error bound achievable by FMM up to low-order terms. To our knowledge, no nontrivial lower bound was previously known in this regime. Our new lower bounds make use of an intricate analysis of a special case of the kernel matrix -- the `counting matrix'. As a key technical lemma, we give a novel approach to bounding the entries of its inverse by using Schur polynomials from algebraic combinatorics.

Keywords

Cite

@article{arxiv.2407.02372,
  title  = {Finer-Grained Hardness of Kernel Density Estimation},
  author = {Josh Alman and Yunfeng Guan},
  journal= {arXiv preprint arXiv:2407.02372},
  year   = {2024}
}

Comments

30 pages, to appear in the 39th Computational Complexity Conference (CCC 2024)

R2 v1 2026-06-28T17:26:45.692Z