e-means: outperforming k-means (in one-tenth the epochs)
Summary
e-means (Bessa et al., Meta FAIR; arXiv 2611.09501, Nov 6 2026, CC BY 4.0) replaces Lloyd's k-means with an exponential-moving-average optimization procedure over mini-batch updates - essentially treating centroid estimation the way deep learning treats weights, powered by modern DL machinery - with dead-cluster revival as a key component. The practical crux is that its two would-be hyperparameters, EMA decay rate and batch size, are set by fitted SCALING LAWS (fit on ~75k runs, validated on 5k+ runs) that prescribe them from problem size and dataset, so the user chooses only k: a genuine drop-in replacement with no sweep. Results across 26 embedding datasets (100k to 10B points): e-means reaches a LOWER loss than Lloyd k-means at 25 epochs in just 1.4 to 2.6 epochs, frequently beating even k-means++ from a random initialization (the mini-batch stochasticity escapes local minima Lloyd gets stuck in); the epoch savings translate to 10-45x GPU wall-clock speedups over state-of-the-art k-means implementations (launch-thread chart on DEEP, 1M vectors, 16,384 clusters: 12.5x fewer epochs, 11.8x faster on 64-core CPU, 13.6x on one H100, against faiss k-means, SuperKMeans and Flash-KMeans). At the extreme end it partitions DINO10B - 10 billion DINO embeddings - into 16 million clusters in 2.5 epochs, below Lloyd's 25-epoch loss; paired with IVF it gains another order of magnitude at billion scale. Released in FAISS 1.16.0 (contrib/e_means) with figure-reproduction code, a project site with an interactive results map across the 26 datasets, and a browser playground. Flags, as entered: first-party (Meta FAIR) results at abstract/thread level at cataloging time; the speedup range is wide (10-45x) and hardware/implementation-dependent; the comparison currency is training loss (inertia) on embedding datasets, which is the operative metric for quantization and data-curation uses but says nothing directly about downstream task quality. Relevance: k-means is the workhorse under vector quantization, retrieval indexing and dataset curation/dedup pipelines, so a tuning-free 10x-faster drop-in inside FAISS is immediately usable infrastructure rather than a research curiosity.
- Venue
- arXiv preprint
- Source
- arxiv
- Access
- free
- Language
- en
- Added
- Nov 10, 2026
- Verified
- Nov 10, 2026
Research notes
- Shared 2026-11-10 via first author @swann_bessa's launch thread (status 2120200714630594911). Paper CC BY 4.0 (license icon on the arXiv record); code in FAISS 1.16.0. STAGED 2026-11-10 during the Neon quota freeze; insert after the earlier staged items when writes reopen.
Similar entries
- Paper Train for Many, Update with One: Improving Multi-Sample Reasoning via Fenchel–Bregman Posterior Learning
- Paper One Model to Loop Them All: Elastic Latent Recurrence for Language Models
- Model cua-s1-forms (jev-like one-pass form-filling option scorer)
- Model Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making
- Paper Generate in Reconstruction Space, Match in Semantic Space: Transport Geometry for One-Step Generation
- Model Xor (juspay/xor) — TypeSafe-compatible System One MoE for typed decisions