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

草图查询:在超大型网络上扩展最短路径图

Query-by-Sketch: Scaling Shortest Path Graph Queries on Very Large Networks

Ye Wang, Qing Wang, Henning Koehler, Yu Lin

摘要:

计算最短路径是图形数据处理中的一项基本操作。在许多现实世界的应用中,发现两个顶点之间的最短路径使我们能够充分利用底层结构来理解顶点在图中是如何相关的,例如社交网络中个体之间的社交联系的强度。在本文中,我们研究的最短路径图问题,旨在有效地计算一个最短路径图,其中包含复杂网络上任意一对顶点之间的所有最短路径。我们的目标是设计一个精确的解决方案,可以扩展到具有数百万或数十亿个顶点和边的图。为了实现高可扩展性,我们提出了一种新的方法,按草图查询(QbS),它有效地利用了离线标签(即,预先计算的标签)来引导在线搜索通过快速的草图绘制过程,该草图绘制过程在回答最短路径图查询时总结了最短路径的重要结构方面。从理论上证明了该方法的正确性,并分析了其计算复杂性。为了实证验证QbS的效率,我们在12个真实世界的数据集上进行了实验,其中最大的数据集有17亿个顶点和78亿条边。实验结果表明,QbS可以回答最短路径图查询在微秒的百万规模的图和不到半秒的十亿规模的图。

英文摘要:

Computing shortest paths is a fundamental operation in processing graph data. In many real-world applications, discovering shortest paths between two vertices empowers us to make full use of the underlying structure to understand how vertices are related in a graph, e.g. the strength of social ties between individuals in a social network. In this paper, we study the shortest-path-graph problem that aims to efficiently compute a shortest path graph containing exactly all shortest paths between any arbitrary pair of vertices on complex networks. Our goal is to design an exact solution that can scale to graphs with millions or billions of vertices and edges. To achieve high scalability, we propose a novel method, Query-by-Sketch (QbS), which efficiently leverages offline labelling (i.e., precomputed labels) to guide online searching through a fast sketching process that summarizes the important structural aspects of shortest paths in answering shortest-path-graph queries. We theoretically prove the correctness of this method and analyze its computational complexity. To empirically verify the efficiency of QbS, we conduct experiments on 12 real-world datasets, among which the largest dataset has 1.7 billion vertices and 7.8 billion edges. The experimental results show that QbS can answer shortest-path graph queries in microseconds for million-scale graphs and less than half a second for billion-scale graphs.

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

↑