K-Means and Alternating Minimization

Prove that assignment and centroid updates each lower or preserve the squared-distance objective, then interpret initialization sensitivity.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Each of the two steps optimizes a restricted choice
  2. A decreasing objective does not choose a globally best partition

Each of the two steps optimizes a restricted choice

For fixed centers, assign each point to the nearest center to minimize its squared contribution. For fixed assignments, the best center of a nonempty cluster is its arithmetic mean. The derivative of the sum of squared distances with respect to that center vanishes at the mean. On points \(0,2,10\) with centers \(0,10\), the first group consists of \(0,2\) and its center moves to one.

A decreasing objective does not choose a globally best partition

Different initial centers can lead to different stationary assignments. Empty clusters and ties need explicit handling. Large variation in feature scale can dominate squared distance, and elongated groups may poorly match the center representation. Least squares gives the related mean-as-optimum calculation. Embedding similarity describes how changing geometry changes nearest assignments.[1][2]

References

  1. Gareth James et al., An Introduction to Statistical Learning ↩
  2. Trevor Hastie, Robert Tibshirani and Jerome Friedman, The Elements of Statistical Learning ↩