介绍一下 e-means:这是一种只需约十分之一的迭代轮数就能超过 k-means 的算法。
e-means 的实际运行速度快了约一个数量级,现已在 FAISS 中发布。除了 k,无需调整其他超参数。它在不同规模和数据集上都表现稳健。还不信?试试 e-means 吧。[1/10]🧵
- 用户只需设定聚类数量 k,无需调整其他超参数。
- e-means 借鉴 VQ-VAE 的码本学习,通过复活失活簇来缓解小批量聚类对这类簇的敏感性。
- 帖子提供了复现论文图表的代码链接,以及介绍更多细节的博客链接。

e-means is out: https://e-means.github.io/ ! PhD at Meta Superintelligence Labs and Ponts | Prev. @UniOfOxford @Polytechnique https://swannbessa.github.io/
待积累:7日增速(连续追踪满 7 天后解锁)
待积累:观点转述比(满 5 条成熟帖或对应样本后解锁)
介绍一下 e-means:这是一种只需约十分之一的迭代轮数就能超过 k-means 的算法。
e-means 的实际运行速度快了约一个数量级,现已在 FAISS 中发布。除了 k,无需调整其他超参数。它在不同规模和数据集上都表现稳健。还不信?试试 e-means 吧。[1/10]🧵
Swann Bessa 与 e-means 发布了 Dino10B 聚类与搜索基准测试,其中包含 100 亿个由 DINO ViT-L/16 计算的图像块向量嵌入。
Kudos to @hjegou and @HugoTouvron, who originally were the first persons at Meta to work on this project. That was a few years ago, and we decided to reinvestigate this year. The results were beyond our expectations !
Introducing e-means, an algorithm beating k-means in 10x fewer epochs.
With order of magnitude wall-clock speedups, e-means is released in FAISS and needs no hyperparameter tuning beyond k. It is robust to various scales and datasets. Still skeptical ? Just try e-means [1/10]🧵
Thanks to the great @askalphaxiv for the share !
One of the most used algorithms in ML just got a major upgrade after nearly 70 years, as Meta researchers found a way to outperform k-means with 1/10 the training passes, while achieving even lower clustering error.
This paper proposes e-means, which updates cluster centers using smaller batches and exponential moving averages instead. It also uses scaling laws to automatically choose the batch size and learning rate, enabling it to converge faster without additional hyperparameter tuning.
Across embedding datasets, e-means achieves lower clustering error in just 1.4-2.6 epochs compared to 25 epochs for traditional k-means, providing 10-45x GPU speedups. It can even cluster 10 billion embeddings into 16 million groups in just 2.5 epochs.
Just made my personal academic website, feel free to check it out :)
I'll make blog posts about clustering and vector search. Soon I'll be releasing my first PhD work : a cool modern version of k-means. Stay tuned.
PS : I also put a few travel photos in the hobbies section, just a personal endeavor.
just started using agents view with Claude and it feels much smoother, better late than never
CEO/Cofounder @lancedb, The AI-Native Multimodal Lakehouse. Early pandas co-author. Turning caffeine into code since the last century
@AppSumo CTO / Product 🌮
投资组合公司创始人,关注宏观经济、发展经济学与地缘政治。
continual(ly) learning @coreauto, on leave PhD @Berkeley_EECS