Optimal Data-Dependent Hashing for Approximate Near Neighbors

Alexandr Andoni, Ilya Razenshteyn

2015 · 188 citations · 29 references

Concepts

TL;DR

The paper proposes an optimal data‑dependent hashing scheme for the approximate near‑neighbor problem. The data structure achieves query time \(O(d\cdot n^{\rho+o(1)})\) and space \(O(n^{1+\rho+o(1)}+d\cdot n)\) with \(\rho=1/(2c^{2}-1)\) in Euclidean space and \(\rho=1/(2c-1)\) in Hamming space. The new bound is optimal and outperforms the best known LSH data structures for all approximation factors \(c>1\), completing the direction set forth by Andoni et al.

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(n1+ρ+o(1) + d ⋅ n), where ρ=1/(2c2-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.

References

29