arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1203.5387cs.DScs.DB
收藏

在对数轮中寻找Map-Reduce上的连通分支

Finding Connected Components on Map-reduce in Logarithmic Rounds

Vibhor Rastogi, Ashwin Machanavajjhala, Laukik Chitnis, Anish Das Sarma

摘要:

给定一个具有数百万个节点和边的大型图G =(V,E),我们如何有效地计算其连通分支?最近的工作解决了这个问题,在映射减少,其中一个基本的权衡之间存在的映射减少轮数和每轮的通信。d表示图的直径,n表示最大分量中的节点数,所有现有的映射缩减技术要么需要d轮,要么每轮需要大约n个|V| + |E|通信。本文提出了两种随机映射归约算法--(i)Hash-Greater-To-Min算法,该算法可证明最多需要3log(n)轮,且具有很高的概率,每轮最多需要2次(|V| + |E|)通信;(ii)Hash-to-Min算法,该算法理论复杂度较差,但实际上最多需要2log(d)轮,每轮最多需要3次(|V| + |E|)通信。我们的连接组件技术也可以应用于聚类。本文提出了一种新的单链接聚集算法。这是第一个可以证明在最多O(log(n))轮内计算聚类的算法,其中n是最大聚类的大小。我们通过对大型合成数据集和真实数据集的详细实验,证明了我们所有算法的有效性。

英文摘要:

Given a large graph G = (V,E) with millions of nodes and edges, how do we compute its connected components efficiently? Recent work addresses this problem in map-reduce, where a fundamental trade-off exists between the number of map-reduce rounds and the communication of each round. Denoting d the diameter of the graph, and n the number of nodes in the largest component, all prior map-reduce techniques either require d rounds, or require about n|V| + |E| communication per round. We propose two randomized map-reduce algorithms -- (i) Hash-Greater-To-Min, which provably requires at most 3log(n) rounds with high probability, and at most 2(|V| + |E|) communication per round, and (ii) Hash-to-Min, which has a worse theoretical complexity, but in practice completes in at most 2log(d) rounds and 3(|V| + |E|) communication per rounds. Our techniques for connected components can be applied to clustering as well. We propose a novel algorithm for agglomerative single linkage clustering in map-reduce. This is the first algorithm that can provably compute a clustering in at most O(log(n)) rounds, where n is the size of the largest cluster. We show the effectiveness of all our algorithms through detailed experiments on large synthetic as well as real-world datasets.

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

↑