Skip to main content
QUICK REVIEW

[Paper Review] Hub-Accelerator: Fast and Exact Shortest Path Computation in Large Social Networks

Ruoming Jin, Ning Ruan|arXiv (Cornell University)|May 2, 2013
Internet Traffic Analysis and Secure E-votingComputer Science42 references11 citations
TL;DR

This paper proposes Hub-Accelerator, a framework using hub-centric techniques—Hub-Network and Hub 2-Labeling—to accelerate exact k-degree shortest path computation in large social networks. By preserving distances through a distance-preserving hub network or labeling core hubs, it reduces search space and achieves over 100x speedup over BFS and state-of-the-art approximate methods like Sketch, with low index cost and fast precomputation.

ABSTRACT

Shortest path computation is one of the most fundamental operations for managing and analyzing large social networks. Though existing techniques are quite effective for finding the shortest path on large but sparse road networks, social graphs have quite different characteristics: they are generally non-spatial, non-weighted, scale-free, and they exhibit small-world properties in addition to their massive size. In particular, the existence of hubs, those vertices with a large number of connections, explodes the search space, making the shortest path computation surprisingly challenging. In this paper, we introduce a set of novel techniques centered around hubs, collectively referred to as the Hub-Accelerator framework, to compute the k-degree shortest path (finding the shortest path between two vertices if their distance is within k). These techniques enable us to significantly reduce the search space by either greatly limiting the expansion scope of hubs (using the novel distance- preserving Hub-Network concept) or completely pruning away the hubs in the online search (using the Hub2-Labeling approach). The Hub-Accelerator approaches are more than two orders of magnitude faster than BFS and the state-of-the-art approximate shortest path method Sketch for the shortest path computation. The Hub- Network approach does not introduce additional index cost with light pre-computation cost; the index size and index construction cost of Hub2-Labeling are also moderate and better than or comparable to the approximation indexing Sketch method.

Motivation & Objective

  • To address the challenge of exact shortest path computation in large, scale-free, small-world social networks where hubs cause search-space explosion.
  • To design efficient, exact k-degree shortest path algorithms that scale to networks with millions of vertices and high-diameter characteristics.
  • To minimize online query time while keeping index size and precomputation cost practical for real-world deployment.
  • To explore hub-based indexing strategies that either limit hub expansion (Hub-Network) or precompute hub paths (Hub 2-Labeling) for faster query resolution.
  • To empirically evaluate performance across diverse real-world social networks and compare against BFS and Sketch, the state-of-the-art approximate method.

Proposed method

  • The Hub-Network approach constructs a distance-preserving subgraph centered on selected hubs, reducing the effective degree of hubs and limiting their expansion during bidirectional BFS.
  • Hub 2-Labeling precomputes labels for core hubs, storing for each vertex the shortest path distances to a small set of core hubs, enabling fast path reconstruction.
  • The framework uses a two-phase strategy: precomputation to build hub-aware indexes (Hub-Network or Hub 2-Labeling), followed by online query using bidirectional BFS with hub-aware pruning.
  • Core hubs are selected based on degree and centrality, with the goal of minimizing the number of hubs while preserving shortest path information.
  • The Hub-Network construction involves running BFS from each hub and filtering edges to preserve shortest path distances, resulting in a compact, hub-optimized subgraph.
  • The Hub 2-Labeling method stores, for each vertex, a list of core hubs and their shortest path distances, enabling O(1) lookup during query.

Experimental results

Research questions

  • RQ1Can hub-centric indexing significantly reduce the search space in k-degree shortest path queries on large social networks?
  • RQ2How does the performance of Hub-Network and Hub 2-Labeling compare to BFS and Sketch in terms of query speed and index cost?
  • RQ3What is the optimal number of hubs to balance index size, precomputation cost, and query performance?
  • RQ4To what extent can hub degree reduction in the Hub-Network improve query efficiency?
  • RQ5How do the proposed methods scale across diverse real-world social networks with varying topologies and diameters?

Key findings

  • Hub-Accelerator achieves over 100x speedup over standard BFS and the state-of-the-art approximate Sketch method on large social networks with millions of vertices.
  • The Hub-Network approach reduces average query time significantly, especially when the number of hubs is between 10,000 and 15,000, with minimal precomputation and no additional index storage cost.
  • Hub 2-Labeling achieves moderate index size and construction cost, with only 2.5 core hubs stored per vertex on average in WikiTalk, enabling fast online queries.
  • The average number of core hubs per vertex is less than 2% of total hubs in most networks, indicating high compression and efficiency of the labeling scheme.
  • The Hub-Network construction is over three times faster than Hub 2-Labeling, and both methods show linear growth in precomputation time with increasing hub count.
  • In networks like Orkut, LiveJournal, and Twitter, the Hub-Network size grows significantly with more hubs, but the average hub degree drops to less than one-third of original, improving query performance.

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.