Skip to main content
QUICK REVIEW

[Paper Review] Fast Exact Shortest-Path Distance Queries on Large Networks by Pruned Landmark Labeling

Takuya Akiba, Yoichi Iwata|arXiv (Cornell University)|Apr 17, 2013
Data Management and AlgorithmsComputer Science38 references32 citations
TL;DR

This paper proposes a novel exact shortest-path distance query method for large-scale networks using pruned landmark labeling and bit-parallel BFS. By pruning distant vertices during BFS from each vertex and exploiting bitwise operations to process multiple BFS traversals simultaneously, the method achieves fast preprocessing, small index size, and sub-microsecond query times—scaling to graphs with hundreds of millions of edges, two orders of magnitude larger than previous exact methods.

ABSTRACT

We propose a new exact method for shortest-path distance queries on large-scale networks. Our method precomputes distance labels for vertices by performing a breadth-first search from every vertex. Seemingly too obvious and too inefficient at first glance, the key ingredient introduced here is pruning during breadth-first searches. While we can still answer the correct distance for any pair of vertices from the labels, it surprisingly reduces the search space and sizes of labels. Moreover, we show that we can perform 32 or 64 breadth-first searches simultaneously exploiting bitwise operations. We experimentally demonstrate that the combination of these two techniques is efficient and robust on various kinds of large-scale real-world networks. In particular, our method can handle social networks and web graphs with hundreds of millions of edges, which are two orders of magnitude larger than the limits of previous exact methods, with comparable query time to those of previous methods.

Motivation & Objective

  • Address the scalability gap in exact shortest-path distance querying for large complex networks such as social and web graphs.
  • Overcome the limitations of prior exact methods that require thousands of seconds to index graphs with millions of edges.
  • Enable efficient, low-latency distance queries (microsecond response time) on networks too large for previous exact approaches.
  • Develop a preprocessing method that is both fast and memory-efficient for real-world large-scale networks.
  • Achieve robust performance across diverse network types, including social networks and web graphs, with minimal sensitivity to parameter choices.

Proposed method

  • The method performs breadth-first search (BFS) from every vertex in the graph to precompute distance labels.
  • It introduces pruning during BFS: once a vertex is found to be too far from the source, further exploration from that vertex is skipped, reducing label size and search space.
  • The pruning strategy exploits the fact that distant vertex pairs are often covered early, allowing early termination of BFS for such vertices.
  • The method uses bit-parallel BFS to process up to 32 or 64 BFS traversals simultaneously using bitwise operations, significantly accelerating preprocessing.
  • It combines pruned labeling with bit-parallel BFS to further reduce index size and improve preprocessing and query performance.
  • Vertex ordering strategies (degree and closeness centrality) are used to prioritize central vertices, improving label compression and performance.

Experimental results

Research questions

  • RQ1Can a simple BFS-based labeling approach be made scalable for large-scale real-world networks by introducing pruning during traversal?
  • RQ2How effective is bit-parallel BFS in accelerating preprocessing without sacrificing label accuracy or increasing index size?
  • RQ3Does vertex ordering based on degree or closeness centrality significantly improve label compression and performance?
  • RQ4To what extent does the pruning strategy reduce label size and preprocessing time while maintaining exact distance computation?
  • RQ5Can the combined use of pruning and bit-parallelism achieve sub-microsecond query times on graphs with hundreds of millions of edges?

Key findings

  • The pruned landmark labeling method reduces label sizes and search space significantly, enabling fast preprocessing even on graphs with hundreds of millions of edges.
  • Using bit-parallel BFS accelerates preprocessing by 2 to 10 times and reduces both index size and normal label size.
  • The method achieves average query times of around ten microseconds, comparable to previous approximate methods, but with exact results.
  • The Degree and Closeness vertex ordering strategies reduce average label size to less than 100 for large networks like Epinions and Slashdot, compared to over 7,000 with random ordering.
  • The performance is robust to the number of bit-parallel BFSs, with optimal performance achieved at a moderate number of parallel traversals, and no significant degradation for extreme values.
  • The method scales to networks with up to 100 million edges—two orders of magnitude larger than previous exact methods—while maintaining low index size and fast query times.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.