[Paper Review] Local Density Estimation in High Dimensions
This paper proposes LSH Count and Multi-Probe Count, two locality-sensitive hashing-based estimators for efficiently and accurately counting points within a specified angular distance in high-dimensional vector spaces. By leveraging multiple bucket sampling and importance weighting, the methods achieve significantly improved accuracy and reduced sample complexity compared to prior approaches, especially on word embedding datasets like GLOVE.
An important question that arises in the study of high dimensional vector representations learned from data is: given a set $\mathcal{D}$ of vectors and a query $q$, estimate the number of points within a specified distance threshold of $q$. We develop two estimators, LSH Count and Multi-Probe Count that use locality sensitive hashing to preprocess the data to accurately and efficiently estimate the answers to such questions via importance sampling. A key innovation is the ability to maintain a small number of hash tables via preprocessing data structures and algorithms that sample from multiple buckets in each hash table. We give bounds on the space requirements and sample complexity of our schemes, and demonstrate their effectiveness in experiments on a standard word embedding dataset.
Motivation & Objective
- To address the challenge of efficiently estimating the number of high-dimensional vectors within a given angular distance of a query point.
- To develop practical and theoretically grounded methods for density estimation in high-dimensional spaces where traditional methods suffer from the curse of dimensionality.
- To reduce storage and sample complexity compared to existing LSH-based estimators that rely on a single bucket per table.
- To improve accuracy in neighborhood counting for applications such as word embeddings, recommendation systems, and outlier detection.
- To provide provable bounds on space and sample complexity while maintaining practical efficiency on real-world datasets.
Proposed method
- The LSH Count estimator uses multiple hash tables and samples from multiple buckets per table to estimate the number of points within a target angular radius of a query.
- Importance weighting is applied to samples based on their likelihood of being within the desired distance, reducing variance in the estimate.
- The Multi-Probe Count estimator extends this by using a probing strategy that prioritizes buckets with higher collision probabilities for the target distance, further improving efficiency.
- Both methods use locality-sensitive hashing functions designed for angular distance (e.g., using random projections for cosine similarity).
- Theoretical analysis provides bounds on space requirements and sample complexity, ensuring dimension-free performance guarantees.
- The approach combines variance reduction techniques—multiple buckets per table and importance sampling—to minimize estimation error under resource constraints.
Experimental results
Research questions
- RQ1Can we design an LSH-based estimator that achieves high accuracy in high-dimensional density estimation with low storage and sample complexity?
- RQ2How does sampling from multiple buckets per hash table affect the variance and accuracy of neighborhood counting?
- RQ3To what extent does importance weighting improve estimation accuracy compared to uniform sampling from buckets?
- RQ4How do LSH Count and Multi-Probe Count compare to existing methods like multi-probe and the estimator in [SS17] in terms of accuracy and efficiency?
- RQ5What is the impact of query-specific neighborhood size on estimator performance, especially for sparse versus dense neighborhoods?
Key findings
- LSH Count achieves multiple orders of magnitude higher accuracy than competing methods when estimating the number of words within 60 degrees of a query in GLOVE embeddings, under practical resource constraints.
- Multi-Probe Count outperforms standard multi-probe by using importance weighting, especially for denser queries like 'cake' and 'book' with larger neighborhoods.
- For very sparse queries like 'venice' (12 neighbors), Multi-Probe Count outperforms multi-probe up to 10 tables, though performance gains diminish beyond that.
- LSH Count performs better than Multi-Probe Count for 'book' when a good Hamming threshold (e.g., 2 bits) is selected, indicating sensitivity to parameter tuning.
- The combination of multiple bucket sampling and importance weighting leads to significant variance reduction, enabling accurate estimation with fewer samples.
- Experimental results show that both estimators maintain strong performance across varying query densities and are robust to contamination from non-interesting elements in high-probability buckets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.