PaperScope
LIVE · 2026-11-03 05:40 UTC

A Batched Hartigan's $k$-Means Clustering

Edward Raff, Michael Slawinski

Latestcs.CLcs.LGcs.AIcs.CV
arXiv ID
2611.01207 v1
Category
Submitted
2026-10-31

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.

Comment: To appear in the 40th Conference on Neural Information Processing Systems (NeurIPS 2026)

arXiv abs page · PDF · same-day batch