在GPU上加速二分图双团计数
Accelerating Biclique Counting on GPU
AI总结:
针对二分图中(p,q)-双团计数面临大规模图时的性能瓶颈,提出基于GPU的GBC算法,通过截断位图哈希、DFS-BFS混合探索及复合负载均衡策略大幅提升计数效率,最高实现1217.7倍加速。
摘要:
在二分图中计数(p,q)-双团构成了一个基础性挑战,具有广泛的应用,从算法研究中的最稠密子图发现到实际场景中的个性化内容推荐。尽管意义重大,但目前领先的(p,q)-双团计数算法仍存在不足,特别是在面对更大的图规模和团规模时。幸运的是,该问题固有的结构允许从每个顶点开始独立计数每个双团,结合大量的集合交集运算,使其非常适合并行化。近年来GPU加速算法在各个领域的成功,促使我们探索利用GPU的并行能力来高效解决(p,q)-双团计数挑战。我们提出了GBC(GPU-based Biclique Counting,基于GPU的双团计数),这是一种旨在实现GPU上高效且可扩展的(p,q)-双团计数的新方法。为了解决集合交集中冗余比较引发的重大瓶颈(平均占用90%的运行时间),我们引入了一种新颖的数据结构,将邻接表哈希映射为截断位图,从而通过按位与操作在GPU上实现高效的集合交集。我们创新的DFS-BFS混合探索策略进一步提高了线程利用率,并有效管理了内存限制。一种结合运行前和运行时工作负载分配的复合负载均衡策略,确保了线程间的公平分配。此外,我们采用了顶点重排序和图划分策略,以提高紧凑性和可扩展性。在8个真实数据集和2个合成数据集上的实验评估表明,GBC以显著优势优于最先进的算法。特别是,GBC实现了497.8倍的平均加速比,在p = q = 8时,最大实例达到了1217.7倍的显著加速比。
英文摘要:
Counting (p,q)-bicliques in bipartite graphs poses a foundational challenge with broad applications, from densest subgraph discovery in algorithmic research to personalized content recommendation in practical scenarios. Despite its significance, current leading (p,q)-biclique counting algorithms fall short, particularly when faced with larger graph sizes and clique scales. Fortunately, the problem's inherent structure, allowing for the independent counting of each biclique starting from every vertex, combined with a substantial set intersections, makes it highly amenable to parallelization. Recent successes in GPU-accelerated algorithms across various domains motivate our exploration into harnessing the parallelism power of GPUs to efficiently address the (p,q)-biclique counting challenge. We introduce GBC (GPU-based Biclique Counting), a novel approach designed to enable efficient and scalable (p,q)-biclique counting on GPUs. To address major bottleneck arising from redundant comparisons in set intersections (occupying an average of 90% of the runtime), we introduce a novel data structure that hashes adjacency lists into truncated bitmaps to enable efficient set intersection on GPUs via bit-wise AND operations. Our innovative hybrid DFS-BFS exploration strategy further enhances thread utilization and effectively manages memory constraints. A composite load balancing strategy, integrating pre-runtime and runtime workload allocation, ensures equitable distribution among threads. Additionally, we employ vertex reordering and graph partitioning strategies for improved compactness and scalability. Experimental evaluations on eight real-life and two synthetic datasets demonstrate that GBC outperforms state-of-the-art algorithms by a substantial margin. In particular, GBC achieves an average speedup of 497.8x, with the largest instance achieving a remarkable 1217.7x speedup when p = q = 8.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。