Lune

VLDB2024Top-tier venue

Efficient Exact Subgraph Matching via GNN-based Path Dominance Embedding

Yutong Ye, Xiang Lian, Mingsong Chen

Abstract

The classic problem of exact subgraph matching returns those subgraphs in a large-scale data graph that are isomorphic to a given query graph, which has gained increasing importance in many real-world applications such as social network analysis, knowledge graph discovery in the Semantic Web, bibliographical network mining, and so on. In this paper, we propose a novel and effective graph neural network (GNN)-based path embedding framework (GNN-PE), which allows efficient exact subgraph matching without introducing false dismissals. Unlike traditional GNN-based graph embeddings that only produce approximate subgraph matching results, in this paper, we carefully devise GNN-based embeddings for paths, such that: if two paths (and 1-hop neighbors of vertices on them) have the subgraph relationship, their corresponding GNN-based embedding vectors will strictly follow the dominance relationship. With such a newly designed property of path dominance embeddings, we are able to propose effective pruning strategies based on path label/dominance embeddings and guarantee no false dismissals for subgraph matching. We build multidimensional indexes over path embedding vectors, and develop an efficient subgraph matching algorithm by traversing indexes over graph partitions in parallel and applying our pruning methods. We also propose a cost-model-based query plan that obtains query paths from the query graph with low query cost. To further optimize our GNN-PE approach, we also propose a more efficient GNN-based path group embedding (GNN-PGE) technique, which performs subgraph matching over grouped path embedding vectors. We design effective pruning strategies (w.r.t. grouped path embeddings) that can significantly reduce the search space during the index traversal. Through extensive experiments, we confirm the efficiency and effectiveness of our proposed GNN-PE and GNN-PGE approaches for exact subgraph matching on both real and synthetic graph data.

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.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Continuous Subgraph Matching via Cost-Model-based Dynamic Vertex Dominance Embeddings cites In-Memory Subgraph Matching: An In-depth Study
  • RapidMatch: A Holistic Approach to Subgraph Query Processing cites In-Memory Subgraph Matching: An In-depth Study
  • S^3AND: Efficient Subgraph Similarity Search Under Aggregated Neighbor Difference Semantics cites RapidMatch: A Holistic Approach to Subgraph Query Processing
  • Can Graph Neural Networks Count Substructures? cites What graph neural networks cannot learn: depth vs width
  • Envisage: Towards Expressive Visual Graph Querying cites RapidMatch: A Holistic Approach to Subgraph Query Processing
  • Structure Guided Retrieval-Augmented Generation for Factual Queries cites RapidMatch: A Holistic Approach to Subgraph Query Processing
  • Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based Approach cites RapidMatch: A Holistic Approach to Subgraph Query Processing
  • Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based Approach cites In-Memory Subgraph Matching: An In-depth Study
  • Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based Approach cites Can Graph Neural Networks Count Substructures?
  • Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based Approach cites Versatile Equivalences: Speeding up Subgraph Query Processing and Subgraph Matching
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Envisage: Towards Expressive Visual Graph QueryingXiaolin Wen, Qishuang Fu, Shuangyue Han, Yichen Guo et al.IEEE VIS 2025 · 6 citations
  2. S^3AND: Efficient Subgraph Similarity Search Under Aggregated Neighbor Difference SemanticsQi Wen, Yutong Ye, Xiang Lian, Mingsong ChenVLDB 2025 · 3 citations
  3. 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
  4. Continuous Subgraph Matching via Cost-Model-based Dynamic Vertex Dominance EmbeddingsYutong Ye, Xiang Lian, Nan Zhang, MingSong ChenSIGMOD 2026 · 1 citation
  5. Structure Guided Retrieval-Augmented Generation for Factual QueriesMiao Xie, Xiao Zhang, Yi Li, Chunli LvACL 2026 · 1 citation

Builds on14

  1. Can Graph Neural Networks Count Substructures?Zhengdao Chen, Lei Chen, Soledad Villar, Joan BrunaNeurIPS 2020 · 392 citations
  2. What graph neural networks cannot learn: depth vs widthAndreas LoukasICLR 2020 · 336 citations
  3. In-Memory Subgraph Matching: An In-depth StudyShixuan Sun, Qiong LuoSIGMOD 2020 · 159 citations
  4. RapidMatch: A Holistic Approach to Subgraph Query ProcessingShixuan Sun, Xibo Sun, Yulin Che, Qiong Luo et al.VLDB 2021 · 105 citations
  5. Versatile Equivalences: Speeding up Subgraph Query Processing and Subgraph MatchingHyunjoon Kim, Yunyoung Choi, Kunsoo Park, Xuemin Lin et al.SIGMOD 2021 · 75 citations

Related papers

  1. GNN-based Anchor Embedding for Efficient Subgraph RetrievalBin Yang, Jianxiong Ye, Zhaonian ZouSIGIR 2026
  2. OptMatch: An Efficient and Generic Neural Network-Assisted Subgraph Matching ApproachWenzhe Hou, Xiang Zhao, Bo TangICDE 2025 · 1 citation
  3. Reinforcement Learning Based Query Vertex Ordering Model for Subgraph MatchingHanchen Wang, Ying Zhang, Lu Qin, Wei Wang et al.ICDE 2022 · 19 citations
  4. Semantic Guided and Response Times Bounded Top-k Similarity Search over Knowledge GraphsYuxiang Wang, Arijit Khan, Tianxing Wu, Jiahui Jin et al.ICDE 2020 · 45 citations
  5. Neural Graph Navigation for Intelligent Subgraph MatchingYuchen Ying, Yiyang Dai, Wenda Li, Wenjie Huang et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines