Skip to main content
QUICK REVIEW

[Paper Review] Noisy, Greedy and Not So Greedy k-means++

Anup Bhattacharya, Jan Eube|arXiv (Cornell University)|Dec 2, 2019
Machine Learning and AlgorithmsComputer Science21 references5 citations
TL;DR

This paper analyzes greedy and noisy variants of the k-means++ algorithm, proving that greedy k-means++ can degrade to an Ω(ℓ·log k)-approximation in expectation, where ℓ is the number of candidates sampled per iteration. In contrast, noisy k-means++—where D²-sampling probabilities are perturbed by multiplicative factors—achieves an O(log²k)-approximation in expectation, demonstrating robustness to input noise.

ABSTRACT

The k-means++ algorithm due to Arthur and Vassilvitskii has become the most popular seeding method for Lloyd's algorithm. It samples the first center uniformly at random from the data set and the other $k-1$ centers iteratively according to $D^2$-sampling where the probability that a data point becomes the next center is proportional to its squared distance to the closest center chosen so far. k-means++ is known to achieve an approximation factor of $O(\log k)$ in expectation. Already in the original paper on k-means++, Arthur and Vassilvitskii suggested a variation called greedy k-means++ algorithm in which in each iteration multiple possible centers are sampled according to $D^2$-sampling and only the one that decreases the objective the most is chosen as a center for that iteration. It is stated as an open question whether this also leads to an $O(\log k)$-approximation (or even better). We show that this is not the case by presenting a family of instances on which greedy k-means++ yields only an $Ω(\ell\cdot \log k)$-approximation in expectation where $\ell$ is the number of possible centers that are sampled in each iteration. We also study a variation, which we call noisy k-means++ algorithm. In this variation only one center is sampled in every iteration but not exactly by $D^2$-sampling anymore. Instead in each iteration an adversary is allowed to change the probabilities arising from $D^2$-sampling individually for each point by a factor between $1-ε_1$ and $1+ε_2$ for parameters $ε_1 \in [0,1)$ and $ε_2 \ge 0$. We prove that noisy k-means++ compute an $O(\log^2 k)$-approximation in expectation. We also discuss some applications of this result.

Motivation & Objective

  • To theoretically analyze the performance of greedy k-means++, a variant of k-means++ that samples multiple candidates and selects the one minimizing cost in each iteration.
  • To investigate whether greedy k-means++ maintains the O(log k)-approximation guarantee of standard k-means++.
  • To study the robustness of k-means++ under noisy probability distributions, introducing the noisy k-means++ algorithm with adversarially perturbed D²-sampling probabilities.
  • To establish theoretical approximation bounds for noisy k-means++ under bounded multiplicative perturbations of the D²-sampling probabilities.
  • To explore whether improved performance is possible under clusterability assumptions, despite the existence of worst-case instances where greedy k-means++ underperforms.

Proposed method

  • Proposes a greedy k-means++ variant that samples ℓ candidates per iteration using D²-sampling and selects the one that most reduces the k-means cost.
  • Constructs a worst-case instance family to prove that greedy k-means++ can achieve only an Ω(ℓ·log k)-approximation in expectation.
  • Introduces noisy k-means++ where each point’s D²-sampling probability is perturbed by a factor in [1−ε₁, 1+ε₂], modeling computational or implementation noise.
  • Uses a probabilistic coupling argument to bound the expected cost of noisy k-means++ by relating it to a known stochastic process with bounded error terms.
  • Applies a concentration result (Corollary 12) to show that the expected cost of noisy k-means++ is bounded by O(log²k) times the optimal cost.
  • Analyzes a hybrid variant, moderately greedy k-means++, which combines standard D²-sampling with greedy selection with a fixed probability, and derives its expected approximation ratio.

Experimental results

Research questions

  • RQ1Does the greedy k-means++ algorithm, which samples ℓ candidates and selects the best, maintain the O(log k)-approximation guarantee of standard k-means++?
  • RQ2Can noisy k-means++—where D²-sampling probabilities are perturbed by multiplicative factors—still achieve a poly-logarithmic approximation in expectation?
  • RQ3Is there a theoretical performance gap between greedy k-means++ and standard k-means++ in worst-case instances?
  • RQ4Can the analysis of noisy k-means++ be improved to eliminate the additional O(log k) factor in the approximation bound?
  • RQ5Under what clusterability assumptions might greedy k-means++ outperform standard k-means++, despite worst-case degradation?

Key findings

  • Greedy k-means++ can achieve only an Ω(ℓ·log k)-approximation in expectation, demonstrating that increasing ℓ does not improve worst-case performance and may even degrade it.
  • The worst-case instance constructed satisfies common clusterability assumptions such as separability and approximation stability, indicating that the failure is not due to poor data structure.
  • Noisy k-means++ achieves an O(log²k)-approximation in expectation when sampling probabilities are perturbed by factors in [1−ε₁, 1+ε₂], showing robustness to noise.
  • The approximation guarantee of noisy k-means++ depends on the perturbation parameters ε₁ and ε₂, with the bound scaling as O((ε₁+ε₂)(1+ε₂)/(1−ε₁)²) times log²k.
  • A hybrid variant, moderately greedy k-means++, achieves an expected O(ℓ³·log²k)-approximation for constant selection probability p, showing trade-offs between greediness and robustness.
  • The authors conjecture that the O(log k) factor in the noisy k-means++ analysis is unnecessary and that the expected cost could be bounded by a constant depending on ε alone.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.