Skip to content

Finding the Farthest in High Dimensions: Dynamic Diameter and Farthest-Neighbor Search

Mohammad Hajiaghayi, Morteza Monemizadeh

cs.DS

Abstract

We give algorithms for maintaining diameter in the dynamic model, and for answering farthest-neighbor queries on a fixed point set, in high-dimensional Euclidean space. For every fixed 1<c<21<c<\sqrt2, update horizon tt, and error probability δδ, we maintain an actual factor-cc diameter pair with worst-case update time n2/c2−1polyc(d,log⁡(2nt/δ))n^{2/c^2-1}\text{poly}_c(d,\log(2nt/δ)) and space n2/c2polyc(d,log⁡(2nt/δ))n^{2/c^2}\text{poly}_c(d,\log(2nt/δ)). Here nn bounds the number of active point identities. The update exponent improves Indyk&#39;s SODA~2003 bound from 1/c21/c^2 to 2/c2−12/c^2-1, while the space exponent improves from 1+1/c21+1/c^2 to 2/c22/c^2. At c=3/2c=\sqrt{3/2}, the update exponent decreases from 2/32/3 to 1/31/3. A separate construction achieves approximation exactly 2\sqrt2 with update time polynomial in dd and log⁡(2nt/δ)\log(2nt/δ). With probability at least 1−δ1-δ, every maintained answer during the first tt updates is correct, even when updates depend on all previous answers and random choices. A second construction improves the update exponent when the space exponent is close to one. On rational inputs, it has an always-correct variant with expected amortized update bounds over every fixed finite prefix of an adaptive execution, without an advance update horizon. The dynamic structures store a current answer, so reporting its two point identifiers takes constant time. The geometric method also gives static diameter algorithms and a farthest-neighbor structure for a fixed set that answers arbitrary adaptive queries. At approximation 2−ε\sqrt2-\varepsilon, the diameter time is n1+O(ε)n^{1+O(\varepsilon)}, and the query time is nO(ε)+o(1)n^{O(\varepsilon)+o(1)} with near-linear preprocessing and space, up to polynomial input-parameter factors.

Create a lesson