English

Optimal Data-Dependent Hashing for Approximate Near Neighbors

Data Structures and Algorithms 2015-07-17 v3

Abstract

We show an optimal data-dependent hashing scheme for the approximate near neighbor problem. For an nn-point data set in a dd-dimensional space our data structure achieves query time O(dnρ+o(1))O(d n^{\rho+o(1)}) and space O(n1+ρ+o(1)+dn)O(n^{1+\rho+o(1)} + dn), where ρ=12c21\rho=\tfrac{1}{2c^2-1} for the Euclidean space and approximation c>1c>1. For the Hamming space, we obtain an exponent of ρ=12c1\rho=\tfrac{1}{2c-1}. Our result completes the direction set forth in [AINR14] who gave a proof-of-concept that data-dependent hashing can outperform classical Locality Sensitive Hashing (LSH). In contrast to [AINR14], the new bound is not only optimal, but in fact improves over the best (optimal) LSH data structures [IM98,AI06] for all approximation factors c>1c>1. From the technical perspective, we proceed by decomposing an arbitrary dataset into several subsets that are, in a certain sense, pseudo-random.

Keywords

Cite

@article{arxiv.1501.01062,
  title  = {Optimal Data-Dependent Hashing for Approximate Near Neighbors},
  author = {Alexandr Andoni and Ilya Razenshteyn},
  journal= {arXiv preprint arXiv:1501.01062},
  year   = {2015}
}

Comments

36 pages, 5 figures, an extended abstract appeared in the proceedings of the 47th ACM Symposium on Theory of Computing (STOC 2015)

R2 v1 2026-06-22T07:51:55.672Z