GPU上的并行K团计数
Parallel K-Clique Counting on GPUs
摘要:
图中k-团的计数是图分析中的一个重要问题,在社区发现和图划分等方面有着广泛的应用。计数k-团通常通过从图中的每个顶点开始遍历搜索树来完成。在CPU上已经对k团计数进行了充分的研究,并且存在许多解决方案。然而,对于GPU上的k团计数,没有高性能的解决方案。在GPU上优化k团计数带来了许多挑战,例如需要提取细粒度多级并行性,对负载不平衡的敏感性以及受限的物理内存容量。虽然已经有相关问题的工作,如寻找最大团和GPU上的广义子图匹配,特别是k-团计数尚未深入探讨。在本文中,我们提出了第一个专门用于k团计数问题的并行GPU解决方案。我们的解决方案支持图方向和旋转消除冗余团发现。它结合了以顶点为中心和以边缘为中心的并行化方案,用于跨线程块分配工作,并在每个线程块内进一步分区工作,以提取细粒度的多级并行性,同时容忍负载不平衡。它还包括优化,如诱导子图的二进制编码和子扭曲分区,以限制内存消耗并提高执行资源的利用率。我们的评估表明,我们最好的GPU实现优于最先进的并行CPU实现的几何平均值为12.39倍,6.21倍,18.99倍,k=4,7和10,分别。我们还进行了详细的评估,在选择并行化方案中所涉及的权衡,以及每个优化的增量加速,以提供对优化空间的深入了解。...
英文摘要:
Counting k-cliques in a graph is an important problem in graph analysis with many applications such as community detection and graph partitioning. Counting k-cliques is typically done by traversing search trees starting at each vertex in the graph. Parallelizing k-clique counting has been well-studied on CPUs and many solutions exist. However, there are no performant solutions for k-clique counting on GPUs. Parallelizing k-clique counting on GPUs comes with numerous challenges such as the need for extracting fine-grain multi-level parallelism, sensitivity to load imbalance, and constrained physical memory capacity. While there has been work on related problems such as finding maximal cliques and generalized sub-graph matching on GPUs, k-clique counting in particular has yet to be explored in depth. In this paper, we present the first parallel GPU solution specialized for the k-clique counting problem. Our solution supports both graph orientation and pivoting for eliminating redundant clique discovery. It incorporates both vertex-centric and edge-centric parallelization schemes for distributing work across thread blocks, and further partitions work within each thread block to extract fine-grain multi-level parallelism while tolerating load imbalance. It also includes optimizations such as binary encoding of induced sub-graphs and sub-warp partitioning to limit memory consumption and improve the utilization of execution resources. Our evaluation shows that our best GPU implementation outperforms the best state-of-the-art parallel CPU implementation by a geometric mean of 12.39x, 6.21x, and 18.99x for k=4, 7, and 10, respectively. We also perform a detailed evaluation of the trade-offs involved in the choice of parallelization scheme, and the incremental speedup of each optimization to provide an in-depth understanding of the optimization space. ...
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。