We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DS

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Data Structures and Algorithms

Title: DEANN: Speeding up Kernel-Density Estimation using Approximate Nearest Neighbor Search

Abstract: Kernel Density Estimation (KDE) is a nonparametric method for estimating the shape of a density function, given a set of samples from the distribution. Recently, locality-sensitive hashing, originally proposed as a tool for nearest neighbor search, has been shown to enable fast KDE data structures. However, these approaches do not take advantage of the many other advances that have been made in algorithms for nearest neighbor algorithms. We present an algorithm called Density Estimation from Approximate Nearest Neighbors (DEANN) where we apply Approximate Nearest Neighbor (ANN) algorithms as a black box subroutine to compute an unbiased KDE. The idea is to find points that have a large contribution to the KDE using ANN, compute their contribution exactly, and approximate the remainder with Random Sampling (RS). We present a theoretical argument that supports the idea that an ANN subroutine can speed up the evaluation. Furthermore, we provide a C++ implementation with a Python interface that can make use of an arbitrary ANN implementation as a subroutine for kernel density estimation. We show empirically that our implementation outperforms state of the art implementations in all high dimensional datasets we considered, and matches the performance of RS in cases where the ANN yield no gains in performance.
Comments: 35 pages, 1 figure. AISTATS 2022
Subjects: Data Structures and Algorithms (cs.DS); Machine Learning (cs.LG)
Cite as: arXiv:2107.02736 [cs.DS]
  (or arXiv:2107.02736v2 [cs.DS] for this version)

Submission history

From: Matti Karppa [view email]
[v1] Tue, 6 Jul 2021 17:11:28 GMT (133kb,D)
[v2] Tue, 1 Mar 2022 10:36:57 GMT (538kb,D)

Link back to: arXiv, form interface, contact.