GEM-KMeans: Memory-Efficient and Accurate Clustering on Massive Scale with GPU Optimization
Not on the map. Why?
Abstract (arXiv)
Memory-efficient scaling on clustering problems without sacrificing statistical accuracy is of central interest for large-scale data analysis and machine learning problems. Nonnegative low-rank (NLR) matrix factorization for K-means is a scalable clustering method, which connects to semidefinite relaxations with optimal average-case exact recovery guarantees. However, a direct GPU implementation of NLR requires multiple large factor-sized buffers and substantial data movements that are essentially memory-bound. In this paper, we introduce GEM-KMeans, a spectrally normalized yet mathematically equivalent NLR formulation that fuses the gradient update, nonnegative projection, and sufficient statistics for normalization and iterate movement into a matrix-multiplication epilogue. Instead of retaining three massive factor-sized arrays, our IO-aware GPU implementation materializes only one single factor with small tile-reduction arrays as additional storage in the High Bandwidth Memory (HBM). We derive explicit memory costs and spectrally normalized smoothness bounds for optimizing the clustering objective function. Accurate clustering is demonstrated at massive scales on synthetic and real datasets, where performance gains of GEM-KMeans over existing GPU-accelerated Lloyd's algorithms involve data-dependent runtime tradeoffs.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 46 references that are in the map. First posted on arXiv 28 Sep 2026.
Builds on
17 of 46 references.
References · 17
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 303
- 2022PLAID: An Efficient Engine for Late Interaction Retrievalcited by 101
- 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compressioncited by 65
- 2016Statistical and Computational Guarantees of Lloyd's Algorithm and its Variantscited by 54
- 2018Partial recovery bounds for clustering with the relaxed Kmeanscited by 25
- 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMscited by 24
- 2014SDPNAL+: A Majorized Semismooth Newton-CG Augmented Lagrangian Method for Semidefinite Programming with Nonnegative Constraintscited by 22
- 2016Clustering subgaussian mixtures by semidefinite programmingcited by 19
- 2020Cutoff for exact recovery of Gaussian mixture modelscited by 18
- 2023Statistically Optimal K-means Clustering via Nonnegative Low-rank Semidefinite Programmingcited by 9
5 more
- 2026Flash-KMeans: Fast and Memory-Efficient Exact K-Meanscited by 7
- 2020Structures of Spurious Local Minima in k-meanscited by 5
- 2018Hidden Integrality and Semi-random Robustness of SDP Relaxation for Sub-Gaussian Mixture Modelcited by 4
- 2022Likelihood Adjusted Semidefinite Programs for Clustering Heterogeneous Datacited by 2
- 2025Scalable Second-order Riemannian Optimization for K-means Clusteringcited by 2
Built on by
Not cited yet.