English

A Super Fast K-means for Indexing Vector Embeddings

Machine Learning 2026-03-23 v1 Databases Information Retrieval

Abstract

We present SuperKMeans: a k-means variant designed for clustering collections of high-dimensional vector embeddings. SuperKMeans' clustering is up to 7x faster than FAISS and Scikit-Learn on modern CPUs and up to 4x faster than cuVS on GPUs (Figure 1), while maintaining the quality of the resulting centroids for vector similarity search tasks. SuperKMeans acceleration comes from reducing data-access and compute overhead by reliably and efficiently pruning dimensions that are not needed to assign a vector to a centroid. Furthermore, we present Early Termination by Recall, a novel mechanism that early-terminates k-means when the quality of the centroids for retrieval tasks stops improving across iterations. In practice, this further reduces runtimes without compromising retrieval quality. We open-source our implementation at https://github.com/cwida/SuperKMeans

Keywords

Cite

@article{arxiv.2603.20009,
  title  = {A Super Fast K-means for Indexing Vector Embeddings},
  author = {Leonardo Kuffo and Sven Hepkema and Peter Boncz},
  journal= {arXiv preprint arXiv:2603.20009},
  year   = {2026}
}
R2 v1 2026-07-01T11:29:53.172Z