English

Multi-Swap $k$-Means++

Computational Geometry 2024-10-29 v2 Machine Learning

Abstract

The kk-means++ algorithm of Arthur and Vassilvitskii (SODA 2007) is often the practitioners' choice algorithm for optimizing the popular kk-means clustering objective and is known to give an O(logk)O(\log k)-approximation in expectation. To obtain higher quality solutions, Lattanzi and Sohler (ICML 2019) proposed augmenting kk-means++ with O(kloglogk)O(k \log \log k) local search steps obtained through the kk-means++ sampling distribution to yield a cc-approximation to the kk-means clustering problem, where cc is a large absolute constant. Here we generalize and extend their local search algorithm by considering larger and more sophisticated local search neighborhoods hence allowing to swap multiple centers at the same time. Our algorithm achieves a 9+ε9 + \varepsilon approximation ratio, which is the best possible for local search. Importantly we show that our approach yields substantial practical improvements, we show significant quality improvements over the approach of Lattanzi and Sohler (ICML 2019) on several datasets.

Keywords

Cite

@article{arxiv.2309.16384,
  title  = {Multi-Swap $k$-Means++},
  author = {Lorenzo Beretta and Vincent Cohen-Addad and Silvio Lattanzi and Nikos Parotsidis},
  journal= {arXiv preprint arXiv:2309.16384},
  year   = {2024}
}

Comments

NeurIPS 2023

R2 v1 2026-06-28T12:34:51.992Z