MERCURY: Efficient Subgraph Matching on GPUs with Hybrid Scheduling

Subgraph matching finds all distinct subgraphs in the given data graph <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$G$</tex> that are isomorphic to the pattern graph <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$P$</tex>. It is widely used in social networks, chemoinformatics, recommendation systems, anomaly detection, and network security. Unfortunately, subgraph matching is an NP problem with a huge search space that can quickly exhaust computational resources and requires materializing a large number of intermediate results. Even with GPU acceleration, the processing time for subgraph matching tasks on large graphs often fails to meet the needs of real-world applications. Previous systems use coarse-grained thread-mapping strategies and static configuration for symmetry breaking rules and intersection kernels, which lose the opportunity to exploit the fine-grained parallelism of GPUs. In this paper, we first discuss different optimization variants from three aspects:(i) symmetry breaking, (ii) thread-mapping and (iii) intersection kernel, then we propose a novel hybrid scheduling strategy to combine these optimization variants. Based on this scheduling, we developed MERCURY to enable load-balanced and efficient subgraph matching on GPUs. Experiments show that MERCURY outperforms TRUST, SMOG, and H-INDEX up to 3.92×, 19.7×, and 21.6×, respectively, in triangle counting. For general pattern matching tasks, it is up to 52.4× faster than G<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup>Miner, and can scale up to 1024 GPU cards.

Authors

Institutions

Publication Details

Published
2024-09-23
DOI
https://doi.org/10.1109/hpec62836.2024.10938527
Citations
1
Primary Topic
Graph Theory and Algorithms
Type
article
Field-Weighted Citation Impact
0.25

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MERCURY: Efficient Subgraph Matching on GPUs with Hybrid Scheduling

Guangming Tan, Zhiheng Lin, Congli Xu, Ke Meng
1 citations
Graph Theory and Algorithms
0.25
article

MERCURY: Efficient Subgraph Matching on GPUs with Hybrid Scheduling

Guangming Tan, Zhiheng Lin, Congli Xu, Ke Meng
article en
1 citations

Abstract

Subgraph matching finds all distinct subgraphs in the given data graph <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$G$</tex> that are isomorphic to the pattern graph <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$P$</tex>. It is widely used in social networks, chemoinformatics, recommendation systems, anomaly detection, and network security. Unfortunately, subgraph matching is an NP problem with a huge search space that can quickly exhaust computational resources and requires materializing a large number of intermediate results. Even with GPU acceleration, the processing time for subgraph matching tasks on large graphs often fails to meet the needs of real-world applications. Previous systems use coarse-grained thread-mapping strategies and static configuration for symmetry breaking rules and intersection kernels, which lose the opportunity to exploit the fine-grained parallelism of GPUs. In this paper, we first discuss different optimization variants from three aspects:(i) symmetry breaking, (ii) thread-mapping and (iii) intersection kernel, then we propose a novel hybrid scheduling strategy to combine these optimization variants. Based on this scheduling, we developed MERCURY to enable load-balanced and efficient subgraph matching on GPUs. Experiments show that MERCURY outperforms TRUST, SMOG, and H-INDEX up to 3.92×, 19.7×, and 21.6×, respectively, in triangle counting. For general pattern matching tasks, it is up to 52.4× faster than G<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup>Miner, and can scale up to 1024 GPU cards.

Chinese Academy of Sciences (CN), Institute of Computing Technology (CN)
National Key Research and Development Program of China
Affordable and clean energy
Openalex Percentile: Top 41%
Graph Theory and Algorithms
0.25
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.