Lune

SIGMOD2021Top-tier venue

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

Ye Wang, Qing Wang, Henning Koehler, Yu Lin

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. CompressGraph: Efficient Parallel Graph Analytics with Rule-Based CompressionZheng Chen, Feng Zhang, Jiawei Guan, Jidong Zhai et al.SIGMOD 2023 · 23 citations
  2. Shortest-Path Queries on Complex Networks: Experiments, Analyses, and ImprovementJunhua Zhang, Wentao Li, Long Yuan, Lu Qin et al.VLDB 2022 · 19 citations
  3. BatchHL: Answering Distance Queries on Batch-Dynamic Networks at ScaleMuhammad Farhan, Qing Wang, Henning KoehlerSIGMOD 2022 · 19 citations
  4. Quantum Data Management in the NISQ EraRihan Hai, Shih-Han Hung, Tim Coopmans, Tim Littau et al.VLDB 2025 · 10 citations
  5. Towards Generating Hop-constrained s-t Simple Path GraphsYuzheng Cai, Siyuan Liu, Weiguo Zheng, Xuemin LinSIGMOD 2023 · 9 citations

Related papers

  1. Towards Efficient Shortest Path Counting on Billion-Scale GraphsYiqi Wang, Long Yuan, Zi Chen, Wenjie Zhang et al.ICDE 2023 · 21 citations
  2. Efficient Shortest Path Counting on Large Road NetworksYu-Xuan Qiu, Dong Wen, Lu Qin, Wentao Li et al.VLDB 2022 · 22 citations
  3. Hub Labeling for Shortest Path CountingYikai Zhang, Jeffrey Xu YuSIGMOD 2020 · 22 citations
  4. Divide-and-Conquer: Scalable Shortest Path Counting on Large Road NetworksMuhammad Farhan, Henning Koehler, Qing WangSIGMOD 2025 · 1 citation
  5. Scaling Up Distance Labeling on Graphs with Core-Periphery PropertiesWentao Li, Miao Qiao, Lu Qin, Ying Zhang et al.SIGMOD 2020 · 38 citations
Dusk over the sea between two cliffs drawn in fine vertical lines