Skip to content

Approximate Nearest Neighbor in Ultra-High Dimensional ℓ∞\ell_\infty

Nathan White, Tian Zhang

cs.DS

Abstract

We study the approximate nearest neighbor problem under ℓ∞\ell_\infty in the ultra-high dimensional setting where the dimension dd is significantly larger than the number of points nn. Thus, we desire data structures with no dependence on dd in the query time. [Herold-Nanongkai-Spoerhase-Varma-Wu, SoCG 2025] introduce this problem and give data structures in ℓp\ell_p: for p=1,2p=1,2, they give (1+ε)(1+\varepsilon)-approximation data structures with space O~(nlog⁡d/poly(ε))\tilde{O}(n\log d/\text{poly}(\varepsilon)) and query time O~(n/poly(ε))\tilde{O}(n/\text{poly}(\varepsilon)). Since any data structure must have query time Ω(min⁡{n,d})Ω(\min \{n,d\}), this query time is nearly tight. However, their results are inefficient for ℓ∞\ell_\infty, with query time Ω(nd)Ω(nd). In order to handle the challenges of ℓ∞\ell_\infty, we introduce a notion of subset embeddings, which embed points by simply selecting a subset of dimensions. In particular, we show one may preserve all pairwise distances of an nn point dataset up to a factor of O(c)O(c) by computing distances on only n1+1/cn^{1+1/c} coordinates. We also show a matching lower bound: for any c>1c > 1, there exists a set of nn points in Rd\mathbb{R}^{d} such that any subset embedding for the set with approximation cc must have at least n1+Ω(1/c)n^{1+Ω(1/c)} coordinates. Using our subset embeddings, we give data structures for approximate nearest neighbor in ℓ∞\ell_\infty with space O(n2log⁡d)O(n^2\log d), query time O~(n1+1/c)\tilde{O}(n^{1+1/c}), and approximation O(clog⁡log⁡n)O(c\log\log n) for any c≥1c \geq 1. Finally, we give another data structure for the approximate nearest neighbor under ℓ∞\ell_\infty with the same space and query time as our subset embedding approach, but with approximation O(clog⁡23)≈O(c1.58)O(c^{\log_2 3}) \approx O(c^{1.58}). This allows us to achieve O(1)O(1)-approximation with query time e.g.~n1.01n^{1.01}

Create a lesson