我们解决的问题,计数的$k$ -团在大规模的图形,任何常数$k \ge 3$。团计数在各种应用中是必不可少的,其中包括社会网络分析。由于其计算密集型的性质,我们满足于MapReduce框架中的并行解决方案,在过去的几年中,MapReduce框架已经成为批量处理海量数据集的{ \em de facto}标准。我们提供理论和实验的贡献。在理论方面,我们设计了第一个精确的可扩展算法计数(和上市)$k$ -集团。我们的算法使用$O(m^{3/2})$总空间和$O(m^{k/2})$工作,其中$m$是图的边数。这与$k=3$时三角列表的最佳边界相匹配,并且在任何$k$的最坏情况下都是工作最优的,同时保持通信成本独立于$k$。我们还设计了一个基于采样的估计器,可以大大减少运行时间和空间的要求的确切的方法,同时提供非常准确的解决方案,具有很高的概率。然后,我们通过在Amazon EC2平台上进行广泛的实验分析,评估不同团计数方法的有效性,同时考虑我们的算法及其最先进的竞争对手。实验结果清楚地突出了在不同的情况下选择的算法,并证明我们的确切的方法是最有效的,当$k$ -团的数量是大的,优雅地缩放到非平凡值的$k$,即使在小/中等大小的集群。我们的近似算法实现了非常准确的估计和大的加速比,特别是在最困难的情况下的精确算法。作为一个副作用,我们的研究还揭示了$k$的数量-几个现实世界的图,主要是社交网络,其增长率作为$k$的函数。
英文摘要:
We tackle the problem of counting the number of $k$-cliques in large-scale graphs, for any constant $k \ge 3$. Clique counting is essential in a variety of applications, among which social network analysis. Due to its computationally intensive nature, we settle for parallel solutions in the MapReduce framework, which has become in the last few years a {\em de facto} standard for batch processing of massive data sets. We give both theoretical and experimental contributions.
On the theory side, we design the first exact scalable algorithm for counting (and listing) $k$-cliques. Our algorithm uses $O(m^{3/2})$ total space and $O(m^{k/2})$ work, where $m$ is the number of graph edges. This matches the best-known bounds for triangle listing when $k=3$ and is work-optimal in the worst case for any $k$, while keeping the communication cost independent of $k$. We also design a sampling-based estimator that can dramatically reduce the running time and space requirements of the exact approach, while providing very accurate solutions with high probability.
We then assess the effectiveness of different clique counting approaches through an extensive experimental analysis over the Amazon EC2 platform, considering both our algorithms and their state-of-the-art competitors. The experimental results clearly highlight the algorithm of choice in different scenarios and prove our exact approach to be the most effective when the number of $k$-cliques is large, gracefully scaling to non-trivial values of $k$ even on clusters of small/medium size. Our approximation algorithm achieves extremely accurate estimates and large speedups, especially on the toughest instances for the exact algorithms. As a side effect, our study also sheds light on the number of $k$-cliques of several real-world graphs, mainly social networks, and on its growth rate as a function of $k$.
聚类系数和传递率是网络分析中经常使用的概念,这就需要快速实用的算法来计算大型图中的三角形。以前的研究集中在顺序算法、MapReduce并行化和快速近似。本文提出了一种基于CUDA GPU的并行三角形计数算法。我们描述了实现高性能所需的实施细节,并提出了我们的方法的实验评估。我们的算法在CPU实现上实现了8到15倍的加速,并且能够在Nvidia Tesla C2050 GPU上在不到10秒的时间内在8900万个边图中找到38亿个三角形。
Massively Parallel Algorithms for Small Subgraph Counting
在过去的二十年中,分布式内存并行计算框架,如MapReduce,Hadoop,Spark和Dryad,随着大型网络数据集的日益普及而获得了极大的普及。大规模并行计算(MPC)模型是在理论上研究这些框架中的图算法的事实标准。子图计数是分析海量图的基本问题之一,主要的算法挑战集中在设计可扩展和准确的方法上。给定一个图$G=(V, E)$与$n$顶点,$m$边和$T$三角形,我们的第一个结果是一个算法,输出$(1+\varepsilon)$ -近似$T$,与渐近\emph{optimal round and total space complexity}提供任何$S \geq \max{(\sqrt m, n^2/m)}$空间每台机器,并假设$T=Ω(\sqrt{m/n})$。我们的结果给出了一个二次改进的$T$上的界限比以前的作品。我们还提供了一个简单的推广,我们的结果计数\emph{any}子图的$k$大小为常数$k \geq 1$。我们的第二个结果是一个$O_{\varepsilon}(\log \log n)$轮算法,用于精确计算三角形的数量,其总的空间使用由输入图的\emph{arboricity} $α$参数化。我们将这一结果扩展到精确计数$k$ -团为任何常数$k$。最后,我们证明了Bera,Pashanasangi和Seshadhri(ITCS 2020)最近的一个结果,…