Skip to content
AI News HubLIVE
More
Summary only

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

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.

SourceMarkTechPostAuthor: Michal Sutter
Meta FAIR Releases e-means: An Algorithm Beating k-means in 10x Fewer Epochs
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions

Summary only

Under the source content permission, this page provides an editorial summary, key points, and a link to the original article.

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • e-means uses exponential moving averages to update centroids, matching Lloyd's 25-epoch loss in just 1.4 to 2.6 epochs.
  • Reported 10-45x GPU wall-clock speedup over Flash-KMeans and 8-15x CPU speedup over Faiss k-means (self-reported).
  • No tuning required: fitted scaling laws automatically set batch size and initial step size.
  • Available now in FAISS 1.16.0 under faiss.contrib.e_means with an MIT license.

Highlights and analysis are generated automatically and may contain errors. Check the original source.