Accelerating Maximal Biclique Enumeration on GPUs

Chou-Ying Hsieh, Chia-Ming Chang, Po-Hsiu Cheng, Sy-Yen KuoarXiv 2024 · DOI

Abstract

Maximal Biclique Enumeration (MBE) is a critical task in graph mining, used to identify dense sub-structures in bipartite graphs for applications like bioinformatics and recommendation systems. Due to its combinatorial nature, MBE is computationally intensive. We present cuMBE, the first GPU-accelerated algorithm for MBE. cuMBE addresses the challenges of GPU-based depth-first search (DFS) through recursion elimination using compact arrays, a hybrid parallelism model, and dynamic work-stealing. Experimental results on 13 real-world datasets show that cuMBE achieves a 6.1x geometric mean speedup over state-of-the-art serial algorithms and up to 38x speedup on specific datasets.

Introduction

In graph theory, a biclique is a complete bipartite subgraph where every vertex in one set connects to every vertex in another. A biclique is "maximal" if it cannot be extended by adding more vertices. Finding all maximal bicliques (MBE) is essential for uncovering hidden patterns in complex networks.

Bipartite graph structure for biclique enumeration.

While GPUs offer massive parallel processing capabilities, the traditional recursive DFS approach used for MBE is difficult to port to GPU architectures due to memory constraints and workload imbalance. cuMBE is designed to overcome these limitations.

Methodology: The cuMBE Algorithm

cuMBE introduces several key innovations to optimize MBE for the GPU:

1. Recursion Elimination via Compact Arrays

Standard DFS relies on a call stack, which is inefficient on GPUs. cuMBE "flattens" the search tree using a compact array data structure. By using a single pre-allocated array and pointers to track the state at each level, cuMBE simulates DFS iteratively, avoiding the overhead of dynamic memory allocation and stack management.

2. Hybrid Parallelism and Work-Stealing

To maximize GPU utilization, cuMBE employs a two-tiered parallelism model:

  • Coarse-grained: Entire subtrees of the search process are assigned to different GPU thread blocks.
  • Fine-grained: Within each block, warps and individual threads handle compute-intensive tasks, such as checking vertex connectivity.

To address the "straggler" problem, where some blocks finish early while others remain busy, cuMBE implements a K-level work-stealing mechanism. Idle blocks can steal sub-tasks from busy ones, ensuring balanced load across the entire device.

3. Search Tree Optimizations

The search process involves maintaining several sets: $R'$ (the current biclique), $L'$ (candidates in the opposite set), $P$ (vertices that can expand the biclique), and $Q$ (vertices used to check maximality).

Search tree for maximal biclique enumeration showing the sets R', L', P, and Q at different levels.

cuMBE optimizes this search through reverse scanning for maximality checks and early-stop techniques. Instead of checking all external candidates, reverse scanning focuses on the neighbors of the current biclique members, which is often a much smaller set.

Experimental Evaluation

The authors tested cuMBE against 13 diverse datasets, including social networks (DBLP, YouTube) and review systems (MovieLens, BookCrossing).

Key Results

  • Performance: cuMBE achieved a geometric mean speedup of 6.1x over the serial ooMBE and 6.3x over the parallel ParMBE.
  • Peak Speedup: On the Marvel dataset, cuMBE was 38x faster than serial methods.
  • Efficiency: The combination of early-stop and reverse scanning provided up to an 11x speedup on certain datasets by pruning redundant computations.

Conclusion and Future Work

cuMBE demonstrates that with the right data structures and parallelism models, GPUs can significantly accelerate complex graph mining tasks like MBE. While it excels on most graphs, community-rich datasets like DBLP-author present challenges due to high data-fetching overhead. Future research will focus on optimizing memory transfer latencies and refining load-balancing for irregular graph structures.

Summary updated

BibTeX
@misc{hsieh2024accelerating,
  author = {Chou-Ying Hsieh and Chia-Ming Chang and Po-Hsiu Cheng and Sy-Yen Kuo},
  title = {{Accelerating Maximal Biclique Enumeration on GPUs}},
  year = {2024},
  eprint = {2401.05039},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.05039},
}
Figure