Abstract
Influence Maximization (IM) is a critical problem in social network analysis, aimed at identifying a small set of users to maximize information spread. While Reverse Influence Sampling (RIS) has improved computational efficiency, processing large-scale graphs remains a bottleneck for CPU-based systems. This paper introduces gIM, a GPU-accelerated RIS framework that parallelizes both sampling and seed selection. By utilizing block-level parallelism and a novel dual-queue memory management system, gIM achieves up to a 220x speedup over state-of-the-art CPU algorithms, reducing processing times for massive graphs from minutes to seconds without compromising theoretical guarantees.
Introduction
The Influence Maximization (IM) problem seeks to find a set of "seed" nodes in a social network that will trigger the largest cascading spread of information. Given its NP-hard nature, early solutions relied on slow greedy algorithms and Monte Carlo simulations. The current gold standard is Reverse Influence Sampling (RIS), which generates random "Reverse Reachable" (RR) sets to estimate node influence.
Despite its efficiency, RIS still requires significant time to process large graphs with tight error bounds. Previous GPU-based attempts faced challenges like workload imbalance—where threads assigned to different RR sets finished at vastly different times—and high synchronization overhead. gIM addresses these issues through a balanced, memory-efficient architecture designed specifically for the irregular workloads of graph traversals.
The gIM Methodology
gIM parallelizes the two primary bottlenecks of the RIS-based IMM algorithm: RR set sampling and seed set selection.
Block-Level Parallelism and Memory Management
Unlike previous approaches that assign one thread per RR set, gIM assigns the generation of exactly one RR set to a single CUDA warp (32 threads). This "Goldilocks" approach provides sufficient parallelism for the low average node degrees typical of social networks while minimizing idle threads.
To handle the limited shared memory of GPUs, gIM employs a Dual-Queue system. A fast frontier queue ($Q_{shr}$) resides in shared memory for rapid access, while a larger reservoir queue ($Q_{res}$) in global memory handles overflows when an RR set grows unexpectedly large.
Algorithmic Framework
The algorithm follows the standard RIS framework, which includes estimating a lower bound (LB) for influence to determine the required number of samples. gIM implements these steps, such as the lower bound estimation shown in Algorithm 2, using parallel reductions and dynamic memory packing to minimize the footprint of millions of generated RR sets.
Experimental Evaluation
The authors evaluated gIM using standard real-world social network graphs from the SNAP repository, including soc-LiveJournal1 (68.9M edges) and com-Orkut (117.1M edges). They also utilized synthetic scale-free graphs to test scalability across varying graph densities.
Key Results
- Massive Speedups: gIM achieved a 33x to 220x speedup over the sequential IMM algorithm.
- Real-time Performance: On the
com-Orkutdataset, the standard IMM algorithm took approximately 813 seconds, whereas gIM completed the task in just 3.689 seconds. - Superiority over GPU Competitors: gIM outperformed other parallel frameworks like cuRipples, which took 97 seconds on the same
com-Orkutdataset. - Density Scaling: As graph density increases, gIM's efficiency improves because denser graphs lead to higher thread utilization within the CUDA warps.
Conclusion and Future Work
gIM demonstrates that clever GPU memory management and workload balancing can make computationally intensive graph problems tractable for real-time applications. The framework's flexibility was further proven by its successful adaptation to Multi-Round IM (MRIM), achieving a 65x speedup over CPU counterparts. Future work may extend this framework to other complex IM variants, such as time-restricted or location-aware influence maximization.
Summary updated