arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2310.16752cs.LGcs.DS
收藏

基于一维投影的简单、可扩展且有效的聚类

Simple, Scalable and Effective Clustering via One-Dimensional Projections

Institute of Science and Technology Austria (ISTA)(奥地利科学技术学院);University of Vienna(维也纳大学);University of Pennsylvania(宾夕法尼亚大学);Stanford University(斯坦福大学)

Moses Charikar, Monika Henzinger, Lunjia Hu, Maxmilian Vötsch, Erik Waingarten

AI总结:

提出一种基于一维投影的简单随机聚类算法,在任意 $k$ 值下期望运行时间为 $O(\mathrm{nnz}(X) + n\log n)$,近似比为 $\widetilde{O}(k^4)$,并在运行时间与聚类质量间取得新权衡。

摘要:

聚类是无监督机器学习中的一个基本问题,在数据分析中有许多应用。诸如 Lloyd 算法和 $k$-means++ 等流行的聚类算法,在将 $d$ 维空间中的 $n$ 个点(表示为 $n\times d$ 矩阵 $X$)聚类为 $k$ 个簇时,可能需要 $Ω(ndk)$ 的时间。在 $k$ 为中等到较大的应用中,乘法因子 $k$ 会变得非常昂贵。我们引入了一种简单的随机聚类算法,可证明对于任意 $k$,其期望运行时间为 $O(\mathrm{nnz}(X) + n\log n)$。这里 $\mathrm{nnz}(X)$ 是输入数据集 $X$ 中非零项的总数,其上限为 $nd$,且对于稀疏数据集可能显著更小。我们证明,对于 $k$-means 目标,我们的算法在任何输入数据集上都能达到 $\smash{\widetilde{O}(k^4)}$ 的近似比。我们也相信我们的理论分析具有独立意义,因为我们证明了 $k$-means 算法的近似比在一类投影下近似保持不变,并且 $k$-means++ 播种可以在一维中以期望的 $O(n \log n)$ 时间实现。最后,我们通过实验表明,与之前用于这些任务的最先进方法相比,我们的聚类算法在运行时间和聚类质量之间提供了新的权衡。

英文摘要:

Clustering is a fundamental problem in unsupervised machine learning with many applications in data analysis. Popular clustering algorithms such as Lloyd's algorithm and $k$-means++ can take $Ω(ndk)$ time when clustering $n$ points in a $d$-dimensional space (represented by an $n\times d$ matrix $X$) into $k$ clusters. In applications with moderate to large $k$, the multiplicative $k$ factor can become very expensive. We introduce a simple randomized clustering algorithm that provably runs in expected time $O(\mathrm{nnz}(X) + n\log n)$ for arbitrary $k$. Here $\mathrm{nnz}(X)$ is the total number of non-zero entries in the input dataset $X$, which is upper bounded by $nd$ and can be significantly smaller for sparse datasets. We prove that our algorithm achieves approximation ratio $\smash{\widetilde{O}(k^4)}$ on any input dataset for the $k$-means objective. We also believe that our theoretical analysis is of independent interest, as we show that the approximation ratio of a $k$-means algorithm is approximately preserved under a class of projections and that $k$-means++ seeding can be implemented in expected $O(n \log n)$ time in one dimension. Finally, we show experimentally that our clustering algorithm gives a new tradeoff between running time and cluster quality compared to previous state-of-the-art methods for these tasks.

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

↑