Meta FAIR open-sources e-means: k-means matching Lloyd's loss in 1.2-3 epochs, 10x faster
JeremyCMorgan · x · 2026-11-26
Meta FAIR open-sourced e-means, a modern replacement for Lloyd's k-means algorithm using mini-batch updates with moving averages, with batch and step sizes set automatically via scaling laws. It reaches a test loss below Lloyd's 25-epoch result in just 1.2–3 epochs — 10–45x wall-clock speedup on GPU vs Flash-KMeans and 8–15x on CPU vs Faiss, while also achieving lower loss. Code ships in Faiss contrib, with a paper and browser playground available.
More from Research
- 8.6M Lines of Lean Proofs in 3 Days: 360-Contributor Agent Fleet Attacks P=NP — demian_ai · 2026-11-26
- Physicist: LLMs finding a polynomial factoring algorithm poses more risk than quantum — ibab · 2026-11-26
- How Should We Eval the Evals? The Case for Open Benchmarks — ravithejads · 2026-11-26
- Study: Claude, GPT, Gemini and DeepSeek generations are all fingerprintable and far less diverse than the human web — sarahcat21 · 2026-11-26
- Autonomous research agent breaks 50 packing-problem records in 4 days, besting 373-cube record with 376 — IgorCarron · 2026-11-26
- George Hotz's 5 free GitHub repos, from tinygrad to a 12-week computer course — alex_verem · 2026-11-26