Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

e-means: outperforming k-means in a tenth of the epochs

e-means applies an exponential moving average to mini-batch k-means and provides scaling laws for decay rate and batch size. It matches Lloyd's 25-epoch loss in 1.4 to 2.6 epochs, a 10-45x GPU wall-clock speedup, and clustered 10 billion DINO embeddings into…

Published Read the original
e-means: outperforming k-means in a tenth of the epochs

Why it matters

Cheaper clustering directly helps vector search and large-scale data curation pipelines.

What happened

1 min read

e-means applies an exponential moving average to mini-batch k-means and provides scaling laws for decay rate and batch size. It matches Lloyd's 25-epoch loss in 1.4 to 2.6 epochs, a 10-45x GPU wall-clock speedup, and clustered 10 billion DINO embeddings into 16 million clusters.

inscraper analysis

Our analysis

A fixed rule instead of hyperparameter sweeps makes it practical. The link to LLMs is indirect, and the speedup claims should be checked against existing optimized implementations.

More in Research