Improving Subgraph Matching by Combining Algorithms and Graph Neural Networks

📅 2025-07-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This paper addresses the low matching efficiency and insufficient accuracy in subgraph homomorphism—where multiple vertices in the pattern graph may map to the same vertex in the target graph. We propose HFrame, the first unified framework integrating classical graph matching algorithms with graph neural networks (GNNs). Our contributions are threefold: (1) We pioneer the incorporation of GNNs into subgraph homomorphism, enabling end-to-end learning to enhance structural discriminability; (2) we derive a theoretically grounded, generalized error upper bound; and (3) we design a differentiable matching module that enables joint optimization of traditional algorithms and deep learning components. Extensive experiments on real-world and synthetic graph datasets demonstrate that HFrame achieves up to 101.91× speedup in matching time and attains an average accuracy of 0.962, significantly outperforming state-of-the-art methods.

Technology Category

Application Category

📝 Abstract
Homomorphism is a key mapping technique between graphs that preserves their structure. Given a graph and a pattern, the subgraph homomorphism problem involves finding a mapping from the pattern to the graph, ensuring that adjacent vertices in the pattern are mapped to adjacent vertices in the graph. Unlike subgraph isomorphism, which requires a one-to-one mapping, homomorphism allows multiple vertices in the pattern to map to the same vertex in the graph, making it more complex. We propose HFrame, the first graph neural network-based framework for subgraph homomorphism, which integrates traditional algorithms with machine learning techniques. We demonstrate that HFrame outperforms standard graph neural networks by being able to distinguish more graph pairs where the pattern is not homomorphic to the graph. Additionally, we provide a generalization error bound for HFrame. Through experiments on both real-world and synthetic graphs, we show that HFrame is up to 101.91 times faster than exact matching algorithms and achieves an average accuracy of 0.962.
Problem

Research questions and friction points this paper is trying to address.

Enhancing subgraph homomorphism via algorithm-GNN fusion
Solving complex pattern-graph mapping with HFrame
Boosting speed and accuracy in subgraph matching
Innovation

Methods, ideas, or system contributions that make the work stand out.

Combines traditional algorithms with graph neural networks
Introduces HFrame for subgraph homomorphism
Achieves high speed and accuracy in matching
🔎 Similar Papers
No similar papers found.
S
Shuyang Guo
SKLCCSE, Beihang University
W
Wenjin Xie
SKLCCSE, Beihang University
P
Ping Lu
SKLCCSE, Beihang University
Ting Deng
Ting Deng
School of Computer Sciences and Engineering, Beihang University
computer sciences
Richong Zhang
Richong Zhang
Professor of Computer Science, Beihang University
Data MiningRecommender SystemSocial Computing
J
Jianxin Li
SKLCCSE, Beihang University
X
Xiangping Huang
TravelSky Technology Limited, Beijing Engineering Research Center of Civil Aviation Big Data
Zhongyi Liu
Zhongyi Liu
Ant Group
Information RetrievalRecommender SystemsNatural Language Processing