ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1712.03158
56
19

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

8 December 2017
Thijs Laarhoven
ArXivPDFHTML
Abstract

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=2o(d)n = 2^{o(d)}n=2o(d) on the ddd-dimensional Euclidean unit sphere, using near neighbor graphs we can provably solve the approximate nearest neighbor problem with approximation factor c>1c > 1c>1 in query time nρq+o(1)n^{\rho_q + o(1)}nρq​+o(1) and space n1+ρs+o(1)n^{1 + \rho_s + o(1)}n1+ρs​+o(1), for arbitrary ρq,ρs≥0\rho_q, \rho_s \geq 0ρq​,ρs​≥0 satisfying \begin{align} (2c^2 - 1) \rho_q + 2 c^2 (c^2 - 1) \sqrt{\rho_s (1 - \rho_s)} \geq c^4. \end{align} Graph-based near neighbor searching is especially competitive with hash-based methods for small ccc 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)n = 2^{\Theta(d)}n=2Θ(d), and analyze asymptotic complexities when applying these results to lattice sieving.

View on arXiv
Comments on this paper