GEM-KMeans: Memory-Efficient and Accurate Clustering on Massive Scale with GPU Optimization
Summary
GEM-KMeans introduces a spectrally normalized, memory-efficient NLR formulation for K-means clustering that fuses updates into a single matrix-multiplication epilogue, reducing GPU HBM storage to one factor while maintaining clustering accuracy at massive scale.
View Cached Full Text
Cached at: 09/30/26, 09:45 AM
# GEM-KMeans: Memory-Efficient and Accurate Clustering on Massive Scale with GPU Optimization Source: [https://arxiv.org/abs/2609.36074](https://arxiv.org/abs/2609.36074) [View PDF](https://arxiv.org/pdf/2609.36074) > Abstract: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\. ## Submission history From: Peng Xu \[[view email](https://arxiv.org/show-email/6206f790/2609.36074)\] **\[v1\]**Mon, 28 Sep 2026 18:23:05 UTC \(251 KB\)
Similar Articles
Flash-GMM: A Memory-Efficient Kernel for Scalable Soft Clustering
Flash-GMM introduces a fused Triton kernel for Gaussian Mixture Models that achieves 20x speedup and enables training on datasets 100x larger on a single GPU, making soft clustering a viable drop-in replacement for k-means in approximate nearest neighbor search.
DK-GBMKKM: Dynamic Kernel-Space Granular-Ball Multiple Kernel $k$-Means Clustering
The paper proposes DK-GBMKKM, a dynamic kernel-space granular-ball multiple kernel k-means clustering method that adapts to fused-kernel geometry for improved performance on various datasets.
Data-Native Global Optimization for Big Data K-means Clustering
Proposes Big-means++, a simple algorithm that achieves global optimization quality for big data K-means clustering by systematically curating inputs and using sample-induced surrogate landscapes.
@_avichawla: Researchers made KMeans 200x faster. And the new technique also beats approaches like cuML and FAISS. Flash-KMeans is a…
Flash-KMeans is an IO-aware implementation of exact KMeans that redesigns the algorithm around modern GPU bottlenecks, achieving 33x speedup over cuML and 200x over FAISS by eliminating redundant memory reads and writes.
@KL_Div: LLMs require more GPU memory as they generate longer responses. Can we make GPU memory constant without significantly s…
IceCache introduces Dynamic Continuous Indexing to keep GPU memory usage constant during long LLM generations with minimal accuracy loss.