RSM: Reinforced Subgraph Matching Framework with Fine-grained Operation based Search Plan
Subgraph matching is one of the fundamental problems in graph analytics. Existing methods generate matching orders to guide their search, which consists of a series of extensions. Each time, they extend smaller partial matches into larger ones until all complete answers are obtained. However, these methods have two significant drawbacks. Firstly, their matching order generations are usually heuristic and challenging to be effective for different queries. Secondly, each extension, serving as its computation unit, is coarse-grained and may hinder performance. This granularity issue stems from merging generation and expansion operations into a single computation unit. To address these challenges, we introduce a pioneering framework for Reinforced Subgraph Matching (RSM) that features a fine-grained operation-based search plan. Initially, RSM proposes a fresh paradigm for search, referred to as operation-level search, where each computation unit is defined as an operation that either generates or expands a candidate set under a query vertex. To deal with the second problem and fully exploit the potential of this novel search paradigm, RSM implements a reinforcement learning strategy to generate operation-level search plans. RSM's reinforcement learning approach for constructing operation-based search plans encompasses three modules. In the first module, we employ graph neural networks to extract query vertex representation from graphs. Then, the other two modules leverage multilayer perceptron and are designed to create the generation and expansion operations, respectively. Extensive experiments on real-world graph datasets validate that RSM cuts down query processing time, outperforming existing algorithms by up to 1 to 2 orders of magnitude.
Authors
- Chuxu Zhang (ORCID: https://orcid.org/0000-0002-8349-7926)
- Ziming Li (ORCID: https://orcid.org/0009-0008-8222-6455)
- Youhuan Li (ORCID: https://orcid.org/0000-0002-0650-0458)
- Xiangrong Chen
- Yuequn Dou
Institutions
- University of Connecticut (US)
- Hunan University (CN)
- Tencent (China) (CN)
Publication Details
- Published
- 2025-02-26
- DOI
- https://doi.org/10.1145/3701551.3703516
- Primary Topic
- Graph Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00