Arrow Research search
Back to STOC

STOC 2015

Optimal Data-Dependent Hashing for Approximate Near Neighbors

Conference Paper Session 10A Algorithms and Complexity · Theoretical Computer Science

Abstract

We show an optimal data-dependent hashing scheme for the approximate near neighbor problem. For an n-point dataset in a d-dimensional space our data structure achieves query time O(d ⋅ n ρ+o(1) ) and space O(n 1+ρ+o(1) + d ⋅ n), where ρ=1/(2c 2 -1) for the Euclidean space and approximation c>1. For the Hamming space, we obtain an exponent of ρ=1/(2c-1). Our result completes the direction set forth in (Andoni, Indyk, Nguyen, Razenshteyn 2014) who gave a proof-of-concept that data-dependent hashing can outperform classic Locality Sensitive Hashing (LSH). In contrast to (Andoni, Indyk, Nguyen, Razenshteyn 2014), the new bound is not only optimal, but in fact improves over the best (optimal) LSH data structures (Indyk, Motwani 1998) (Andoni, Indyk 2006) for all approximation factors c>1. From the technical perspective, we proceed by decomposing an arbitrary dataset into several subsets that are, in a certain sense, pseudo-random.

Authors

Keywords

  • data structures
  • decision trees
  • high-dimensional geometry
  • similarity search
  • theory

Context

Venue
ACM Symposium on Theory of Computing
Archive span
1969-2025
Indexed papers
4364
Paper id
707773374211572274
v2026.09.13