BanditPAM++:更快的k-medoids聚类
BanditPAM++: Faster $k$-medoids Clustering
AI总结:
本文提出BanditPAM++,通过迭代内和跨迭代重用聚类信息两项改进加速BanditPAM,在保持相同聚类结果的同时实现O(k)复杂度提升和显著运行时间缩短。
摘要:
聚类是数据科学中的一项基础任务,具有广泛的应用。在k-medoids聚类中,聚类中心必须是实际数据点,并且可以使用任意距离度量;这些特性分别使得k-medoids聚类的聚类中心具有更强的可解释性,并且能够对奇异对象进行聚类。由于发现了更高效的k-medoids算法,k-medoids聚类近年来日益流行。特别是,最近的研究提出了BanditPAM,这是一种随机化的k-medoids算法,具有最先进的复杂度和聚类精度。在本文中,我们提出了BanditPAM++,它通过两项算法改进加速了BanditPAM,在复杂度上比BanditPAM快O(k)倍,在墙钟运行时间上比BanditPAM显著更快。首先,我们证明了BanditPAM具有一种特殊结构,允许在每次迭代内部重用聚类信息。其次,我们证明了BanditPAM还具有额外的结构,允许跨不同迭代重用信息。这些观察启发了我们提出的算法BanditPAM++,它返回与BanditPAM相同的聚类解,但通常快数倍。例如,在CIFAR10数据集上,BanditPAM++返回与BanditPAM相同的结果,但运行速度提高了10倍以上。最后,我们提供了BanditPAM++的高性能C++实现,可从Python和R调用,实践者可在https://github.com/motiwari/BanditPAM获取。用于通过一行脚本复现我们所有实验的辅助代码可在https://github.com/ThrunGroup/BanditPAM_plusplus_experiments获取。
英文摘要:
Clustering is a fundamental task in data science with wide-ranging applications. In $k$-medoids clustering, cluster centers must be actual datapoints and arbitrary distance metrics may be used; these features allow for greater interpretability of the cluster centers and the clustering of exotic objects in $k$-medoids clustering, respectively. $k$-medoids clustering has recently grown in popularity due to the discovery of more efficient $k$-medoids algorithms. In particular, recent research has proposed BanditPAM, a randomized $k$-medoids algorithm with state-of-the-art complexity and clustering accuracy. In this paper, we present BanditPAM++, which accelerates BanditPAM via two algorithmic improvements, and is $O(k)$ faster than BanditPAM in complexity and substantially faster than BanditPAM in wall-clock runtime. First, we demonstrate that BanditPAM has a special structure that allows the reuse of clustering information $\textit{within}$ each iteration. Second, we demonstrate that BanditPAM has additional structure that permits the reuse of information $\textit{across}$ different iterations. These observations inspire our proposed algorithm, BanditPAM++, which returns the same clustering solutions as BanditPAM but often several times faster. For example, on the CIFAR10 dataset, BanditPAM++ returns the same results as BanditPAM but runs over 10$\times$ faster. Finally, we provide a high-performance C++ implementation of BanditPAM++, callable from Python and R, that may be of interest to practitioners at https://github.com/motiwari/BanditPAM. Auxiliary code to reproduce all of our experiments via a one-line script is available at https://github.com/ThrunGroup/BanditPAM_plusplus_experiments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。