Lune

KDD2025Top-tier venue

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

2025Year

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext c5b264d2-2bd6-4de0-8793-9f2e1ab4af97

Builds on20

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines