arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.06856cs.LGcs.AIstat.ML
收藏

BanditPAM:几乎线性时间$k$ -通过多武装匪徒的中心点聚类

BanditPAM: Almost Linear Time $k$-Medoids Clustering via Multi-Armed Bandits

Stanford University(斯坦福大学);Harvard T.H. Chan School of Public Health(哈佛大学陈曾熙公共卫生学院);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Mo Tiwari, Martin Jinye Zhang, James Mayclin, Sebastian Thrun, Chris Piech, Ilan Shomorony

摘要:

聚类是数据科学中普遍存在的任务。与常用的$k$ -均值聚类相比,$k$ -中心点聚类要求聚类中心为实际数据点,并支持任意距离度量,从而允许更高的可解释性和结构化对象的聚类。当前最先进的$k$ -中心点聚类算法(诸如围绕中心点划分(PAM))是迭代的,并且对于每次迭代,数据集大小$n$是二次的,这对于大数据集是极其昂贵的。我们提出BanditPAM,一个随机算法的灵感来自多武装匪徒的技术,降低了从$O(n^2)$到$O(n \log n)$的每个PAM迭代的复杂性,并以高概率返回相同的结果,在实践中经常持有的数据的假设下。因此,BanditPAM匹配最先进的集群损失,同时更快地找到解决方案。我们在几个大型真实世界数据集上实证验证了我们的结果,包括编码练习提交数据集,10 x Genomics 68 k PBMC单细胞RNA测序数据集和MNIST手写数字数据集。在这些实验中,我们观察到BanditPAM返回与最先进的PAM类算法相同的结果,速度快4倍,同时执行的距离计算少200倍。BanditPAM所展示的改进使$k$ -medoids聚类能够应用于广泛的应用,包括识别大规模单细胞数据中的细胞类型,并为在线学习计算机科学的学生提供可扩展的反馈。我们还发布了我们算法的高度优化的Python和C++实现。

英文摘要:

Clustering is a ubiquitous task in data science. Compared to the commonly used $k$-means clustering, $k$-medoids clustering requires the cluster centers to be actual data points and support arbitrary distance metrics, which permits greater interpretability and the clustering of structured objects. Current state-of-the-art $k$-medoids clustering algorithms, such as Partitioning Around Medoids (PAM), are iterative and are quadratic in the dataset size $n$ for each iteration, being prohibitively expensive for large datasets. We propose BanditPAM, a randomized algorithm inspired by techniques from multi-armed bandits, that reduces the complexity of each PAM iteration from $O(n^2)$ to $O(n \log n)$ and returns the same results with high probability, under assumptions on the data that often hold in practice. As such, BanditPAM matches state-of-the-art clustering loss while reaching solutions much faster. We empirically validate our results on several large real-world datasets, including a coding exercise submissions dataset, the 10x Genomics 68k PBMC single-cell RNA sequencing dataset, and the MNIST handwritten digits dataset. In these experiments, we observe that BanditPAM returns the same results as state-of-the-art PAM-like algorithms up to 4x faster while performing up to 200x fewer distance computations. The improvements demonstrated by BanditPAM enable $k$-medoids clustering on a wide range of applications, including identifying cell types in large-scale single-cell data and providing scalable feedback for students learning computer science online. We also release highly optimized Python and C++ implementations of our algorithm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑