TL;DR
This paper introduces KADABRA, a novel algorithm for approximating betweenness centrality in graphs that significantly outperforms existing methods. It achieves this through two key innovations: a faster method for sampling shortest paths and a more rigorous application of adaptive sampling, enabling more efficient and flexible centrality computations, even for large-scale networks.
What Problem Does This Paper Address?
Betweenness centrality is a crucial metric for understanding the importance of nodes and edges in complex networks, identifying bottlenecks and influential individuals. However, exactly computing it for all nodes in large graphs is computationally prohibitive, often taking $O(mn)$ time. While approximation algorithms exist, they often struggle with efficiency, require computing all centralities to a uniform precision, or lack rigorous theoretical guarantees, especially concerning adaptive sampling techniques. This paper aims to bridge this gap by providing a faster, more flexible, and theoretically sound approximation algorithm for betweenness centrality.
Methods
KADABRA introduces two main technical contributions:
- Balanced Bidirectional Breadth-First Search (bb-BFS): Instead of a standard BFS from a single source, bb-BFS performs simultaneous BFSs from both the source and target nodes. This "balanced" approach aims to have the two searches meet in the middle, significantly reducing the number of edges explored. The paper provides theoretical guarantees for its efficiency on various random graph models, achieving near-linear time complexity in terms of edges ($|E|^{1/2+o(1)}$) under certain conditions, a substantial improvement over the standard BFS's $O(|E|)$ complexity.
- Adaptive Sampling Made Rigorous: The paper addresses a subtle issue in adaptive sampling, where the stopping condition for sampling paths can introduce a stochastic dependence that compromises the theoretical guarantees of previous methods. By employing martingale theory and fixing a deterministic upper bound on the number of samples, they provide a general and rigorous analysis of adaptive sampling. This allows for more flexible stopping criteria, enabling the algorithm to adapt the precision of centrality estimates based on the node's centrality value, rather than enforcing a uniform error bound across all nodes.
Datasets
The authors evaluated KADABRA on a dataset comprising 15 undirected and 15 directed real-world networks. These networks were sourced from SNAP, LASAGNE, and KONECT. Additionally, they tested KADABRA on large-scale networks, including snapshots of the IMDB actor collaboration network (up to 1.8 million nodes and 145 million edges) and the Wikipedia citation network (over 4.2 million nodes and 102 million edges), to demonstrate its scalability for top-k centrality computations.
Key Insights and Ideas
- bb-BFS is a Game-Changer for Shortest Path Sampling: Despite its intuitive appeal, balanced bidirectional BFS was surprisingly underutilized for centrality approximation. The paper demonstrates its significant speedup potential, especially on large graphs, by reducing the search space.
- Rigorous Adaptive Sampling is Crucial: The paper highlights a critical theoretical flaw in prior adaptive sampling techniques. By providing a formal martingale-based analysis, they ensure that the algorithm's stopping time doesn't invalidate its correctness guarantees, a key step towards reliable approximation.
- Flexibility in Precision is Key for Efficiency: KADABRA's ability to adapt the required precision for different nodes (e.g., using tighter bounds for high-centrality nodes and looser bounds for others) is a major advantage. This allows for faster computation, especially when only the top-k central nodes are of interest, without needing to compute all centralities with high precision.
Key Results
- Significant Speedups: KADABRA is experimentally shown to be about 100 times faster than existing state-of-the-art algorithms (RK and ABRA) on average for approximating betweenness centrality on real-world complex networks.
- Scalability for Top-k Centralities: The algorithm successfully computes top-k betweenness centralities on massive graphs (millions of nodes and edges) that were previously intractable for existing methods.
- Theoretical Guarantees: The paper provides theoretical bounds for the efficiency of bb-BFS on various random graph models and a rigorous proof for the correctness of their adaptive sampling approach.
- Improved Sample Efficiency: KADABRA requires a smaller number of shortest path samples compared to competitors, especially as the desired error tolerance ($\lambda$) decreases.
Limitations and Future Work
- Heuristic for Delta Choice: While the algorithm works for any choice of $\delta$ values, the paper uses a heuristic to compute them for optimal performance. The formal correctness of this heuristic is not proven, though it is shown to work well in practice.
- Formal Correctness of Adaptive Stopping: The paper notes that formally proving the correctness of adaptive stopping conditions that depend on the outcome of the algorithm itself is a challenging open problem. Their current approach relies on fixing a deterministic upper bound on samples to circumvent this.
- Generalization: The authors suggest that their techniques, particularly the adaptive sampling framework, can be extended to compute edge centralities, handle weighted graphs, and potentially be coupled with existing methods for dynamic graphs.
Summary updated