[Paper Review] Algorithms and Heuristics for Scalable Betweenness Centrality Computation on Multi-GPU Systems
This paper presents a scalable, multi-GPU algorithm for exact betweenness centrality (BC) computation in large unweighted graphs, combining 2D graph decomposition, optimized thread-data mapping via prefix sums, and novel heuristics for 1-degree and 2-degree vertices. It achieves up to 2.8x speedup on real graphs and enables BC computation on graphs up to scale 28 (e.g., R-MAT EF32), with significant reductions in time and memory via heuristic-based pruning and a new DFM algorithm for 2-degree vertices.
Betweenness Centrality (BC) is steadily growing in popularity as a metrics of the influence of a vertex in a graph. The BC score of a vertex is proportional to the number of all-pairs-shortest-paths passing through it. However, complete and exact BC computation for a large-scale graph is an extraordinary challenge that requires high performance computing techniques to provide results in a reasonable amount of time. Our approach combines bi-dimensional (2-D) decomposition of the graph and multi-level parallelism together with a suitable data-thread mapping that overcomes most of the difficulties caused by the irregularity of the computation on GPUs. Furthermore, we propose novel heuristics which exploit the topology information of the graph in order to reduce time and space requirements of BC computation. Experimental results on synthetic and real-world graphs show that the proposed techniques allow the BC computation of graphs which are too large to fit in the memory of a single computational node along with a significant reduction of the computing time.
Motivation & Objective
- Address the scalability and memory limitations of exact betweenness centrality (BC) computation on large-scale graphs using multi-GPU systems.
- Overcome GPU-specific bottlenecks such as load imbalance and uncoalesced memory access in irregular graph workloads.
- Enable exact BC computation on graphs too large to fit in a single GPU’s memory through distributed 2D decomposition of the adjacency matrix.
- Reduce computational and communication overhead via novel heuristics that skip expensive Brandes algorithm steps for low-degree vertices.
- Extend existing 1-degree reduction heuristics to distributed systems and introduce a new 2-degree vertex heuristic based on shortest path tree reconstruction.
Proposed method
- Employ a 2D decomposition of the sparse adjacency matrix to distribute graph data across multiple GPUs, minimizing inter-GPU communication and enabling load balancing.
- Use a thread-data mapping strategy based on prefix-sum operations to efficiently manage BFS traversal and shortest path counting, ensuring coalesced memory access and load balance.
- Introduce an overlap optimization technique to hide communication latency by overlapping data transfer with computation during multi-GPU BFS and BC computation.
- Propose a novel 2-degree vertex heuristic (DFM algorithm) that computes betweenness contributions directly from neighbors’ shortest path trees, avoiding full Brandes execution.
- Implement a communication-optimized strategy that reduces data exchange from O(m) to O(n) per step by avoiding predecessor propagation.
- Extend the 1-degree reduction heuristic to distributed systems with a fast pre-processing algorithm that identifies and removes 1-degree vertices before BC computation.
Experimental results
Research questions
- RQ1How can betweenness centrality be computed efficiently and scalably on unweighted graphs using multiple GPUs while minimizing communication and memory overhead?
- RQ2To what extent can the 1-degree vertex reduction heuristic be extended to distributed multi-GPU systems to reduce both computation and communication costs?
- RQ3Can a new heuristic be designed to compute betweenness centrality contributions for 2-degree vertices without running the full Brandes algorithm?
- RQ4What is the theoretical and practical impact of combining 1-degree and 2-degree heuristics on overall BC computation time and scalability?
- RQ5How does the proposed 2D decomposition and communication-optimized framework scale across up to 256 GPUs on real and synthetic graphs?
Key findings
- The proposed multi-GPU algorithm achieves up to 2.8x speedup on the com-Youtube graph compared to single-GPU baselines, with significant reductions in total processing time.
- On the R-MAT EF32 graph (scale 23), the algorithm completes BC computation in 5.0 hours (1.3x speedup over single-GPU) with 12.1% of vertices reduced via 1-degree heuristics.
- The 2-degree vertex heuristic (DFM) enables skipping Brandes computation for 77,265 vertices on RoadNet-PA, reducing total execution time from 21.8 to 15.9 hours when combined with 1-degree reduction.
- The overlap optimization reduces communication latency by overlapping data transfers with computation, improving performance on multi-GPU systems.
- The algorithm successfully computes BC on graphs up to scale 28 (e.g., R-MAT EF32), which are too large for single-node memory, demonstrating strong scalability on 256 GPUs.
- The theoretical foundation of the DFM algorithm proves that the shortest path tree from a 2-degree vertex can be reconstructed from its two neighbors’ trees, enabling direct BC contribution calculation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.