高效的半外部广度优先搜索
Efficient Semi-External Breadth-First Search
AI总结:
本文针对磁盘驻留大规模图的半外部内存模型,提出高效 BFS 算法 EP-BFS,以较小内存需求在数十亿级节点和边的图上实现高达 10 倍加速。
摘要:
广度优先搜索(BFS)被认为是学习图属性的基本搜索策略。近年来,随着图数据库规模急剧增长,大规模图 G 通常存储在磁盘上。在半外部内存模型中获取 G 的 BFS 结果是不可避免的,因为内存 BFS 算法必须将整个 G 保存在主存中,而外部 BFS 算法则消耗高昂的计算成本。作为内部与外部内存模型之间的良好折中,半外部内存模型假设主存至少能够容纳 G 的一棵生成树。然而,由于其难度,半外部 BFS 问题仍然是一个未解决的问题。因此,本文对半外部内存模型中的 BFS 处理进行了全面研究。在讨论了基于半外部图算法基本框架的朴素解决方案之后,本文提出了一种高效算法,名为 EP-BFS,该算法具有较小的最小内存空间需求,而这是评估半外部算法的重要因素。在真实和合成的大规模图上进行了大量实验,其中图 WDC-2014 包含超过 17 亿个节点,图 eu-2015 拥有超过 910 亿条边。实验结果证实,EP-BFS 可以实现高达 10 倍的加速。
英文摘要:
Breadth-first search (BFS) is known as a basic search strategy for learning graph properties. As the scales of graph databases have increased tremendously in recent years, large-scale graphs G are often disk-resident. Obtaining the BFS results of G in semi-external memory model is inevitable, because the in-memory BFS algorithm has to maintain the entire G in the main memory, and external BFS algorithms consume high computational costs. As a good trade-off between the internal and external memory models, semi-external memory model assumes that the main memory can at least reside a spanning tree of G. Nevertheless, the semi-external BFS problem is still an open issue due to its difficulty. Therefore, this paper presents a comprehensive study for processing BFS in semi-external memory model. After discussing the naive solutions based on the basic framework of semi-external graph algorithms, this paper presents an efficient algorithm, named EP-BFS, with a small minimum memory space requirement, which is an important factor for evaluating semi-external algorithms. Extensive experiments are conducted on both real and synthetic large-scale graphs, where graph WDC-2014 contains over 1.7 billion nodes, and graph eu-2015 has over 91 billion edges. Experimental results confirm that EP-BFS can achieve up to 10 times faster.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。