High-dimensional Spherical Range Reporting by Output-Sensitive Multi-Probing LSH

Thomas D. Ahle, Martin Aumüller, Rasmus Pagh

Introduction

In high-dimensional computational geometry, the "spherical range reporting" problem—finding all points within a distance $r$ of a query point—is a fundamental task with applications in machine learning, computer vision, and information retrieval. However, as dimensionality increases, traditional indexing methods succumb to the "curse of dimensionality," often performing no better than a brute-force linear scan. Locality-Sensitive Hashing (LSH) has long been the standard approximate solution, but it suffers from a significant drawback: its performance is highly sensitive to parameter tuning, which is typically done globally and statically.

The Challenge of Varying Density

Illustration of spherical range reporting with varying local point densities. High-dimensional Spherical Range Reporting by Output-Sensitive Multi-Probing LSH, page 3

Illustration of spherical range reporting with varying local point densities.

As shown in Figure 1, query points can land in regions with vastly different local densities. A query $q_1$ might be in a sparse region, while $q_3$ is in a dense cluster. Traditional LSH uses fixed parameters—such as the number of hash functions $k$ and the number of tables $L$—optimized for the dataset's average case. In dense regions, this leads to excessive collisions and redundant work, sometimes making LSH slower than a linear scan. In sparse regions, it may be unnecessarily conservative. The goal is an "output-sensitive" algorithm that adapts its computational effort to the number of points $t$ it needs to report.

Proposed Method: Adaptive Multi-Level LSH

The authors propose a "parameter-free" LSH framework that automatically tunes itself at query time. The core innovation rests on two pillars: a multi-level data structure and an adaptive probing strategy.

  1. Multi-level Structure: Instead of a single hash length, the point set is stored across multiple levels of granularity. This allows the algorithm to dynamically select the optimal "zoom level" based on the local density around the query point. By inspecting the occupancy of hash buckets at different levels, the algorithm can estimate the work required and stop at a level that is provably near-optimal.
  2. Adaptive Probing: The authors extend this to multi-probing. While traditional LSH only checks the exact bucket the query hashes into, multi-probing explores "nearby" buckets. The proposed algorithm uses a priority queue to navigate the trade-off between hash length and the number of probes, finding the most efficient path for each specific query. This process is guided by a local "expansion" factor ($c^*$), which measures how the number of points grows as the search radius increases, allowing the algorithm to exploit local geometry for further speedups.

Theoretical Performance and Key Results

Comparison of query work $W$ versus output size $t$ for different LSH strategies. High-dimensional Spherical Range Reporting by Output-Sensitive Multi-Probing LSH, page 4

Comparison of query work $W$ versus output size $t$ for different LSH strategies.

The theoretical analysis demonstrates a significant improvement over standard LSH. Traditional range reporting often has a running time complexity of $O(t n^\rho)$, where $\rho$ is the LSH quality parameter. This paper shows that an adaptive approach can achieve a query time of $O((n/t)^\rho)$, which scales much better as the output size $t$ increases.

As illustrated in Figure 2, the "Single-probe" and "Multi-probe" variants significantly outperform "Naive LSH" as the number of reported points $t$ grows. The multi-probing variant, in particular, approaches the "gold standard" complexity of $O(n^\rho + t)$, where the overhead of the data structure is balanced against the unavoidable cost of reporting the results. This represents a breakthrough in breaking the $O(t n^\rho)$ barrier that has limited LSH-based range reporting.

Conclusion

This work represents a major step toward practical, self-tuning high-dimensional indexing. By making LSH output-sensitive and parameter-free, the authors remove the need for manual heuristic tuning and provide a robust solution that handles varying data densities gracefully. While currently focused on Hamming space, the principles of adaptive multi-level probing offer a promising roadmap for improving range reporting in Euclidean and other metric spaces.

Summary updated

BibTeX
@inproceedings{ahle2017high,
  author = {Thomas D. Ahle and Martin Aumüller and Rasmus Pagh},
  title = {{High-dimensional Spherical Range Reporting by Output-Sensitive Multi-Probing LSH}},
  booktitle = {SODA},
  year = {2017},
  doi = {10.1137/1.9781611974782.16},
}
Figure