English

Local Search k-means++ with Foresight

Data Structures and Algorithms 2024-06-06 v1

Abstract

Since its introduction in 1957, Lloyd's algorithm for kk-means clustering has been extensively studied and has undergone several improvements. While in its original form it does not guarantee any approximation factor at all, Arthur and Vassilvitskii (SODA 2007) proposed kk-means++ which enhances Lloyd's algorithm by a seeding method which guarantees a O(logk)\mathcal{O}(\log k)-approximation in expectation. More recently, Lattanzi and Sohler (ICML 2019) proposed LS++ which further improves the solution quality of kk-means++ by local search techniques to obtain a O(1)\mathcal{O}(1)-approximation. On the practical side, the greedy variant of kk-means++ is often used although its worst-case behaviour is provably worse than for the standard kk-means++ variant. We investigate how to improve LS++ further in practice. We study two options for improving the practical performance: (a) Combining LS++ with greedy kk-means++ instead of kk-means++, and (b) Improving LS++ by better entangling it with Lloyd's algorithm. Option (a) worsens the theoretical guarantees of kk-means++ but improves the practical quality also in combination with LS++ as we confirm in our experiments. Option (b) is our new algorithm, Foresight LS++. We experimentally show that FLS++ improves upon the solution quality of LS++. It retains its asymptotic runtime and its worst-case approximation bounds.

Cite

@article{arxiv.2406.02739,
  title  = {Local Search k-means++ with Foresight},
  author = {Theo Conrads and Lukas Drexler and Joshua Könen and Daniel R. Schmidt and Melanie Schmidt},
  journal= {arXiv preprint arXiv:2406.02739},
  year   = {2024}
}
R2 v1 2026-06-28T16:53:38.638Z