e-means:以十分之一训练轮数超越k-means e-means: outperforming k-means (in one-tenth the epochs) 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-11-06
👁️ 预览文献
💡 AI 中文简介
本文提出e-means聚类算法,利用指数移动平均优化和小批量更新,并基于深度学习技术建立衰减率与批量大小的缩放规律,无需超参数调优。在多个嵌入数据集上,e-means仅需1.4-2.6个epoch即可达到Lloyd k-means 25个epoch的损失,实现10-45倍GPU加速,并在100亿规模数据集上高效完成1600万簇划分。
领域机器学习/数据聚类
适合谁读需要一定专业背景(聚类算法、深度学习优化基础)
核心贡献1. 提出基于指数移动平均和小批量更新的e-means算法,无需超参数调优即可快速收敛;2. 建立衰减率与批量大小的缩放规律,为参数选择提供理论指导。
关键数据在多个嵌入数据集上,e-means仅需1.4-2.6个epoch即可达到Lloyd k-means 25个epoch的损失,实现10-45倍GPU加速;在DINO10B(100亿嵌入)上,2.5个epoch完成1600万簇划分,损失低于Lloyd 25个epoch。
推荐理由如果你需要快速聚类大规模数据,e-means能以十分之一的轮数达到更好效果,大幅节省计算时间,值得一读!
关键词["k-means", "指数移动平均", "小批量更新", "聚类算法", "缩放规律", "GPU加速"]

原文摘要

查看英文原文摘要

Lloyd's k-means algorithm is a long-running standard for clustering, with applications in data analysis, retrieval, quantization and data curation. In this paper, we introduce an exponential moving average optimization procedure for k-means with mini-batch updates, powered by modern deep learning machinery and new insights. We also establish scaling laws on how decay rate and batch size impact final performance. This gives us a formulaic rule to fix them for multiple problem sizes and embedding datasets, without the need for any hyperparameter sweep. The resulting clustering algorithm, coined e-means, is much faster than Lloyd k-means and converges to lower losses, frequently even beating k-means++. On a wide array of embeddings datasets, it beats the loss of Lloyd k-means at 25 epochs in 1.4 to 2.6 epochs, which translates to 10-45x GPU wall-clock speedups compared to state-of-the-art k-means implementations. As an example, e-means partitions DINO10B, a dataset of 10 billion DINO embeddings, into 16 million clusters in only 2.5 epochs, reaching a loss below Lloyd's at 25 epochs.