BUG: Balanced DFS-Based Subgraph Matching with a ReUse Strategy on GPUs

Subgraph matching is a fundamental problem in graph analysis with wide-ranging applications in domains such as bioinformatics, fraud detection, social networks, and recommendation systems. Despite extensive optimization efforts on CPU platforms, the NP-hard nature of subgraph matching limits the performance, especially on large-scale datasets. Leveraging the massive parallelism and high memory bandwidth of GPUs offers significant acceleration potential. However, existing GPU-based solutions face key challenges. BFS-based approaches suffer from excessive memory consumption due to the exponential growth of partial matches, while more DFS-based methods, though memory-efficient, struggle with severe load imbalance and inefficient computation reuse.In this work, we propose two complementary strategies to address these issues. First, we introduce a work-offload mechanism that dynamically balances workload across warps using a global task queue, significantly improving resource utilization. Second, we employ a combination of symmetry-breaking and a reuse strategy to reduce redundant set intersections during the enumeration process. The experiments on real-world and synthetic datasets demonstrate that our approach achieves up to a 25.59× speedup compared to prior works.

Authors

Institutions

Publication Details

Published
2025-09-15
DOI
https://doi.org/10.1109/hpec67600.2025.11196089
Primary Topic
Network Packet Processing and Optimization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

BUG: Balanced DFS-Based Subgraph Matching with a ReUse Strategy on GPUs

Lei Zou, Zicang Xu
Network Packet Processing and Optimization
article

BUG: Balanced DFS-Based Subgraph Matching with a ReUse Strategy on GPUs

Lei Zou, Zicang Xu
article en

Abstract

Subgraph matching is a fundamental problem in graph analysis with wide-ranging applications in domains such as bioinformatics, fraud detection, social networks, and recommendation systems. Despite extensive optimization efforts on CPU platforms, the NP-hard nature of subgraph matching limits the performance, especially on large-scale datasets. Leveraging the massive parallelism and high memory bandwidth of GPUs offers significant acceleration potential. However, existing GPU-based solutions face key challenges. BFS-based approaches suffer from excessive memory consumption due to the exponential growth of partial matches, while more DFS-based methods, though memory-efficient, struggle with severe load imbalance and inefficient computation reuse.In this work, we propose two complementary strategies to address these issues. First, we introduce a work-offload mechanism that dynamically balances workload across warps using a global task queue, significantly improving resource utilization. Second, we employ a combination of symmetry-breaking and a reuse strategy to reduce redundant set intersections during the enumeration process. The experiments on real-world and synthetic datasets demonstrate that our approach achieves up to a 25.59× speedup compared to prior works.

Peking University (CN)
Openalex Percentile: Top 68%
Network Packet Processing and Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.