News › performance
By The Linux Camp News, November 27, 2026
A new preprint reports lower clustering loss in fewer dataset passes. Its GPU speedups are benchmark-specific, and evaluation needs care over backend selection and returned labels.
A November 6, 2026 preprint introduces e-means, a clustering method that updates cluster centers in small batches using exponential moving averages. The authors report needing substantially fewer passes through their tested datasets than Lloyd k-means. These are research results from the authors, not independently reproduced Linux Camp benchmarks. 2 3
E-means maintains a sum and a count of points for each cluster; dividing the sum by the count gives the cluster center, or centroid. Its mini-batch updates use an exponential moving average. In plain terms, the algorithm updates these statistics incrementally rather than waiting to calculate every center from a full batch. 1 2
In the paper's embedding-dataset comparisons, e-means beats the clustering loss reached by Lloyd after 25 epochs in 1.4 to 2.6 epochs. The authors report GPU elapsed-time speedups of 10 to 45 times against the compared implementations. This makes it a candidate for evaluation where clustering time matters, but those figures are not a guarantee for another dataset or a CPU deployment. 2
Choose the evaluation backend to match both the hardware and the input type. The documentation says CPU NumPy arrays use Faiss nearest-neighbor operations, while CPU tensors use PyTorch. GPU execution offers Triton and CuTe backends plus a native PyTorch fallback for GPUs that do not support them. The two accelerated backends are therefore not the only documented GPU routes. 3
One evaluation detail matters when comparing outputs: the labels returned by training come from the final training epoch, while centroids can still move during that epoch. The documentation says to run assignment on the training vectors if exact nearest-final-centroid labels are required. Comparing those labels with intermediate training assignments would test different outputs. 3