cs.DSJul 28, 2026

Randomizing the Number of Centers in k-means++

Authors: Vaclav Rozhon

Abstract

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

Explore similar work

CardsList
  1. A Sub-4 Approximation for Fair kk-Means

    Sep 7, 2026Kangke Cheng, Guanlin Mo, Shihong Song +1K-MeansApproximation Algorithms