TL;DR
This paper introduces PBNG, a novel two-phased parallel framework for discovering dense hierarchical structures in bipartite graphs. PBNG significantly outperforms existing methods in terms of speed, scalability, and reduction of synchronization overhead, enabling the analysis of much larger datasets than previously possible.
What Problem Does This Paper Address?
Bipartite graphs are ubiquitous in real-world applications, from e-commerce to social networks. Discovering dense subgraphs within these networks is crucial for understanding relationships and community structures. Existing methods, like "wing" and "tip" decomposition, rely on iteratively "peeling" away low-density elements based on butterfly counts. However, the sheer number of butterflies in large bipartite graphs makes these bottom-up peeling approaches computationally demanding and difficult to parallelize effectively due to heavy synchronization requirements. This limits their scalability and the size of graphs that can be analyzed.
Methods
The core innovation of PBNG is its two-phased peeling approach, designed to break the sequential dependencies that plague existing methods.
- Coarse-grained Decomposition (PBNG CD): This phase divides the entire spectrum of entity numbers (representing density levels) into a few large, non-overlapping ranges. It then iteratively peels entities within these broad ranges. This allows for a large number of entities to be processed in each iteration, creating significant parallel workload and reducing the need for fine-grained synchronization. This phase uses a novel range partitioning strategy that adaptively balances workload across partitions.
- Fine-grained Decomposition (PBNG FD): In this phase, each partition created by PBNG CD is processed independently. PBNG FD uses a sequential bottom-up peeling approach within each partition, but crucially, these partitions are processed concurrently across multiple threads. This eliminates global synchronization and allows for efficient parallel execution.
PBNG also incorporates several optimizations:
- BE-Index: Leverages a Bloom-Edge Index for efficient retrieval of butterfly information, crucial for support updates.
- Batch Processing: Aggregates updates from multiple peeled entities to reduce computational overhead.
- Dynamic Graph Updates: Removes peeled entities from data structures to prevent wasteful exploration.
Datasets
The authors evaluated PBNG on twelve large, unweighted bipartite graphs from the KOBLENZ collection and Network Repository. These datasets are described as some of the largest publicly available real-world bipartite datasets. Examples include:
- Artists and labels affiliation (Discogs)
- URLs and tags (delicious.com)
- Pages and editors (Wikipedia, French, Italian, English)
- Users and stories (Digg)
- Internet domains and trackers
Key Insights and Ideas
- Breaking Sequential Dependencies: The fundamental insight is that the order of peeling entities with similar density levels doesn't affect the final decomposition. PBNG exploits this by grouping entities into broad ranges, enabling parallel processing across these ranges.
- Parallelism Across Levels: Unlike previous methods that only parallelize within an iteration, PBNG achieves parallelism across different levels of the decomposition hierarchy.
- Workload Balancing is Key: The two-phased approach, especially the adaptive range partitioning in PBNG CD, is critical for distributing work evenly and maximizing parallel efficiency.
- Tip vs. Wing Decomposition: Tip decomposition (vertex peeling) is generally faster and more feasible for very large datasets than wing decomposition (edge peeling), partly due to the nature of butterfly structures.
Key Results
- Dramatic Speedup: PBNG achieves up to 19.7x self-relative parallel speedup on 36 threads.
- Massive Synchronization Reduction: Compared to the state-of-the-art parallel framework ParButterfly, PBNG reduces thread synchronization by up to 15,260x.
- Execution Time Improvement: PBNG is up to 295x faster than ParButterfly and up to 38.5x faster than state-of-the-art wing decomposition algorithms.
- Scalability to New Frontiers: PBNG successfully decomposes datasets that baselines cannot process in days, completing them in minutes or hours. For example, it decomposes the "Gtr" and "De-ut" datasets in a few hours, which baselines fail to process in two days.
- Workload Reduction: PBNG traverses significantly fewer wedges (up to 64x reduction) and has fewer support updates compared to baselines.
Limitations and Future Work
- NUMA Effects: While PBNG scales well up to 18 threads (single socket), scaling to 36 threads (two sockets) shows diminishing returns (only 1.2x speedup on average). This is attributed to NUMA effects, increased memory access costs, and atomic operations, especially impacting the traversal of large BE-Indices.
- Future Work:
- Extend PBNG to distributed-memory systems for even greater scalability on HPC clusters.
- Explore finer-grained parallelism and techniques to further improve memory access locality and reduce atomic operations.
- Investigate the applicability of the two-phased peeling approach to nucleus decomposition in unipartite graphs.
Summary updated