Parallel Vertex Cover Algorithms on GPUs

被引:2
|
作者
Yamout, Peter [1 ]
Barada, Karim [1 ]
Jaljuli, Adnan [1 ]
Mouawad, Amer E. [1 ]
El Hajj, Izzat [1 ]
机构
[1] Amer Univ Beirut, Beirut, Lebanon
关键词
D O I
10.1109/IPDPS53621.2022.00028
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Finding small vertex covers in a graph has applications in numerous domains such as scheduling, computational biology, telecommunication networks, artificial intelligence, social science, and many more. Two common formulations of the problem include: Minimum Vertex Cover (MVC), which finds the smallest vertex cover in a graph, and Parameterized Vertex Cover (PVC), which finds a vertex cover whose size is less than or equal to some parameter k. Algorithms for both formulations involve traversing a search tree, which grows exponentially with the size of the graph or the value of k. Parallelizing the traversal of the vertex cover search tree on GPUs is challenging for multiple reasons. First, the search tree is a narrow binary tree which makes it difficult to extract enough sub-trees to process in parallel to fully utilize the GPU's massively parallel execution resources. Second, the search tree is highly imbalanced which makes load balancing across a massive number of parallel GPU workers especially challenging. Third, keeping around all the intermediate state needed to traverse many sub-trees in parallel puts high pressure on the GPU's memory resources and may act as a limiting factor to parallelism. To address these challenges, we propose an approach to traverse the vertex cover search tree in parallel using GPUs while handling dynamic load balancing. Each thread block traverses a different sub-tree using a local stack, however, we use a global worklist to balance the load to ensure that all blocks remain busy. Blocks contribute branches of their sub-trees to the global worklist on an as-needed basis, while blocks that finish their subtrees pick up new ones from the global worklist. We use degree arrays to represent intermediate graphs so that the representation is compact in memory to avoid limiting parallelism, but selfcontained which is necessary for the load balancing process. Our evaluation shows that compared to approaches used in prior work, our hybrid approach of using local stacks and a global worklist substantially improves performance and reduces load imbalance, especially on difficult instances of the problem. Our implementations have been open sourced to enable further research on parallel solutions to the vertex cover problem and other similar problems involving parallel traversal of narrow and highly imbalanced search trees.
引用
收藏
页码:201 / 211
页数:11
相关论文
共 50 条
  • [31] A Massively Parallel Algorithm for Minimum Weight Vertex Cover
    Ghaffari, Mohsen
    Jin, Ce
    Nilis, Daan
    PROCEEDINGS OF THE 32ND ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES (SPAA '20), 2020, : 259 - 268
  • [32] A PARALLEL ALGORITHM FOR THE MINIMUM WEIGHTED VERTEX COVER PROBLEM
    LIKAS, A
    STAFYLOPATIS, A
    INFORMATION PROCESSING LETTERS, 1995, 53 (04) : 229 - 234
  • [33] PARALLEL CIRCLE-COVER ALGORITHMS
    BERTOSSI, AA
    INFORMATION PROCESSING LETTERS, 1988, 27 (03) : 133 - 139
  • [34] Fast Distributed Approximation Algorithms for Vertex Cover and Set Cover in Anonymous Networks
    Astrand, Matti
    Suomela, Jukka
    SPAA '10: PROCEEDINGS OF THE TWENTY-SECOND ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2010, : 294 - 302
  • [35] p-Edge/vertex-connected vertex cover: Parameterized and approximation algorithms
    Einarson, Carl
    Gutin, Gregory
    Jansen, Bart M. P.
    Majumdar, Diptapriyo
    Wahlstrom, Magnus
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2023, 133 : 23 - 40
  • [36] Improved approximation algorithms for the vertex cover problem in graphs and hypergraphs
    Halperin, E
    PROCEEDINGS OF THE ELEVENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2000, : 329 - 337
  • [37] Approximation Algorithms for the L-Distance Vertex Cover Problem
    Chen, Qiaoyun
    Zhao, Liang
    2012 THIRD INTERNATIONAL CONFERENCE ON THEORETICAL AND MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE (ICTMF 2012), 2013, 38 : 100 - 104
  • [38] Constraint bipartite vertex cover: simpler exact algorithms and implementations
    Bai, Guoqiang
    Fernau, Henning
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2012, 23 (03) : 331 - 355
  • [39] Comparative Analysis of Vertex Cover Computation Algorithms for Varied Graphs
    Patel, Smit
    Kamath, Sowmya S.
    2014 INTERNATIONAL CONFERENCE ON COMMUNICATIONS AND SIGNAL PROCESSING (ICCSP), 2014,
  • [40] Kernelization and Parameterized Algorithms for 3-Path Vertex Cover
    Xiao, Mingyu
    Kou, Shaowei
    THEORY AND APPLICATIONS OF MODELS OF COMPUTATION (TAMC 2017), 2017, 10185 : 653 - 667