Table of Contents
Fetching ...

Fully Dynamic $k$-Median with Near-Optimal Update Time and Recourse

Sayan Bhattacharya, Martín Costa, Ermiya Farokhnejad

TL;DR

This work designs the first dynamic algorithm with near-optimal guarantees across all three performance measures (up to a constant factor in approximation ratio, and polylogarithmic factors in recourse and update time) and obtains a $O(1)-approximation algorithm for dynamic metric $k$-median with $\tilde{O}(1)$ recourse and $\tilde{O}(k)$ update time.

Abstract

In metric $k$-clustering, we are given as input a set of $n$ points in a general metric space, and we have to pick $k$ centers and cluster the input points around these chosen centers, so as to minimize an appropriate objective function. In recent years, significant effort has been devoted to the study of metric $k$-clustering problems in a dynamic setting, where the input keeps changing via updates (point insertions/deletions), and we have to maintain a good clustering throughout these updates. The performance of such a dynamic algorithm is measured in terms of three parameters: (i) Approximation ratio, which signifies the quality of the maintained solution, (ii) Recourse, which signifies how stable the maintained solution is, and (iii) Update time, which signifies the efficiency of the algorithm. We consider the metric $k$-median problem, where the objective is the sum of the distances of the points to their nearest centers. We design the first dynamic algorithm for this problem with near-optimal guarantees across all three performance measures (up to a constant factor in approximation ratio, and polylogarithmic factors in recourse and update time). Specifically, we obtain a $O(1)$-approximation algorithm for dynamic metric $k$-median with $\tilde{O}(1)$ recourse and $\tilde{O}(k)$ update time. Prior to our work, the state-of-the-art here was the recent result of [Bhattacharya et al., FOCS'24], who obtained $O(ε^{-1})$-approximation ratio with $\tilde{O}(k^ε)$ recourse and $\tilde{O}(k^{1+ε})$ update time. We achieve our results by carefully synthesizing the concept of robust centers introduced in [Fichtenberger et al., SODA'21] along with the randomized local search subroutine from [Bhattacharya et al., FOCS'24], in addition to several key technical insights of our own.

Fully Dynamic $k$-Median with Near-Optimal Update Time and Recourse

TL;DR

This work designs the first dynamic algorithm with near-optimal guarantees across all three performance measures (up to a constant factor in approximation ratio, and polylogarithmic factors in recourse and update time) and obtains a k\tilde{O}(1)\tilde{O}(k)$ update time.

Abstract

In metric -clustering, we are given as input a set of points in a general metric space, and we have to pick centers and cluster the input points around these chosen centers, so as to minimize an appropriate objective function. In recent years, significant effort has been devoted to the study of metric -clustering problems in a dynamic setting, where the input keeps changing via updates (point insertions/deletions), and we have to maintain a good clustering throughout these updates. The performance of such a dynamic algorithm is measured in terms of three parameters: (i) Approximation ratio, which signifies the quality of the maintained solution, (ii) Recourse, which signifies how stable the maintained solution is, and (iii) Update time, which signifies the efficiency of the algorithm. We consider the metric -median problem, where the objective is the sum of the distances of the points to their nearest centers. We design the first dynamic algorithm for this problem with near-optimal guarantees across all three performance measures (up to a constant factor in approximation ratio, and polylogarithmic factors in recourse and update time). Specifically, we obtain a -approximation algorithm for dynamic metric -median with recourse and update time. Prior to our work, the state-of-the-art here was the recent result of [Bhattacharya et al., FOCS'24], who obtained -approximation ratio with recourse and update time. We achieve our results by carefully synthesizing the concept of robust centers introduced in [Fichtenberger et al., SODA'21] along with the randomized local search subroutine from [Bhattacharya et al., FOCS'24], in addition to several key technical insights of our own.

Paper Structure

This paper contains 87 sections, 50 theorems, 246 equations, 1 figure, 1 table, 15 algorithms.

Key Result

Theorem 1.1

There is a randomized dynamic algorithm for the metric $k$-median problem that has $O(1)$-approximation ratio, $O(\log^2 \Delta)$ recourse and $\tilde{O}(k)$ update time, w.h.p.Both our recourse and update time bounds are amortized. Throughout the paper, we do not make any distinction between amorti

Figures (1)

  • Figure 1: The constructed graph looks like this. If a center is detected by Find-Suspects, it would be the end of the path. If a Make-Robust is called on a center, the path ending in the node corresponding to this center is extended.

Theorems & Definitions (103)

  • Theorem 1.1
  • Theorem 2.2: soda/FichtenbergerLN21
  • Lemma 2.3: soda/FichtenbergerLN21
  • Lemma 3.1: FOCS24kmedian
  • Definition 3.2
  • Lemma 3.3: soda/FichtenbergerLN21
  • Lemma 3.4: soda/FichtenbergerLN21
  • Definition 3.5
  • Lemma 3.6: soda/FichtenbergerLN21
  • Lemma 3.7: soda/FichtenbergerLN21
  • ...and 93 more