Papers
Topics
Authors
Recent
Search
2000 character limit reached

A Nearly Tight Analysis of Greedy k-means++

Published 16 Jul 2022 in cs.DS and cs.LG | (2207.07949v1)

Abstract: The famous kk-means++ algorithm of Arthur and Vassilvitskii [SODA 2007] is the most popular way of solving the kk-means problem in practice. The algorithm is very simple: it samples the first center uniformly at random and each of the following k1k-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 kk-means++ algorithm is known to return a Θ(logk)\Theta(\log k) approximate solution in expectation. In their seminal work, Arthur and Vassilvitskii [SODA 2007] asked about the guarantees for its following \emph{greedy} variant: in every step, we sample \ell candidate centers instead of one and then pick the one that minimizes the new cost. This is also how kk-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 kk-means++: We prove that it is an O(<sup>3</sup>log<sup>3</sup>k)O(\ell<sup>3</sup> \log<sup>3</sup> k)-approximation algorithm. On the other hand, we prove a lower bound of Ω(<sup>3</sup>log<sup>3</sup>k/log<sup>2(log</sup>k))\Omega(\ell<sup>3</sup> \log<sup>3</sup> k / \log<sup>2(\ell\log</sup> k)). Previously, only an Ω(logk)\Omega(\ell \log k) lower bound was known [Bhattacharya, Eube, R\"oglin, Schmidt; ESA 2020] and there was no known upper bound.

Citations (8)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.