0

Randomizing the Number of Centers in k-means++

The $k$-means++ algorithm is a standard and widely used seeding method for $k$-means clustering, but for a fixed number $k$ of centers its worst-case expected approximation ratio is $Θ(\log k)$.

Preview
Year
2026
Hosting
Full text hostedCC-BY-4.0

Cite

Notes

Only stored in your browser.

Attribution

Abstract & full text
arxiv.org/abs/2607.26202CC-BY-4.0
TL;DR
Semantic Scholar
Attribution policy →

Abstract

The k-means++ algorithm is a standard and widely used seeding method for k-means clustering, but for a fixed number k of centers its worst-case expected approximation ratio is Θ(\log k). We consider the same algorithm when an adversary first fixes the dataset and some K; the number of centers k is then chosen uniformly from {K,\ldots,2K-1}. We prove that k-means++ is an O(1)-approximation with constant probability in this budget-smoothed setup.