Abstract
Influence Maximization (IM) is a critical task for identifying influential nodes in social networks, but its computational complexity poses significant challenges for modern multi-core systems. This paper presents EFFICIENTIMM, a high-performance framework that addresses scalability bottlenecks through a fundamental redesign of memory partitioning and the introduction of NUMA-aware optimizations. By transitioning from a traditional "pull" model to a partitioned "push" model and utilizing adaptive data structures, EFFICIENTIMM achieves up to a 12.1x speedup over state-of-the-art methods. Experimental results on massive datasets, including the 1.4-billion-edge Twitter graph, demonstrate superior cache efficiency and robust scaling up to 128 cores.
What Problem Does This Paper Address?
Influence Maximization (IM) involves finding a small set of "seed" nodes in a social network to trigger the largest possible spread of information. While vital for viral marketing and public health, the problem is NP-hard. Researchers rely on approximation algorithms like IMM (Influence Maximization via Martingales), which uses "sketches" of the graph called Reverse Influence Sampling (RIS) sets.
The challenge is that existing IMM frameworks, such as Ripples, fail to scale effectively on modern server-grade CPUs. As core counts grow and memory architectures become more complex (specifically NUMA—Non-Uniform Memory Access), these frameworks hit a performance wall. The primary culprits are redundant memory traversals, poor data locality, and workload imbalances caused by the "Strongly Connected Components" (SCCs) common in social graphs, where a few highly connected nodes dominate the workload.
Methods
EFFICIENTIMM overhauls the IMM workflow with several technical innovations designed for modern hardware:
- RRRset Partitioning: Instead of every thread scanning every sampled sketch (the "pull" model), EFFICIENTIMM partitions the sketches among threads. Each thread processes its assigned sketches and "broadcasts" updates to a global counter using fine-grained C++ atomics.
- Kernel Fusion: The sampling and selection phases are merged into a unified kernel. This "In-Place Data Processing" keeps data in the local CPU cache, drastically reducing the need to reload massive datasets from main memory.
- NUMA-Aware Design: The framework uses memory interleaving and the
mbindsystem call to ensure threads primarily access memory local to their specific CPU socket, minimizing high-latency inter-socket traffic. - Adaptive Data Structures: The algorithm dynamically switches between storing vertex lists (for sparse data) and bitmaps (for dense data). This optimizes search times from $O(\log n)$ to $O(1)$ for dense sets.
- Dynamic Job Balancing: A producer-consumer model allows idle threads to "steal" work from others, preventing performance tail-backs caused by unusually large graph components.
Datasets
The authors evaluated their framework using eight diverse datasets from the SNAP (Stanford Large Network Dataset Collection), including social networks (com-YouTube, soc-Pokec), web graphs (web-Google, com-Amazon), and road networks (as-Skitter). Notably, EFFICIENTIMM successfully processed the massive Twitter7 dataset (41.6M nodes, 1.4B edges), which caused the baseline Ripples framework to crash with Out-Of-Memory (OOM) errors.
Key Insights and Ideas
- The "Push" vs. "Pull" Shift: By switching to a partitioning scheme where threads "push" updates to a global counter, the authors transformed a random-access memory bottleneck into a streamlined, cache-friendly process.
- Exploiting Graph Skewness: Social networks are notoriously skewed. EFFICIENTIMM’s adaptive bitmap approach specifically targets this by using bitmaps for dense components, achieving $O(1)$ search times exactly where the workload is heaviest.
- Hardware-Algorithm Co-design: Software scalability is not just about adding threads; it requires respecting the physical layout of hardware, such as NUMA nodes and cache hierarchies.
Key Results
- Speedup: EFFICIENTIMM outperformed Ripples by an average of 5.9x, with peak speedups reaching 12.1x on the LiveJournal dataset.
- Scalability: While Ripples often plateaued after 16–32 cores, EFFICIENTIMM showed significantly improved scaling up to 128 cores.
- Cache Efficiency: On the YouTube graph, the new approach reduced L1 and L2 cache misses by 357.4x.
- Robustness: The framework handled the 1.4-billion-edge Twitter graph, a feat the previous state-of-the-art could not manage on the same hardware.
Limitations and Future Work
For very small datasets, the overhead of parallel management can lead to a slight performance dip when using the full 128-core capacity. Additionally, while optimized for single multi-socket servers (shared memory), the authors note that extending these partitioning strategies to distributed memory (clusters using MPI) is the logical next step for even larger "web-scale" problems.
Summary updated