Density Estimation via Locality Sensitive Hashing

This direction is split into other directions: locality-sensitive hashing for density estimation. Its last version stays readable and citable here.

Version 1 of 121 papers27 conceptsfrozen 2026-10-04

In high-dimensional spaces, traditional density estimation methods like Kernel Density Estimation (KDE) or $k$-nearest neighbors ($k$-NN) suffer from the "curse of dimensionality." As the number of dimensions grows, the computational cost of calculating pairwise distances becomes prohibitive, often scaling quadratically with the number of data points. A growing body of research, led by researchers like Anshumali Shrivastava, Piotr Indyk, and Alfred O. Hero III, suggests a powerful alternative: repurposing Locality Sensitive Hashing (LSH) from a search tool into a statistical estimator.

From Searching to Counting

The core intuition behind this shift is that LSH naturally groups similar points into the same "buckets." While LSH is typically used to find the nearest neighbor of a query point, it can also be used to estimate the density of the space surrounding that point. If a hash bucket contains many points, that region of the feature space is dense; if it contains few, the region is sparse.

By treating hash collisions as proxies for proximity, algorithms like ACE and RACE can estimate local density using simple counters. This replaces expensive floating-point distance calculations with integer increments in a hash table. This mechanism allows for sub-linear memory usage and near-constant time lookups, enabling real-time anomaly detection on high-speed data streams.

Accelerating Classical Algorithms

This "hashing-as-estimation" framework is being used to revitalize classical machine learning tasks that were previously too slow for massive datasets:

  • Clustering: Hossein Esfandiari and colleagues demonstrated that DBSCAN can run in near-linear time by using LSH-based grid partitioning to approximate density level sets, achieving 100x speedups over traditional implementations.
  • Information Theory: Morteza Noshad and Alfred O. Hero developed EDGE, which uses LSH to partition data into discrete bins. This transforms the global search for dependencies into a local binning problem, allowing for the estimation of Mutual Information in linear time.
  • Optimal Transport: In Fast Algorithms for a New Relaxation of Optimal Transport, Beidi Chen and Erik Waingarten integrate LSH into the optimization process to perform sub-linear time KDE, bypassing the quadratic bottleneck of Earth Mover’s Distance.

Solving the Low-Density Problem

A significant advantage of hashing-based estimation is its performance in sparse regions. Standard random sampling is often inefficient in low-density areas because the probability of hitting a relevant neighbor is low. Arturs Backurs and Tal Wagner showed that tailored hash functions can specifically target these high-contribution neighbors, providing a significant performance boost where random sampling fails.

This capability is particularly useful for outlier detection and active learning, where identifying points in sparse, informative regions of the feature space is critical for model performance. By using LSH as a density-aware filter, researchers can prioritize the most "uncertain" data points without the overhead of exhaustive pairwise comparisons.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_density_estimation_via_locality_sensitiv_8afb5aff,
  title = {Density Estimation via Locality Sensitive Hashing},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/density-estimation-via-locality-sensitive-hashing/rdr_8afb5aff8c7748c0951fcb9018154e34},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_density_estimation_via_locality_sensitiv_8afb5aff_v1,
  title = {Density Estimation via Locality Sensitive Hashing},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/density-estimation-via-locality-sensitive-hashing/rdr_8afb5aff8c7748c0951fcb9018154e34/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}