A Beyond-Worst-Case Analysis of Greedy k-means++

Qing-Yun Chen, Sung-Jin Im, Benjamin Moseley, R. Milstrey, Chen-Yang Xu +1 more
1/1/2025

No confident code implementation found for this paper.

Abstract

k -means++ and the related greedy k -means++ algorithm are celebrated algorithms that efficiently compute seeds for Lloyd’s algorithm. Greedy k -means++ is a generalization of k -means++ where, in each iteration, a new seed is greedily chosen among multiple ℓ ≥ 2 points sampled, as opposed to a single seed being sampled in k -means++.

Show full abstract

While empirical studies consistently show the superior performance of greedy k -means++, making it a preferred method in practice, a discrepancy exists between theory and practice. No theoretical justification currently explains this improved performance. Indeed, the prevailing theory suggests that greedy k -means++ exhibits worse performance than k -means++ in worst-case scenarios. This paper presents an analysis demonstrating the outperformance of the greedy algorithm compared to k -means++ for a natural class of well-separated instances with exponentially decaying distributions, such as Gaussian, specifically when ℓ = ln k + Θ(1) , a common parameter setting in practical applications.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2025beyondworstcase,
  title  = {A Beyond-Worst-Case Analysis of Greedy k-means++},
  author = {Qing-Yun Chen and Sung-Jin Im and Benjamin Moseley and R. Milstrey and Chen-Yang Xu and Rui-Long Zhang},
  year   = {2025},
  doi    = {10.52202/085713-3577},
  url    = {https://doi.org/10.52202/085713-3577},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/e0614435e4932fc947dda10f74c5b2d571c89046.svg)](https://codeofpaper.com/paper/e0614435e4932fc947dda10f74c5b2d571c89046)

Discussion