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

关系聚类的改进近似算法

Improved Approximation Algorithms for Relational Clustering

Department of Computer Science, University of Illinois Chicago(伊利诺伊芝加哥大学计算机科学系)

Aryan Esmailpour, Stavros Sintos

AI总结:

本文提出改进的关系聚类算法,通过高效的随机近似方法提高k-中位数和k-均值聚类的近似因子和运行效率。

摘要:

聚类在计算机科学中扮演着至关重要的角色,促进了数据分析和问题解决在众多领域。通过将大规模数据集划分为有意义的群体,聚类揭示了数据中的隐藏结构和关系,有助于无监督学习、分类、异常检测和推荐系统等任务。特别是在关系数据库中,数据分布在多个表中,高效的聚类是必要的但具有挑战性,因为表连接的计算复杂性很高。本文通过引入高效的算法来解决这一挑战,这些算法可以在不预先计算连接查询结果的情况下,对关系数据进行k-均值和k-中位数聚类。对于关系k-中位数聚类,我们提出了第一个高效的相对近似算法。对于关系k-均值聚类,我们的算法显著提高了已知关系k-均值聚类算法的近似因子和运行时间,这些算法要么有较大的常数近似因子,要么运行时间昂贵。给定一个连接查询Q和一个包含O(N)个元组的数据库实例D,对于Q在D上的结果进行k-中位数和k-均值聚类,我们提出了随机的(1+ε)γ-近似算法,其运行时间约为O(k²N^fhw)+T_γ(k²),其中ε∈(0,1)是一个由用户决定的常数参数,fhw是查询Q的分数超树宽度,而γ和T_γ(x)分别是传统聚类算法在标准计算设置下处理x个点的近似因子和运行时间。

英文摘要:

Clustering plays a crucial role in computer science, facilitating data analysis and problem-solving across numerous fields. By partitioning large datasets into meaningful groups, clustering reveals hidden structures and relationships within the data, aiding tasks such as unsupervised learning, classification, anomaly detection, and recommendation systems. Particularly in relational databases, where data is distributed across multiple tables, efficient clustering is essential yet challenging due to the computational complexity of joining tables. This paper addresses this challenge by introducing efficient algorithms for $k$-median and $k$-means clustering on relational data without the need for pre-computing the join query results. For the relational $k$-median clustering, we propose the first efficient relative approximation algorithm. For the relational $k$-means clustering, our algorithm significantly improves both the approximation factor and the running time of the known relational $k$-means clustering algorithms, which suffer either from large constant approximation factors, or expensive running time. Given a join query $Q$ and a database instance $D$ of $O(N)$ tuples, for both $k$-median and $k$-means clustering on the results of $Q$ on $D$, we propose randomized $(1+\varepsilon)γ$-approximation algorithms that run in roughly $O(k^2N^{\mathsf{fhw}})+T_γ(k^2)$ time, where $\varepsilon\in (0,1)$ is a constant parameter decided by the user, $\mathsf{fhw}$ is the fractional hyper-tree width of $Q$, while $γ$ and $T_γ(x)$ are respectively the approximation factor and the running time of a traditional clustering algorithm in the standard computational setting over $x$ points.

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

↑