arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.01936cs.LGcs.DS
收藏

大数据聚类的稳定时间与准确性权衡

Settling Time vs. Accuracy Tradeoffs for Clustering Big Data

Aarhus University(奥胡斯大学);Université Paris Cité(巴黎西岱大学);CNRS(法国国家科学研究中心)

Andrew Draganov, David Saulpic, Chris Schwiegelshohn

AI总结:

本文研究大数据 k-means 和 k-median 聚类的运行时间与准确性权衡,证明可在近线性时间内通过敏感度采样构造 coreset,并系统比较各类采样策略,为不同数据规模下的有效聚类提供理论与实践指导。

摘要:

我们研究在大数据集上 k-means 和 k-median 聚类的理论与实践运行时间限制。由于实际上所有聚类方法都比读取数据集所需的时间更慢,最快的方法是快速压缩数据,并在压缩表示上执行聚类。遗憾的是,在压缩点数方面并不存在普遍最优的选择——虽然随机采样以亚线性时间运行,且 coreset 提供理论保证,但前者不强制准确性,而后者随着点数和簇数增长则过于缓慢。事实上,已有猜想认为任何基于敏感度的 coreset 构造都需要在数据集规模上花费超线性时间。我们通过首先证明确实存在一种算法,能够在有效线性时间内——即读取数据时间的对数因子范围内——通过敏感度采样获得 coreset,来考察这一关系。任何显著改进于此的方法都必须诉诸实用启发式,这促使我们在静态和流式设置下,考察真实与人工数据集上的采样策略谱系。通过这一研究,我们展示了在哪些条件下 coreset 对于保持聚类有效性是必要的,以及在哪些设置下更快、更粗略的采样策略已经足够。因此,我们为无论数据规模大小的有效聚类提供了一份全面的理论与实践蓝图。我们的代码已公开,并附带可重现实验的脚本。

英文摘要:

We study the theoretical and practical runtime limits of k-means and k-median clustering on large datasets. Since effectively all clustering methods are slower than the time it takes to read the dataset, the fastest approach is to quickly compress the data and perform the clustering on the compressed representation. Unfortunately, there is no universal best choice for compressing the number of points - while random sampling runs in sublinear time and coresets provide theoretical guarantees, the former does not enforce accuracy while the latter is too slow as the numbers of points and clusters grow. Indeed, it has been conjectured that any sensitivity-based coreset construction requires super-linear time in the dataset size. We examine this relationship by first showing that there does exist an algorithm that obtains coresets via sensitivity sampling in effectively linear time - within log-factors of the time it takes to read the data. Any approach that significantly improves on this must then resort to practical heuristics, leading us to consider the spectrum of sampling strategies across both real and artificial datasets in the static and streaming settings. Through this, we show the conditions in which coresets are necessary for preserving cluster validity as well as the settings in which faster, cruder sampling strategies are sufficient. As a result, we provide a comprehensive theoretical and practical blueprint for effective clustering regardless of data size. Our code is publicly available and has scripts to recreate the experiments.

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

↑