arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1301.5887cs.SIcs.DC
收藏

用MapReduce计数大量图中的三角形

Counting Triangles in Massive Graphs with MapReduce

Tamara G. Kolda, Ali Pinar, Todd Plantenga, C. Seshadhri, Christine Task

摘要:

图和网络用于在各种上下文中对交互进行建模。人们越来越需要快速评估图的特征,以了解其底层结构。一些最有用的指标是基于三角形的,可以衡量共同朋友的连通性。这通常用聚类系数来概括,聚类系数衡量一个节点的两个邻居本身相连的可能性。精确计算大规模网络的这些度量在内存和时间上都非常昂贵。然而,最近的楔形抽样算法已被证明是成功的有效和准确地估计聚类系数。在本文中,我们描述了如何在MapReduce中实现这种方法来处理海量图。我们展示了公开网络的结果,其中最大的是1.32亿个节点和4.7亿条边,以及人工生成的网络(使用Graph500基准),其中最大的有2.4亿个节点和8.5亿条边。我们可以通过度仓来估计聚类系数(例如,我们使用指数分箱)和每个分箱的三角形数量,以及全局聚类系数和三角形总数,平均每百万条边0.33秒加上开销(对于我们的配置总共大约225秒)。该技术还可以用于研究三角统计,例如最高和最低度的比率,我们强调了社交网络和非社交网络之间的差异。据我们所知,这些是迄今为止最大的基于三角形的图计算。

英文摘要:

Graphs and networks are used to model interactions in a variety of contexts. There is a growing need to quickly assess the characteristics of a graph in order to understand its underlying structure. Some of the most useful metrics are triangle-based and give a measure of the connectedness of mutual friends. This is often summarized in terms of clustering coefficients, which measure the likelihood that two neighbors of a node are themselves connected. Computing these measures exactly for large-scale networks is prohibitively expensive in both memory and time. However, a recent wedge sampling algorithm has proved successful in efficiently and accurately estimating clustering coefficients. In this paper, we describe how to implement this approach in MapReduce to deal with massive graphs. We show results on publicly-available networks, the largest of which is 132M nodes and 4.7B edges, as well as artificially generated networks (using the Graph500 benchmark), the largest of which has 240M nodes and 8.5B edges. We can estimate the clustering coefficient by degree bin (e.g., we use exponential binning) and the number of triangles per bin, as well as the global clustering coefficient and total number of triangles, in an average of 0.33 seconds per million edges plus overhead (approximately 225 seconds total for our configuration). The technique can also be used to study triangle statistics such as the ratio of the highest and lowest degree, and we highlight differences between social and non-social networks. To the best of our knowledge, these are the largest triangle-based graph computations published to date.

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

↑