Faster Depth-First Subgraph Matching on GPUs
Lyuheng Yuan, Da Yan, Jiao Han, Akhlaque Ahmad, Yang Zhou, Zhe Jiang
摘要
Subgraph search problems such as maximal clique enumeration and subgraph matching generate a search-space tree which is traversed in depth-first manner by serial backtracking algorithms that are recursive. Since Jenkins et al. reported the backtracking paradigm to be sub-optimal for GPU acceleration, breadth-first traversal of the search-space tree is widely adopted by GPU algorithms. However, they produce a lot of intermediate subgraphs that exhaust the GPU device memory. Recent works revive the depth-first backtracking paradigm for GPU acceleration, where each warp is a basic processing unit with its own stack in device memory for subgraph backtracking. However, they adopt complicated methods for load balancing that incur a lot of overheads. They also use hardcoded fixed space for stacks that is determined ad-hoc and may lead to inaccuracy when the allocated space is insufficient. In this paper, we use subgraph matching as a case study to propose novel depth-first GPU solutions to address the above problems. Our approach, called T-DFS, decomposes computation into independent tasks that process search-space subtrees, which are managed by an efficient lock-free circular task queue. Tasks are distributed to different warps for parallel processing, and a novel timeout mechanism is used to eliminate straggler tasks to ensure load balancing. We also support flexible and fine-grained dynamic memory allocation for stack spaces to avoid the stack space allocation pitfalls of existing works. Extensive experiments on real graphs show that T-DFS significantly outperforms existing depth-first GPU solutions for the subgraph matching application.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper7
- cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path QueriesSungwoo Park, Seohyeon Kim, Min-Soo KimSIGMOD 2026 · 1 次引用
- DiggerBees: Depth First Search Leveraging Hierarchical Block-Level Stealing on GPUsYuyao Niu, Yuechen Lu, Weifeng Liu, Marc CasasPPoPP 2026 · 1 次引用
- Characterizing Parallel Subgraph Matching Performance: A Systematic Study of Interactions, Scalability, and EnumerationTao Yu, Zhijie Zhang, Weiguo Zheng, Jeffrey Xu Yu 等VLDB 2026 · 1 次引用
- Effective Federated Graph MatchingYang Zhou, Zijie Zhang, Zeru Zhang, Lingjuan Lyu 等ICML 2024 · 1 次引用
- gMatch: Fine-Grained and Hardware-Efficient Subgraph Matching on GPUsWeitian Chen, Shixuan Sun, Cheng Chen, Yongmin Hu 等VLDB 2026
相关 Paper
- Efficient GPU-Accelerated Subgraph MatchingXibo Sun, Qiong LuoSIGMOD 2023 · 29 次引用
- GPU-Accelerated Batch-Dynamic Subgraph MatchingLinshan Qiu, Lu Chen, Hailiang Jie, Xiangyu Ke 等ICDE 2024 · 7 次引用
- G2-AIMD: A Memory-Efficient Subgraph-Centric Framework for Efficient Subgraph Finding on GPUsLyuheng Yuan, Akhlaque Ahmad, Da Yan, Jiao Han 等ICDE 2024 · 5 次引用
- STMatch: Accelerating Graph Pattern Matching on GPU with Stack-Based Loop OptimizationsYihua Wei, Peng JiangSC 2022 · 21 次引用
- cuTS: scaling subgraph isomorphism on distributed multi-GPU systems using trie based data structureLizhi Xiang, Arif Khan, Edoardo Serra, Mahantesh Halappanavar 等SC 2021 · 35 次引用
