arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.13217cs.DCcs.LG
收藏

快速分布式k-Means算法:少量通信轮次

Fast Distributed k-Means with a Small Number of Rounds

Ben Gurion University(本·古里安大学)

Tom Hess, Ron Visbord, Sivan Sabato

AI总结:

提出一种分布式k-means聚类新算法,利用协调器计算能力,保证成本近似因子,通常1-4轮即可,优于k-means||算法,且机器运行时间更短。

摘要:

我们提出了一种在分布式环境下进行k-means聚类的新算法,其中数据分布在多台机器上,并由一个协调器与这些机器通信以计算最终的聚类结果。该算法保证了一个成本近似因子和通信轮次数,这些仅取决于协调器的计算能力。此外,算法内置了停止机制,使其在可能的情况下能够使用更少的通信轮次。我们在理论和实证两方面都表明,在许多自然情况下,确实1-4轮就足够了。与流行的k-means||算法相比,我们的方法允许利用更大的协调器容量来获得更少的轮次。实验表明,我们提出的算法获得的k-means成本通常优于k-means||算法,即使后者被允许使用更多的轮次。此外,我们方法中的机器运行时间远小于k-means||。运行算法和实验的代码可在https://github.com/selotape/distributed_k_means获取。

英文摘要:

We propose a new algorithm for k-means clustering in a distributed setting, where the data is distributed across many machines, and a coordinator communicates with these machines to calculate the output clustering. Our algorithm guarantees a cost approximation factor and a number of communication rounds that depend only on the computational capacity of the coordinator. Moreover, the algorithm includes a built-in stopping mechanism, which allows it to use fewer communication rounds whenever possible. We show both theoretically and empirically that in many natural cases, indeed 1-4 rounds suffice. In comparison with the popular k-means|| algorithm, our approach allows exploiting a larger coordinator capacity to obtain a smaller number of rounds. Our experiments show that the k-means cost obtained by the proposed algorithm is usually better than the cost obtained by k-means||, even when the latter is allowed a larger number of rounds. Moreover, the machine running time in our approach is considerably smaller than that of k-means||. Code for running the algorithm and experiments is available at https://github.com/selotape/distributed_k_means.

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

↑