cs.LGMar 20, 2026

A Super Fast K-means for Indexing Vector Embeddings

Authors: Leonardo Kuffo, Sven Hepkema, Peter Boncz

Organizations: CWI, Amsterdam, The Netherlands · Systems Group, ETH Zurich, Zurich, Switzerland

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

Figures & tables

Explore similar work

CardsList
  1. Efficient Multivector Retrieval with Token-Aware Clustering and Hierarchical Indexing

    Apr 30, 2026Silvio Martinico, Franco Maria Nardini, Cosimo Rulli +1ClusteringVector Quantization

  2. No More K-means: Single-Stage Sparse Coding for Efficient Multi-Vector Retrieval

    May 28, 2026Lixuan Guo, Yifei Wang, Tiansheng Wen +3Learned Sparse RetrievalMulti-Vector Retrieval

  3. Panorama: Fast-Track Nearest Neighbors

    Oct 1, 2025Vansh Ramani, Alexis Schlomer, Akash Nayar +3Product QuantizationApproximate Nearest Neighbor Search