Skip to content

Space-Time Tradeoffs for Proximity Searching in Doubling Spaces

Sunil Arya, David M. Mount, Antoine Vigneron, Jian Xia

cs.CG

Abstract

We study space-time tradeoffs for (1+ε)(1 + \varepsilon)-approximate nearest-neighbor searching among nn sites in an ambient metric space of doubling dimension dim\mathrm{dim}. Such tradeoffs are known in Euclidean space, but in the standard black-box model of doubling spaces, the polynomial dependence on 1/ε1/\varepsilon in query time cannot generally be transferred to storage. To achieve our results, we extend the model to permit stored auxiliary ambient-space points. For 0<ε≤1/20 < \varepsilon \leq 1/2 and 2≤γ≤1/ε2 \leq γ\leq 1/\varepsilon, we prove that there exists a data structure, called an approximate Voronoi diagram (AVD), that uses 2O(dim)nγdimlog⁡(1/ε)2^{O(\mathrm{dim})} n γ^{\mathrm{dim}} \log(1/\varepsilon) storage and answers queries in 2O(dim)(log⁡(nγ)+(1/(εγ))dim)2^{O(\mathrm{dim})} \bigl(\log(nγ) + (1/(\varepsilonγ))^{\mathrm{dim}}\bigr) time. As γγ increases toward 1/ε1/\varepsilon, the polynomial dependence on 1/ε1/\varepsilon shifts from query time to storage. A variant of the high-space construction stores one site per AVD cell and achieves 2O(dim)n(1/ε)dimlog⁡(1/ε)2^{O(\mathrm{dim})} n (1/\varepsilon)^{\mathrm{dim}} \log(1/\varepsilon) storage and 2O(dim)log⁡(n/ε)2^{O(\mathrm{dim})} \log(n/\varepsilon) query time. The main ingredient is a hierarchical, searchable data structure called a region-DAG, whose cells are metric balls and differences of concentric metric balls. Given access to a \emph{doubling oracle} that covers a given ball in 2O(dim)2^{O(\mathrm{dim})} time with 2O(dim)2^{O(\mathrm{dim})} balls of half its radius centered at ambient-space points, both constructions admit randomized preprocessing in expected time 2O(dim)n(1/ε)dim2^{O(\mathrm{dim})} n (1/\varepsilon)^{\mathrm{dim}} up to logarithmic factors. Queries are deterministic after preprocessing and do not require the oracle.

Create a lesson