# Meta FAIR Releases e-means: An Algorithm Beating k-means in 10x Fewer Epochs

DevFeed: [Meta FAIR Releases e-means: An Algorithm Beating k-means in 10x Fewer Epochs](<https://devfeed.tech/articles/meta-fair-releases-e-means-an-algorithm-beating-k-means-in-10x-fewer-epochs-127732.md>)

Original publisher: [Read original article](<https://www.marktechpost.com/2026/11/10/meta-fair-e-means-k-means-faiss/>)

Author: Michal Sutter

Published: 2026-11-10T23:20:19Z

Content type: article

Language: en

Sources: [MarkTechPost](<https://devfeed.tech/sources/marktechpost.md>)

Topics: [clustering](<https://devfeed.tech/topics/clustering.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Hyperparameter optimization](<https://devfeed.tech/topics/hyperparameter-optimization.md>)

Tags: [1-4](<https://devfeed.tech/tags/1-4.md>), [1-6](<https://devfeed.tech/tags/1-6.md>), [2-2](<https://devfeed.tech/tags/2-2.md>), [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [ai-infrastructure](<https://devfeed.tech/tags/ai-infrastructure.md>), [ai-shorts](<https://devfeed.tech/tags/ai-shorts.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [applications](<https://devfeed.tech/tags/applications.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [batch](<https://devfeed.tech/tags/batch.md>), [batches](<https://devfeed.tech/tags/batches.md>), [beats](<https://devfeed.tech/tags/beats.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [editors-pick](<https://devfeed.tech/tags/editors-pick.md>), [faiss](<https://devfeed.tech/tags/faiss.md>), [for-devs](<https://devfeed.tech/tags/for-devs.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [means](<https://devfeed.tech/tags/means.md>), [meta](<https://devfeed.tech/tags/meta.md>), [mini](<https://devfeed.tech/tags/mini.md>), [new-releases](<https://devfeed.tech/tags/new-releases.md>), [post](<https://devfeed.tech/tags/post.md>), [replacement](<https://devfeed.tech/tags/replacement.md>), [staff](<https://devfeed.tech/tags/staff.md>), [tech-news](<https://devfeed.tech/tags/tech-news.md>), [technology](<https://devfeed.tech/tags/technology.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

Meta FAIR's e-means replaces Lloyd's full-data k-means updates with mini-batches and exponential moving averages that fade older cluster sums and counts. The excerpt reports that it reaches Lloyd's 25-epoch loss in 1.4-2.6 epochs; the authors report 10-45x GPU speedups over Flash-KMeans and 8-15x CPU speedups over Faiss k-means. Fitted scaling laws set batch size and initial step size, avoiding extra hyperparameter tuning; the step then follows a cosine schedule. The FAISS 1.16.0 implementation also revives undersized clusters, finalizes with each cluster's exact last-epoch mean, and uses fused GPU assignment kernels. At 16M centroids, float32 accumulators require 64 GiB, so centroids must be sharded across GPUs. Results are self-reported, and the excerpt does not provide full benchmark methodology.

## Source excerpt

Meta FAIR's e-means is a mini-batch k-means replacement shipped in FAISS 1.16.0. It reaches Lloyd's 25-epoch loss in 1.4 to 2.6 epochs, with 10-45x GPU speedups and no extra hyperparameters. The post Meta FAIR Releases e-means: An Algorithm Beating k-means in 10x Fewer Epochs appeared first on MarkTechPost.