Reinforcement Learning Based Query Vertex Ordering Model for Subgraph Matching
Hanchen Wang, Ying Zhang, Lu Qin, Wei Wang, Wenjie Zhang, Xuemin Lin
Abstract
Subgraph matching is a fundamental problem in various fields that use graph structured data. Subgraph matching algorithms enumerate all isomorphic embeddings of a query graphin a data graph G. An important branch of matching algorithms exploit the backtracking search approach which recursively extends intermediate results following a matching order of query vertices. It has been shown that the matching order plays a critical role in time efficiency of these backtracking based subgraph matching algorithms. In recent years, many advanced techniques for query vertex ordering (i.e., matching order generation) have been proposed to reduce the unpromising intermediate results according to the preset heuristic rules. In this paper, for the first time we apply the Reinforcement Learning (RL) and Graph Neural Networks (GNNs) techniques to generate the high-quality matching order for subgraph matching algorithms. Instead of using the fixed heuristics to generate the matching order, our model could capture and make full use of the graph information, and thus determine the query vertex order with the adaptive learning-based rule that could significantly reduces the number of redundant enumerations. With the help of the reinforcement learning framework, our model is able to consider the long-term benefits rather than only consider the local information at current ordering step. Extensive experiments on six real-life data graphs demonstrate that our proposed matching order generation technique could reduce up to two orders of magnitude of query processing time compared to the state-of-the-art algorithms.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5807616f-c42f-44a1-b7c0-67460cd3ebc4Cited by top-tier papers6
- Efficient Exact Subgraph Matching via GNN-based Path Dominance EmbeddingYutong Ye, Xiang Lian, Mingsong ChenVLDB 2024 · 35 citations
- Community Search: A Meta-Learning ApproachShuheng Fang, Kangfei Zhao, Guanghua Li, Jeffrey Xu YuICDE 2023 · 19 citations
- Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based ApproachQiuyu Guo, Jianye Yang, Wenjie Zhang, Hanchen Wang et al.VLDB 2025 · 3 citations
- Characterizing Parallel Subgraph Matching Performance: A Systematic Study of Interactions, Scalability, and EnumerationTao Yu, Zhijie Zhang, Weiguo Zheng, Jeffrey Xu Yu et al.VLDB 2026 · 1 citation
- Neural Graph Navigation for Intelligent Subgraph MatchingYuchen Ying, Yiyang Dai, Wenda Li, Wenjie Huang et al.AAAI 2026
Builds on9
- ASAP: Adaptive Structure Aware Pooling for Learning Hierarchical Graph RepresentationsEkagra Ranjan, Soumya Sanyal, Partha P. TalukdarAAAI 2020 · 400 citations
- Can Graph Neural Networks Count Substructures?Zhengdao Chen, Lei Chen, Soledad Villar, Joan BrunaNeurIPS 2020 · 392 citations
- In-Memory Subgraph Matching: An In-depth StudyShixuan Sun, Qiong LuoSIGMOD 2020 · 159 citations
- Graph Policy Network for Transferable Active Learning on GraphsShengding Hu, Zheng Xiong, Meng Qu, Xingdi Yuan et al.NeurIPS 2020 · 84 citations
- Can Q-Learning with Graph Networks Learn a Generalizable Branching Heuristic for a SAT Solver?Vitaly Kurin, Saad Godil, Shimon Whiteson, Bryan CatanzaroNeurIPS 2020 · 77 citations
Related papers
- GNN-based Anchor Embedding for Efficient Subgraph RetrievalBin Yang, Jianxiong Ye, Zhaonian ZouSIGIR 2026
- Versatile Equivalences: Speeding up Subgraph Query Processing and Subgraph MatchingHyunjoon Kim, Yunyoung Choi, Kunsoo Park, Xuemin Lin et al.SIGMOD 2021 · 75 citations
- OptMatch: An Efficient and Generic Neural Network-Assisted Subgraph Matching ApproachWenzhe Hou, Xiang Zhao, Bo TangICDE 2025 · 1 citation
- A Comprehensive Survey and Experimental Study of Subgraph Matching: Trends, Unbiasedness, and InteractionZhijie Zhang, Yujie Lu, Weiguo Zheng, Xuemin LinSIGMOD 2024 · 35 citations
- RapidMatch: A Holistic Approach to Subgraph Query ProcessingShixuan Sun, Xibo Sun, Yulin Che, Qiong Luo et al.VLDB 2021 · 105 citations
