Improving Subgraph Matching by Combining Algorithms and Graph Neural Networks
Shuyang Guo, Wenjin Xie, Ping Lu, Ting Deng, Richong Zhang, Jianxin Li, Xiangping Huang, Zhongyi Liu
Abstract
Homomorphism is an important structure-preserving mapping between graphs. Given a graph ๐บ and a pattern ๐, the subgraph homomorphism problem is to find a mapping ๐ from ๐ to ๐บ such that adjacent vertices of ๐ are mapped to adjacent vertices in ๐บ. Unlike the subgraph isomorphic mapping that is injective, homomorphism allows multiple vertices in ๐ to map to the same vertex in ๐บ, increasing complexity. We develop HFrame, the first GNN-based framework for subgraph homomorphism, by combining algorithms and machine learning. We show that HFrame is more expressive than the vanilla GNN, i.e., HFrame can distinguish more graph pairs (๐, ๐บ) such that ๐ is not homomorphic to ๐บ. Moreover, we provide a generalization error bound for HFrame. Using real-life and synthetic graphs, we show that HFrame is up to 101.91ร faster than exact matching algorithms, and its average accuracy can reach 0.962. CCS Concepts โข Computing methodologies โ Neural networks; Model development and analysis.
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 c5b264d2-2bd6-4de0-8793-9f2e1ab4af97Builds on20
- Inductive Relation Prediction by Subgraph ReasoningKomal K. Teru, Etienne G. Denis, William L. HamiltonICML 2020 ยท 493 citations
- Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 ยท 363 citations
- Identity-aware Graph Neural NetworksJiaxuan You, Jonathan Michael Gomes Selman, Rex Ying, Jure LeskovecAAAI 2021 ยท 316 citations
- How Powerful are K-hop Message Passing Graph Neural NetworksJiarui Feng, Yixin Chen, Fuhai Li, Anindya Sarkar et al.NeurIPS 2022 ยท 188 citations
- Equivariant and Stable Positional Encoding for More Powerful Graph Neural NetworksHaorui Wang, Haoteng Yin, Muhan Zhang, Pan LiICLR 2022 ยท 138 citations
Related papers
- Deep Homomorphism NetworksTakanori Maehara, Hoang NTNeurIPS 2024 ยท 2 citations
- Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN ExpressivenessBohang Zhang, Jingchu Gai, Yiheng Du, Qiwei Ye et al.ICLR 2024 ยท 59 citations
- Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and MatchingXin Liu, Yangqiu SongAAAI 2022 ยท 37 citations
- H2MN: Graph Similarity Learning with Hierarchical Hypergraph Matching NetworksZhen Zhang, Jiajun Bu, Martin Ester, Zhao Li et al.KDD 2021 ยท 41 citations
- Fast Local Subgraph CountingQiyan Li, Jeffrey Xu YuVLDB 2024 ยท 4 citations
