Lune

KDD2026Top-tier venue

BSP k-Means

Sebastian Künzel, Daniel Weiskopf

Abstract

We present a parallel k-Means clustering algorithm specifically designed to address large datasets and cluster counts. Our approach, BSP (binary space partitioning) k-Means, recursively partitions the input space optimally across the first principal component of the current subset of the data. From a single space partitioning, clusterings with arbitrary ?? can be found by a greedy tree search. Combining a reduction onto the first principal component and optimal binary clustering of 1D data is highly effective at reducing clustering costs. We attribute this to the close relationship between directional variance and the within-cluster sum of squares. We analyze our approach theoretically and, under an idealized population model, prove that the runtime is in O(n . max(d, lnn) · lnn) for a broad class of input distributions with high probability. We demonstrate that our algorithm consistently outperforms k-Means++ and performs similarly or better than other sophisticated algorithms in an evaluation with nine datasets and up to six cluster sizes. Our algorithm is parallelizable using common database operations such as Scan, Reduce, and Sort. We show that with our CUDA implementation, a significant speedup can be achieved. Additionally, our algorithm generates centers and datapoint assignments alike, removing the expensive cluster assignment step after initial seeding. Furthermore, our algorithm approximates k-Means accurately so that any additional use of Lloyd’s algorithm is optional and yields only incremental improvement.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Simple, Scalable and Effective Clustering via One-Dimensional ProjectionsMoses Charikar, Monika Henzinger, Lunjia Hu, Maximilian Vötsch et al.NeurIPS 2023 · 6 citations
  2. On Simplifying Large-Scale Spatial Vectors: Fast, Memory-Efficient, and Cost-Predictable kk-MeansYushuai Ji, Zepeng Liu, Sheng Wang, Yuan Sun et al.ICDE 2025 · 7 citations
  3. Improved Guarantees for k-means++ and k-means++ ParallelKonstantin Makarychev, Aravind Reddy, Liren ShanNeurIPS 2020 · 34 citations
  4. Fast kk-Means via Data-Aware Grouping and Gap-Optimized Lower BoundXiaogang Huang, Dan Zhuang, Jianbao Chen, Tiefeng Ma et al.ICDE 2026
  5. On the Efficiency of K-Means Clustering: Evaluation, Optimization, and Algorithm SelectionSheng Wang, Yuan Sun, Zhifeng BaoVLDB 2021 · 34 citations
Dusk over the sea between two cliffs drawn in fine vertical lines