Back to search

Chalmers University of Technology

Dynamic Kernel Density Estimation using Approximate Nearest Neighbor Search - A Dynamic Extension of the DEANN Algorithm

Abstract

dc:description.abstract

Kernel Density Estimation (KDE) is a nonparametric method for estimating an unknown density from observed data. Exact KDE evaluates every data point for each query, which becomes expensive for large datasets. DEANN reduces this cost in the static setting by combining approximate nearest neighbor search with random sampling, but assumes that the dataset is fixed after preprocessing. This thesis extends DEANN to a dynamic setting where points can be inserted and deleted. The implemented Dynamic ANN Estimator (DAE) maintains a dynamic ANN component together with a dynamic random-sampling structure, allowing KDE queries to be evaluated against the current active dataset. The implementation is evaluated against an exact dynamic naïve KDE baseline on several benchmark datasets. The results show that DAE can reduce query time once the active dataset is sufficiently large. However, this comes at the cost of substantially higher construction and update time due to ANN maintenance. Experiments with longer update sequences indicate that query time and approximation error remain stable over repeated updates. These results suggest that dynamic DEANN is most suitable for large, query-heavy dynamic KDE workloads where the maintained estimator can be reused for many queries.

Degree

thesis:*
Level thesis:degree_level
H
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data och informationsteknik
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Algeskog, Gustaf
  • Leesment, Zackarias
Advisor dc:contributor.supervisor
  • Karppa, Matti
Committee member dc:contributor.committeemember
  • Karppa, Matti

Subjects

dc:subject × 1

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Algeskog, Gustaf; Leesment, Zackarias. Dynamic Kernel Density Estimation using Approximate Nearest Neighbor Search - A Dynamic Extension of the DEANN Algorithm. H thesis, 2026. https://hdl.handle.net/20.500.12380/311932