Authors say e-means beats Lloyd k-means in far fewer epochs
November 9: Hacker News adds Flash-KMeans and Faiss comparisons, a cosine schedule, dead-cluster revival, finalization, and a wider 1.2–3 epoch range.
Authors say e-means, an EMA mini-batch k-means method, beats Lloyd loss in a few epochs with large GPU speedups.
Authors present e-means, mini-batch k-means updated with an exponential moving average and deep-learning tooling. They derive scaling laws and a formula for decay rate and batch size so those settings need no hyperparameter sweep. Hugging Face daily papers reports a lower loss than Lloyd k-means at 25 epochs in 1.4 to 2.6 epochs; Hacker News reports 1.2 to 3 epochs. Both report 10–45× GPU speedups; Hacker News attributes the GPU comparison to Flash-KMeans and also cites 8–15× CPU speedups against Faiss. On DINO embeddings, the authors say 10 billion points were clustered into 16 million clusters in 2.5 epochs, often beating k-means++.
- e-means uses exponential moving average mini-batch centroid updates.
- Decay rate and batch size come from a no-sweep scaling-law formula.
- Hugging Face: 1.4–2.6 epochs; Hacker News: 1.2–3 epochs to beat Lloyd at 25.
- Authors report 10–45× GPU speedups; Hacker News also cites 8–15× versus Faiss on CPU.
- Authors say DINO10B formed 16 million clusters in 2.5 epochs.
- Hacker News describes a cosine anneal, dead-cluster revival, and exact-mean finalization.
What each outlet adds
beyond the shared facts- Hugging Face daily papersDINO10B result, k-means++ comparison, and 1.4–2.6 epoch range.
- Hacker NewsFlash-KMeans and Faiss baselines, schedule, revival, and finalization.
Coverage
oldest first · one row per article · UTCPaper introduces e-means, a faster mini-batch k-means variant
Authors report 10-45x GPU speedups and a no-sweep rule for decay rate and batch size.
E-means claims much faster k-means at equal or better loss
Authors report beating Lloyd loss in 1.2 to 3 epochs and 10–45× GPU speedups versus Flash-KMeans.