Tight Lower Bounds for Data-Dependent Locality-Sensitive Hashing

Alexandr Andoni, Ilya P. RazenshteynSoCG 2015 · DOI

Abstract

This paper establishes the fundamental theoretical limits of data-dependent Locality-Sensitive Hashing (LSH) for the $\ell_1$ distance. By formalizing the constraints of succinctness in hash function descriptions, the authors prove that the best possible search exponent is $\rho = 1/(2c-1)$. This result exactly matches the performance of current state-of-the-art algorithms, confirming that data-dependent hashing provides a roughly two-fold improvement over traditional data-independent methods and effectively closing the theoretical gap for this class of algorithms.

Introduction

The "curse of dimensionality" remains a primary obstacle in high-dimensional computational geometry. As the number of dimensions ($d$) increases, finding the exact nearest neighbor to a query point becomes computationally prohibitive, often requiring exponential time or space. To mitigate this, researchers utilize Approximate Nearest Neighbor (ANN) search, which seeks a point within a distance $cr$ of a query (where $c > 1$ is the approximation factor).

Locality-Sensitive Hashing (LSH) has long been the gold standard for ANN. Traditional LSH is "data-independent," meaning hash functions are selected prior to observing the dataset. For the $\ell_1$ (Manhattan) distance, the optimal performance exponent for these methods is known to be $\rho = 1/c$. However, recent developments in "data-dependent" hashing—where functions adapt to the specific distribution of the data—demonstrated that an exponent of $\rho \approx 1/(2c-1)$ was achievable. This paper addresses whether this exponent represents the absolute physical limit of the approach.

Defining the Data-Dependent Model

A significant challenge in proving lower bounds for data-dependent hashing is preventing "trivial" solutions. Without constraints, a data-dependent hash function could simply store the entire dataset as a Voronoi diagram. While this would yield a perfect collision probability ($\rho=0$), the description of the hash function would be as large as the dataset itself, and querying it would be as slow as the original search problem.

To address this, the authors introduce a requirement of succinctness. In this model, the "description complexity" of the hash functions must be limited relative to the dataset size. This ensures that the hashing scheme remains computationally efficient and does not merely offload the search complexity into the function's description.

Methodology

The proof for the tight lower bound is constructed through a three-part theoretical framework:

  1. Lower Bounds for Random Datasets: The authors first establish a lower bound for data-independent LSH specifically for datasets composed of random, uncorrelated points, strengthening previous foundational work in the field.
  2. The Reduction Bridge: The core of the proof demonstrates that if a highly efficient data-dependent hashing scheme existed for a random dataset, it could be mathematically transformed into an equally efficient data-independent scheme.
  3. Analytic Tools: The proof utilizes Fourier analysis on the hypercube and concentration inequalities, specifically McDiarmid’s inequality, to analyze the behavior of distances during random walks in high-dimensional space.

By proving that an efficient data-independent scheme is impossible for these cases, the authors show by extension that a data-dependent scheme exceeding the $1/(2c-1)$ limit is also impossible.

Key Results and Insights

Optimality Confirmed

The primary result of the paper is that for $\ell_1$ space, any data-dependent LSH scheme must satisfy: $$\rho \ge \frac{1}{2c-1} - o(1)$$ This matches the upper bound achieved by the Andoni-Razenshteyn algorithm (STOC'15). Consequently, the search for more efficient LSH algorithms in $\ell_1$ has reached its theoretical conclusion for the high-dimensional regime.

Generalization to $\ell_p$ Spaces

Using known metric embeddings, the authors extend their results to $\ell_p$ spaces for $1 \le p \le 2$. They establish a lower bound of: $$\rho \ge \frac{1}{2c^p-1} - o(1)$$

The Power of Adaptation

The findings confirm that the ability to "see" the data distribution allows for a fundamental leap in efficiency. Moving from the data-independent $1/c$ to the data-dependent $1/(2c-1)$ essentially doubles the efficiency of the search exponent, providing a rigorous justification for the shift toward adaptive algorithms in modern ANN implementations.

Limitations and Future Directions

While this work closes a major theoretical gap, several avenues for future research remain:

  • Dimensionality Constraints: The proof assumes high dimensionality ($d = \omega(\log n)$). It remains conjectured that in lower-dimensional settings ($d = O(\log n)$), better results might be possible.
  • Query Time vs. Succinctness: The paper uses description complexity (succinctness) as a proxy for efficiency. Developing a lower bound based directly on query time (e.g., within the cell-probe model) remains a significant challenge.
  • Metric Spaces beyond $p=2$: While the bounds are tight for $1 \le p \le 2$, exploring tight bounds for $p > 2$ or more complex metric spaces is an open area of study.

Summary updated

BibTeX
@inproceedings{andoni2015tight,
  author = {Alexandr Andoni and Ilya P. Razenshteyn},
  title = {{Tight Lower Bounds for Data-Dependent Locality-Sensitive Hashing}},
  booktitle = {SoCG},
  year = {2015},
  doi = {10.4230/lipics.socg.2016.9},
}
Figure