Graph-based time-space trade-offs for approximate near neighbors

12/08/2017
by   Thijs Laarhoven, et al.
0

We take a first step towards a rigorous asymptotic analysis of graph-based approaches for finding (approximate) nearest neighbors in high-dimensional spaces, by analyzing the complexity of (randomized) greedy walks on the approximate near neighbor graph. For random data sets of size n = 2^o(d) on the d-dimensional Euclidean unit sphere, using near neighbor graphs we can provably solve the approximate nearest neighbor problem with approximation factor c > 1 in query time n^ρ_q + o(1) and space n^1 + ρ_s + o(1), for arbitrary ρ_q, ρ_s ≥ 0 satisfying (2c^2 - 1) ρ_q + 2 c^2 (c^2 - 1) √(ρ_s (1 - ρ_s))≥ c^4. Graph-based near neighbor searching is especially competitive with hash-based methods for small c and near-linear memory, and in this regime the asymptotic scaling of a greedy graph-based search matches the recent optimal hash-based trade-offs of Andoni-Laarhoven-Razenshteyn-Waingarten [SODA'17]. We further study how the trade-offs scale when the data set is of size n = 2^Θ(d), and analyze asymptotic complexities when applying these results to lattice sieving.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/10/2023

A Theoretical Analysis Of Nearest Neighbor Search On Approximate Near Neighbor Graph

Graph-based algorithms have demonstrated state-of-the-art performance in...
research
07/01/2019

Graph-based Nearest Neighbor Search: From Practice to Theory

Graph-based approaches are empirically shown to be very successful for a...
research
05/30/2023

AdANNS: A Framework for Adaptive Semantic Search

Web-scale search systems learn an encoder to embed a given query which i...
research
01/08/2020

Nullstellensatz Size-Degree Trade-offs from Reversible Pebbling

We establish an exactly tight relation between reversible pebblings of g...
research
06/04/2020

Sample Efficient Graph-Based Optimization with Noisy Observations

We study sample complexity of optimizing "hill-climbing friendly" functi...
research
07/10/2019

Approximate Voronoi cells for lattices, revisited

We revisit the approximate Voronoi cells approach for solving the closes...
research
07/22/2022

Graph-Based Tests for Multivariate Covariate Balance Under Multi-Valued Treatments

We propose the use of non-parametric, graph-based tests to assess the di...

Please sign up or login with your details

Forgot password? Click here to reset