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

快速极大拟团枚举:一种剪枝与分支协同设计的方法

Fast Maximal Quasi-clique Enumeration: A Pruning and Branching Co-Design Approach

Kaiqiang Yu, Cheng Long

AI总结:

针对现有极大γ-拟团枚举分支定界算法仅优化剪枝、最坏时间复杂度为O^*(2^n)的问题,本文提出剪枝与分支协同设计的FastQC算法,结合分治策略将复杂度降至O^*(α_k^n)(α_k<2),实验显示其比现有最优方法最快快两个数量级。

摘要:

从图中挖掘内聚子图是图数据分析中的一个基础问题。γ-拟团(quasi-clique,简称QC)是一种值得关注的内聚结构,其中每个顶点至少与团内其他顶点的γ比例相连。枚举图中的所有极大γ-拟团(maximal γ-quasi-cliques,简称MQCs)已被广泛研究。查找所有MQC的一种常见做法是:(1)找到一组包含所有MQC的QC,然后(2)过滤掉非极大的QC。尽管已有不少算法(均为分支定界算法)被开发用于查找包含所有MQC的QC集合,但它们都聚焦于优化剪枝技术,几乎未投入精力改进分支部分。因此,这些算法无法保证剪枝的分支数量,且最坏时间复杂度均为O^*(2^n),其中O^*表示忽略多项式因子,n为图中的顶点数。\n本文聚焦于查找包含所有MQC的QC集合这一问题,但并未像现有方法那样进一步优化剪枝技术。我们同时关注剪枝和分支两部分,开发了能相互适配的新型剪枝技术与分支方法,以在理论和实践层面剪去更多分支。具体而言,我们基于新开发的剪枝技术和分支方法,提出了一种名为FastQC的新型分支定界算法,该算法将最坏时间复杂度提升至O^*(α_k^n),其中α_k是严格小于2的正实数。此外,我们还开发了一种分治策略来提升FastQC的性能。最后,我们在真实数据集和合成数据集上开展了大量实验,结果表明,在真实数据集上,我们的算法比当前最优方法最快快两个数量级。

英文摘要:

Mining cohesive subgraphs from a graph is a fundamental problem in graph data analysis. One notable cohesive structure is $γ$-quasi-clique (QC), where each vertex connects at least a fraction $γ$ of the other vertices inside. Enumerating maximal $γ$-quasi-cliques (MQCs) of a graph has been widely studied. One common practice of finding all MQCs is to (1) find a set of QCs containing all MQCs and then (2) filter out non-maximal QCs. While quite a few algorithms have been developed (which are branch-and-bound algorithms) for finding a set of QCs that contains all MQCs, all focus on sharpening the pruning techniques and devote little effort to improving the branching part. As a result, they provide no guarantee on pruning branches and all have the worst-case time complexity of $O^*(2^n)$, where $O^*$ suppresses the polynomials and $n$ is the number of vertices in the graph. In this paper, we focus on the problem of finding a set of QCs containing all MQCs but deviate from further sharpening the pruning techniques as existing methods do. We pay attention to both the pruning and branching parts and develop new pruning techniques and branching methods that would suit each other better towards pruning more branches both theoretically and practically. Specifically, we develop a new branch-and-bound algorithm called FastQC based on newly developed pruning techniques and branching methods, which improves the worst-case time complexity to $O^*(α_k^n)$, where $α_k$ is a positive real number strictly smaller than 2. Furthermore, we develop a divide-and-conquer strategy for boosting the performance of FastQC. Finally, we conduct extensive experiments on both real and synthetic datasets, and the results show that our algorithms are up to two orders of magnitude faster than the state-of-the-art on real datasets.

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

↑