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.
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.
Lineage
- How Powerful are K-hop Message Passing Graph Neural Networks cites Identity-aware Graph Neural Networks
- Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networks cites Inductive Relation Prediction by Subgraph Reasoning
Builds 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
- Learning to Count Isomorphisms with Graph Neural NetworksXingtong Yu, Zemin Liu, Yuan Fang, Xinming ZhangAAAI 2023 · 24 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
