FAST: FPGA-based Subgraph Matching on Massive Graphs
Xin Jin, Zhengyi Yang, Xuemin Lin, Shiyu Yang, Lu Qin, You Peng
Abstract
Subgraph matching is a basic operation widely used in many applications. However, due to its NP-hardness and the explosive growth of graph data, it is challenging to compute subgraph matching, especially in large graphs. In this paper, we aim at scaling up subgraph matching on a single machine using FPGAs. Specifically, we propose a CPU-FPGA co-designed framework. On the CPU side, we first develop a novel auxiliary data structure called candidate search tree (CST) which serves as a complete search space of subgraph matching. CST can be partitioned and fully loaded into FPGAs' on-chip memory. Then, a workload estimation technique is proposed to balance the load between the CPU and FPGA. On the FPGA side, we design and implement the first FPGA-based subgraph matching algorithm, called FAST. To take full advantage of the pipeline mechanism on FPGAs, task parallelism optimization and task generator separation strategy are proposed for FAST, achieving massive parallelism. Moreover, we carefully develop a BRAM-only matching process to fully utilize FPGA's on-chip memory, which avoids the expensive intermediate data transfer between FPGA's BRAM and DRAM. Comprehensive experiments show that FAST achieves up to 462.0x and 150.0x speedup compared with the state-of-the-art algorithm DAF and CECI, respectively. In addition, FAST is the only algorithm that can handle the billion-scale graph using one machine in our experiments.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- FusionQuery: On-demand Fusion Queries over Multi-source Heterogeneous Data cites GSI: GPU-friendly Subgraph Isomorphism
- HGMatch: A Match-by-Hyperedge Approach for Subgraph Matching on Hypergraphs cites In-Memory Subgraph Matching: An In-depth Study
- HGMatch: A Match-by-Hyperedge Approach for Subgraph Matching on Hypergraphs cites HUGE: An Efficient and Scalable Subgraph Enumeration System
- HUGE: An Efficient and Scalable Subgraph Enumeration System cites In-Memory Subgraph Matching: An In-depth Study
- Efficient Exact Subgraph Matching via GNN-based Path Dominance Embedding cites In-Memory Subgraph Matching: An In-depth Study
- Efficiently Answering Quality Constrained Shortest Distance Queries in Large Graphs cites HUGE: An Efficient and Scalable Subgraph Enumeration System
Cited by top-tier papers13
- HUGE: An Efficient and Scalable Subgraph Enumeration SystemZhengyi Yang, Longbin Lai, Xuemin Lin, Kongzhang Hao et al.SIGMOD 2021 · 57 citations
- Efficient Exact Subgraph Matching via GNN-based Path Dominance EmbeddingYutong Ye, Xiang Lian, Mingsong ChenVLDB 2024 · 35 citations
- HGMatch: A Match-by-Hyperedge Approach for Subgraph Matching on HypergraphsZhengyi Yang, Wenjie Zhang, Xuemin Lin, Ying Zhang et al.ICDE 2023 · 14 citations
- Efficiently Answering Quality Constrained Shortest Distance Queries in Large GraphsYou Peng, Zhuo Ma, Wenjie Zhang, Xuemin Lin et al.ICDE 2023 · 12 citations
- FusionQuery: On-demand Fusion Queries over Multi-source Heterogeneous DataJunhao Zhu, Yuren Mao, Lu Chen, Congcong Ge et al.VLDB 2024 · 8 citations
Builds on3
- In-Memory Subgraph Matching: An In-depth StudyShixuan Sun, Qiong LuoSIGMOD 2020 · 159 citations
- GPU-Accelerated Subgraph Enumeration on Partitioned GraphsWentian Guo, Yuchen Li, Mo Sha, Bingsheng He et al.SIGMOD 2020 · 71 citations
- GSI: GPU-friendly Subgraph IsomorphismLi Zeng, Lei Zou, M. Tamer Özsu, Lin Hu et al.ICDE 2020 · 62 citations
Related papers
- FASI: FPGA-friendly Subgraph Isomorphism on Massive GraphsXunbin Su, Yinnian Lin, Lei ZouICDE 2023 · 5 citations
- VSGM: View-Based GPU-Accelerated Subgraph Matching on Large GraphsGuanxian Jiang, Qihui Zhou, Tatiana Jin, Boyang Li et al.SC 2022 · 14 citations
- Efficient GPU-Accelerated Subgraph MatchingXibo Sun, Qiong LuoSIGMOD 2023 · 29 citations
- cuTS: scaling subgraph isomorphism on distributed multi-GPU systems using trie based data structureLizhi Xiang, Arif Khan, Edoardo Serra, Mahantesh Halappanavar et al.SC 2021 · 35 citations
- CGgraph: An Ultra-fast Graph Processing System on Modern Commodity CPU-GPU Co-processorPengjie Cui, Haotian Liu, Bo Tang, Ye YuanVLDB 2024 · 18 citations
