SODA Conference 2023 Conference Paper
- MohammadHossein Bateni
- Hossein Esfandiari
- Hendrik Fichtenberger
- Monika Henzinger
- Rajesh Jayaram
- Vahab Mirrokni
- Andreas Wiese
In fully dynamic clustering problems, a clustering of a given data set in a metric space must be maintained while it is modified through insertions and deletions of individual points. In this paper, we resolve the complexity of fully dynamic k -center clustering against both adaptive and oblivious adversaries. Against oblivious adversaries, we present the first algorithm for fully dynamic k -center in an arbitrary metric space that maintains an optimal (2 + ε)-approximation in O ( k · polylog( n, Δ)) amortized update time. Here, n is an upper bound on the number of active points at any time, and Δ is the aspect ratio of the metric space. Previously, the best known amortized update time was O ( k 2 · polylog( n, Δ)), and is due to Chan, Gourqin, and Sozio (2018). Moreover, we demonstrate that our runtime is optimal up to polylog( n, Δ) factors. In fact, we prove that even offline algorithms for k -clustering tasks in arbitrary metric spaces, including k -medians, k -means, and k -center, must make at least Ω( nk ) distance queries to achieve any non-trivial approximation factor. This implies a lower bound of Ω( k ) which holds even for the insertions-only setting. For adaptive adversaries, we give the first deterministic algorithm for fully dynamic k -center which achieves a approximation in O ( k -polylog( n, Δ)) amortized update time. Further, we demonstrate that any algorithm which achieves a -approximation against adaptive adversaries requires f (k, n) update time, for any arbitrary function f. Thus, in the regime where, we close the complexity of the problem up to polylog( n, Δ) factors in the update time. Our lower bound extends to other k -clustering tasks in arbitrary metric spaces, including k -medians and k -means. Finally, despite the aforementioned lower bounds, we demonstrate that an update time sublinear in k is possible against oblivious adversaries for metric spaces which admit locally sensitive hash functions (LSH), resulting in improved algorithms for a large class of metrics including Euclidean space, ℓ p -spaces, the Hamming Metric, and the Jaccard Metric. We also give the first fully dynamic O (1)-approximation algorithms for the closely related k -sum-of-radii and k -sum-of-diameter problems, with O (poly( k, log Δ)) update time.