TL;DR
The authors introduce Maximal Frontier Betweenness Centrality (MFBC), a new parallel algorithm that redefines how we calculate graph importance. By using 3D sparse matrix multiplication and a flexible "monoid" algebraic framework, MFBC reduces communication overhead by a factor of $p^{1/3}$ and outperforms the state-of-the-art CombBLAS library by up to 8x, while extending support to weighted graphs.
What Problem Does This Paper Address?
Betweenness Centrality (BC) is a vital metric in network science used to identify "bottleneck" or influential nodes (e.g., key hubs in a power grid or influential users in a social network). However, calculating BC is notoriously difficult to scale on supercomputers.
The challenge lies in the "irregularity" of graphs: as you traverse a network, communication between processors becomes unpredictable, leading to high synchronization costs and data movement bottlenecks. Most existing high-performance BC tools are limited to unweighted graphs and rely on 2D data distributions that move too much data as the number of processors ($p$) increases.
Methods
The researchers tackle this by formulating BC through the lens of Sparse Linear Algebra. Their approach, MFBC, consists of two main innovations:
- Monoids over Semirings: Traditional algebraic graph algorithms use "semirings" (like the tropical semiring for shortest paths). The authors argue this is too restrictive. By using monoids, they allow for different data types in the matrices and arbitrary functions for "multiplication." This lets them succinctly track path weights, multiplicities, and centrality scores simultaneously in a single matrix-multiplication-like step.
- 3D Sparse Matrix-Matrix Multiplication (SpGEMM): Instead of a standard 2D grid of processors, they use a 3D decomposition. This "3D" approach replicates some data to significantly reduce the total amount of communication required during the algorithm's execution.
- Bellman-Ford Logic: Unlike most BC algorithms that use Breadth-First Search (BFS), MFBC uses a Bellman-Ford-style approach. This allows the algorithm to handle weighted graphs while still taking advantage of "frontier" optimizations (only processing nodes that actually changed in the last step).
The algorithm is implemented using the Cyclops Tensor Framework (CTF), which automatically chooses the best data layout and multiplication strategy for a given graph.
Datasets
The authors evaluated MFBC on the Blue Waters supercomputer using a mix of synthetic and massive real-world datasets:
- Real-World (SNAP): Friendster (1.8B edges), Orkut (117M edges), LiveJournal, and a Patent citation graph.
- Synthetic: R-MAT graphs (which mimic power-law social networks) and Erdős-Rényi (random-uniform) graphs.
- Benchmarks: They compared their results directly against CombBLAS, the previous gold standard for matrix-based graph processing.
Key Insights and Ideas
- Communication is the Killer: In modern supercomputing, moving data costs far more energy and time than computing on it. MFBC’s primary "win" is reducing the communication volume by a factor of $p^{1/3}$ compared to 2D methods.
- Succinctness via Algebra: By moving to a monoid-based formalism, the authors reduced complex graph traversal logic into a few lines of matrix operations. This makes the code easier to prove correct and easier for a framework like CTF to optimize.
- Frontier Maximization: The "Maximal Frontier" in the name refers to the algorithm's ability to relax all possible edges that could yield progress in a single parallel step, maximizing the work done per communication round.
Key Results
- Performance: MFBC achieved up to an 8x speedup over CombBLAS on the Orkut graph.
- Scalability: The algorithm showed excellent "strong scaling" (getting faster as you add more nodes to the same problem). For the Friendster graph—the largest in the set—MFBC scaled successfully from 32 to 128 nodes, a feat CombBLAS struggled to match.
- Weighted Graphs: Unlike many competitors, MFBC maintains high performance on weighted graphs, though it is roughly 2x slower than the unweighted case due to the increased number of iterations required by Bellman-Ford logic.
- Robustness: MFBC provided more consistent performance across different graph types (sparse vs. dense) compared to previous methods.
Limitations and Future Work
- Latency Sensitivity: While the algorithm reduces the volume of data moved, the "batching" approach (processing $n_b$ source vertices at a time) can increase the number of synchronization steps (latency).
- Directed Graph Performance: On highly structured directed graphs (like the Patent citation network), the back-propagation stage of the algorithm took longer than expected, sometimes allowing CombBLAS to catch up.
- Future Directions: The authors suggest applying this monoid-based 3D SpGEMM approach to other complex graph problems, such as Maximum Flow or more complex path-finding queries.
Summary updated