e-means: outperforming k-means (in one-tenth the epochs)
Not on the map. Why?
Abstract (arXiv)
Lloyd's k-means algorithm is a long-running standard for clustering, with applications in data analysis, retrieval, quantization and data curation. In this paper, we introduce an exponential moving average optimization procedure for k-means with mini-batch updates, powered by modern deep learning machinery and new insights. We also establish scaling laws on how decay rate and batch size impact final performance. This gives us a formulaic rule to fix them for multiple problem sizes and embedding datasets, without the need for any hyperparameter sweep. The resulting clustering algorithm, coined e-means, is much faster than Lloyd k-means and converges to lower losses, frequently even beating k-means++. On a wide array of embeddings datasets, it beats the loss of Lloyd k-means at 25 epochs in 1.4 to 2.6 epochs, which translates to 10-45x GPU wall-clock speedups compared to state-of-the-art k-means implementations. As an example, e-means partitions DINO10B, a dataset of 10 billion DINO embeddings, into 16 million clusters in only 2.5 epochs, reaching a loss below Lloyd's at 25 epochs.
Key facts. Cited by 3 papers in the map (data through 24 Nov 2026). Builds on 31 of its 60 references that are in the map. Submitted 6 Nov 2026.
Builds on
31 of 60 references.
References · 31
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2017Neural Discrete Representation Learningcited by 4,967
- 2017Billion-scale similarity search with GPUscited by 2,575
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,406
- 2021SoundStream: An End-to-End Neural Audio Codeccited by 1,012
- 2022High Fidelity Neural Audio Compressioncited by 945
- 2024Autoregressive Model Beats Diffusion: Llama for Scalable Image Generationcited by 835
- 2021Vector-quantized Image Modeling with Improved VQGANcited by 691
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
- 2023High-Fidelity Audio Compression with Improved RVQGANcited by 636
- 2020Jukebox: A Generative Model for Musiccited by 576
19 more
- 2024The Faiss librarycited by 423
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 289
- 2022FP8 Formats for Deep Learningcited by 244
- 2024WavTokenizer: an Efficient Acoustic Discrete Codec Tokenizer for Audio Language Modelingcited by 190
- 2023SpeechTokenizer: Unified Speech Tokenizer for Speech Large Language Modelscited by 130
- 2020Machine Learning in Python: Main developments and technology trends in data science, machine learning, and artificial intelligencecited by 89
- 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compressioncited by 78
- 2020Robust Training of Vector Quantized Bottleneck Modelscited by 56
- 2022Results of the NeurIPS'21 Challenge on Billion-Scale Approximate Nearest Neighbor Searchcited by 51
- 2024Scaling Optimal LR Across Token Horizonscited by 51
- 2021The 2021 Image Similarity Dataset and Challengecited by 48
- 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMscited by 34
- 2023CAGRA: Highly Parallel Graph Construction and Approximate Nearest Neighbor Search for GPUscited by 26
- 2020Cluster-Former: Clustering-based Sparse Transformer for Long-Range Dependency Encodingcited by 21
- 2026Flash-KMeans: Fast and Memory-Efficient Exact K-Meanscited by 14
- 2023DeDrift: Robust Similarity Search under Content Driftcited by 12
- 2025VIBE: Vector Index Benchmark for Embeddingscited by 9
- 2016Nested Mini-Batch K-Meanscited by 6
- 2020K-means for Evolving Data Streamscited by 5
Built on by
Citing papers per year: 2026: 3.
3 papers.