English

Randomized approximate nearest neighbor search with limited adaptivity

Data Structures and Algorithms 2016-02-16 v1

Abstract

We study the fundamental problem of approximate nearest neighbor search in dd-dimensional Hamming space {0,1}d\{0,1\}^d. We study the complexity of the problem in the famous cell-probe model, a classic model for data structures. We consider algorithms in the cell-probe model with limited adaptivity, where the algorithm makes kk rounds of parallel accesses to the data structure for a given kk. For any k1k\ge 1, we give a simple randomized algorithm solving the approximate nearest neighbor search using kk rounds of parallel memory accesses, with O(k(logd)1/k)O(k(\log d)^{1/k}) accesses in total. We also give a more sophisticated randomized algorithm using O(k+(1klogd)O(1/k))O(k+(\frac{1}{k}\log d)^{O(1/k)}) memory accesses in kk rounds for large enough kk. Both algorithms use data structures of size polynomial in nn, the number of points in the database. For the lower bound, we prove an Ω(1k(logd)1/k)\Omega(\frac{1}{k}(\log d)^{1/k}) lower bound for the total number of memory accesses required by any randomized algorithm solving the approximate nearest neighbor search within kloglogd2logloglogdk\le\frac{\log\log d}{2\log\log\log d} rounds of parallel memory accesses on any data structures of polynomial size. This lower bound shows that our first algorithm is asymptotically optimal for any constant round kk. And our second algorithm approaches the asymptotically optimal tradeoff between rounds and memory accesses, in a sense that the lower bound of memory accesses for any k1k_1 rounds can be matched by the algorithm within k2=O(k1)k_2=O(k_1) rounds. In the extreme, for some large enough k=Θ(loglogdlogloglogd)k=\Theta\left(\frac{\log\log d}{\log\log\log d}\right), our second algorithm matches the Θ(loglogdlogloglogd)\Theta\left(\frac{\log\log d}{\log\log\log d}\right) tight bound for fully adaptive algorithms for approximate nearest neighbor search due to Chakrabarti and Regev.

Keywords

Cite

@article{arxiv.1602.04421,
  title  = {Randomized approximate nearest neighbor search with limited adaptivity},
  author = {Mingmou Liu and Xiaoyin Pan and Yitong Yin},
  journal= {arXiv preprint arXiv:1602.04421},
  year   = {2016}
}
R2 v1 2026-06-22T12:49:50.846Z