Lloyd's $K$-Means Clustering Algorithm Is Frank-Wolfe in Disguise

July 28, 2026 ยท Grace Period ยท ๐Ÿ› AISTATS 2026 Poster

โณ Grace Period
This paper is less than 90 days old. We give authors time to release their code before passing judgment.
Authors Michael Pokojovy, J. Marcus Jobe, Simon Lacoste-Julien arXiv ID 2607.25190 Category stat.ML: Machine Learning (Stat) Cross-listed cs.LG, stat.CO Citations 0 Venue AISTATS 2026 Poster
Abstract
Lloyd's $K$-means algorithm, also known as naรฏve $K$-means, is a widely used ad hoc optimization heuristic, designed to minimize the sum of squared errors (SSE) across all $K$-partitions of a dataset via iterative cluster refinement. In this work, we establish a novel connection between Lloyd's algorithm and the Frank-Wolfe (FW) algorithm, a prominent first-order method for projection-free optimization. We demonstrate that Lloyd's algorithm is a special case of FW. Leveraging recent advances in FW methods for concave objectives, we derive a non-asymptotic $\mathcal{O}(1/t)$ convergence rate to a local minimum of the SSE objective. To account for empty clusters, an outcome possible under Lloyd's greedy assignment, we develop an FW variant for semismooth objectives while retaining the same convergence rate that is solely controlled by the initial SSE value. We illustrate our findings with a simulation study for spherical Gaussian mixtures and a real-world image segmentation dataset.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Machine Learning (Stat)

๐Ÿ”ฎ ๐Ÿ”ฎ The Ethereal

Layer Normalization

Jimmy Lei Ba, Jamie Ryan Kiros, Geoffrey E. Hinton

stat.ML ๐Ÿ› arXiv ๐Ÿ“š 12.0K cites 10 years ago