Lune

SODA2023Top-tier venue

A Nearly Tight Analysis of Greedy k-means++

Christoph Grunau, Ahmet Alper Özüdogru, Václav Rozhon, Jakub Tetek

Abstract

The famous k-means++ algorithm of Arthur and Vassilvitskii [SODA 2007] is the most popular way of solving the k-means problem in practice. The algorithm is very simple: it samples the first center uniformly at random and each of the following k -1 centers is then always sampled proportional to its squared distance to the closest center so far. Afterward, Lloyd's iterative algorithm is run. The k-means++ algorithm is known to return a Θ(log k) approximate solution in expectation.

In their seminal work, Arthur and Vassilvitskii [SODA 2007] asked about the guarantees for its following greedy variant: in every step, we sample ℓ candidate centers instead of one and then pick the one that minimizes the new cost. This is also how k-means++ is implemented in e.g. the popular Scikit-learn library [Pedregosa et al.; JMLR 2011].

We present nearly matching lower and upper bounds for the greedy k-means++: We prove that it is an O(ℓ 3 log 3 k)-approximation algorithm. On the other hand, we prove a lower bound of Ω(ℓ 3 log 3 k/ log 2 (ℓ log k)). Previously, only an Ω(ℓ log k) lower bound was known [Bhattacharya, Eube, Röglin, Schmidt; ESA 2020] and there was no known upper bound.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Improved Guarantees for k-means++ and k-means++ Parallel cites Simple and sharp analysis of k-means||
  • Low-Distortion Clustering with Ordinal and Limited Cardinal Information cites Improved Guarantees for k-means++ and k-means++ Parallel
  • Low-Distortion Clustering with Ordinal and Limited Cardinal Information cites Simple and sharp analysis of k-means||
  • A Beyond-Worst-Case Analysis of Greedy k-means++ cites Improved Guarantees for k-means++ and k-means++ Parallel
  • A Beyond-Worst-Case Analysis of Greedy k-means++ cites Analyzing Dα seeding for k-means
  • A Beyond-Worst-Case Analysis of Greedy k-means++ cites Improved approximations for Euclidean k-means and k-median, via nested quasi-independent sets
  • A Beyond-Worst-Case Analysis of Greedy k-means++ cites Multi-Swap k-Means++
  • Analyzing Dα seeding for k-means cites Improved Guarantees for k-means++ and k-means++ Parallel
  • Multi-Swap k-Means++ cites Improved approximations for Euclidean k-means and k-median, via nested quasi-independent sets
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Multi-Swap k-Means++Lorenzo Beretta, Vincent Cohen-Addad, Silvio Lattanzi, Nikos ParotsidisNeurIPS 2023 · 12 citations
  2. Low-Distortion Clustering with Ordinal and Limited Cardinal InformationJakob Burkhardt, Ioannis Caragiannis, Karl Fehrs, Matteo Russo et al.AAAI 2024 · 8 citations
  3. A Beyond-Worst-Case Analysis of Greedy k-means++Qingyun Chen, Sungjin Im, Benjamin Moseley, Ryan Milstrey et al.NeurIPS 2025
  4. Analyzing Dα seeding for k-meansÉtienne Bamas, Sai Ganesh Nagarajan, Ola SvenssonICML 2024

Builds on3

  1. Improved Guarantees for k-means++ and k-means++ ParallelKonstantin Makarychev, Aravind Reddy, Liren ShanNeurIPS 2020 · 34 citations
  2. Improved approximations for Euclidean k-means and k-median, via nested quasi-independent setsVincent Cohen-Addad, Hossein Esfandiari, Vahab S. Mirrokni, Shyam NarayananSTOC 2022 · 15 citations
  3. Simple and sharp analysis of k-means||Václav RozhonICML 2020 · 6 citations

Related papers

  1. k-means++: few more steps yield constant approximationDavin Choo, Christoph Grunau, Julian Portmann, Václav RozhonICML 2020 · 36 citations
  2. A (2+ε)-Approximation Algorithm for Metric k-MedianVincent Cohen-Addad, Fabrizio Grandoni, Euiwoong Lee, Chris Schwiegelshohn et al.STOC 2025 · 1 citation
  3. Fast and Accurate kk-means++ via Rejection SamplingVincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler et al.NeurIPS 2020 · 32 citations
  4. Adapting k-means Algorithms for OutliersChristoph Grunau, Václav RozhonICML 2022 · 9 citations
  5. LSDS++ : Dual Sampling for Accelerated k-means++Chenglin Fan, Ping Li, Xiaoyun LiICML 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines