arXivPreprintOpen accesscs.LG
A Batched Hartigan's $k$-Means Clustering
Edward Raff, Michael Slawinski
Key points
From the paper's conclusion- We devise a Batched Hartigan's method that enables vectorized calculation by exploiting the triangle inequality to expose a set of parallel-safe updates and a smaller set of sequential updates.
Abstract
Hartigan's $k$-means algorithm has theoretical advantages over the standard Lloyd's variant, which has become synonymous with "$k$-means". Yet, Hartigan's algorithm is far slower in practice due to its inherently sequential calculations. We devise a Batched Hartigan's method that enables vectorized calculation by exploiting the triangle inequality to expose a set of parallel-safe updates and a smaller set of sequential updates. This makes Hartigan's method competitive with Lloyd's in execution speed for the first time.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The Catastrophic Failure of the k-Means Algorithm in High Dimensions, and How Hartigan's Algorithm Avoids It.Proceedings of machine learning research · 2026
- e-means: outperforming k-means (in one-tenth the epochs)arXiv · 2026
- Beyond the First Hit: Towards Tight Guarantees for $k$-means++arXiv · 2026
- HDLouvain: High-Throughput Incremental Clustering for Hyperdimensional DataarXiv · 2026
- Tight Bounds for k-Median++ and Improved Bounds for k-Means++arXiv · 2026
- KatoANN: Enabling Near-Exact Vector Search at the Speed of Lossy Scans with CPU Matrix EnginesarXiv · 2026