Improving Subgraph Matching by Combining Algorithms and Graph Neural Networks
- URL: http://arxiv.org/abs/2507.20226v1
- Date: Sun, 27 Jul 2025 11:10:15 GMT
- Title: Improving Subgraph Matching by Combining Algorithms and Graph Neural Networks
- Authors: Shuyang Guo, Wenjin Xie, Ping Lu, Ting Deng, Richong Zhang, Jianxin Li, Xiangping Huang, Zhongyi Liu,
- Abstract summary: Homomorphism is a key mapping technique between graphs that preserves their structure.<n>We propose HFrame, the first graph neural network-based framework for subgraph homomorphism.<n>HFrame is up to 101.91 times faster than exact matching algorithms and achieves an average accuracy of 0.962.
- Score: 23.01521187724899
- License: http://creativecommons.org/licenses/by/4.0/
- 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.
Related papers
- HeGMN: Heterogeneous Graph Matching Network for Learning Graph Similarity [3.6560264185068916]
This paper proposes a Heterogeneous Graph Matching Network (HeGMN)<n>It is an end-to-end graph similarity learning framework composed of a two-tier matching mechanism.<n>HeGMN consistently achieves advanced performance on graph similarity prediction across all datasets.
arXiv Detail & Related papers (2025-03-11T07:36:35Z) - PlanE: Representation Learning over Planar Graphs [9.697671872347131]
This work is inspired by the classical planar graph isomorphism algorithm of Hopcroft and Tarjan.
PlanE includes architectures which can learn complete invariants over planar graphs while remaining practically scalable.
arXiv Detail & Related papers (2023-07-03T17:45:01Z) - Finding the Missing-half: Graph Complementary Learning for
Homophily-prone and Heterophily-prone Graphs [48.79929516665371]
Graphs with homophily-prone edges tend to connect nodes with the same class.
Heterophily-prone edges tend to build relationships between nodes with different classes.
Existing GNNs only take the original graph during training.
arXiv Detail & Related papers (2023-06-13T08:06:10Z) - Graph Mixup with Soft Alignments [49.61520432554505]
We study graph data augmentation by mixup, which has been used successfully on images.
We propose S-Mixup, a simple yet effective mixup method for graph classification by soft alignments.
arXiv Detail & Related papers (2023-06-11T22:04:28Z) - CGMN: A Contrastive Graph Matching Network for Self-Supervised Graph
Similarity Learning [65.1042892570989]
We propose a contrastive graph matching network (CGMN) for self-supervised graph similarity learning.
We employ two strategies, namely cross-view interaction and cross-graph interaction, for effective node representation learning.
We transform node representations into graph-level representations via pooling operations for graph similarity computation.
arXiv Detail & Related papers (2022-05-30T13:20:26Z) - Graph Convolutional Networks with Dual Message Passing for Subgraph
Isomorphism Counting and Matching [42.55928561326902]
Graph neural networks (GNNs) and message passing neural networks (MPNNs) have been proven to be expressive for subgraph structures.
We propose dual message passing neural networks (DMPNNs) to enhance the substructure representation learning.
arXiv Detail & Related papers (2021-12-16T10:23:48Z) - Joint Graph Learning and Matching for Semantic Feature Correspondence [69.71998282148762]
We propose a joint emphgraph learning and matching network, named GLAM, to explore reliable graph structures for boosting graph matching.
The proposed method is evaluated on three popular visual matching benchmarks (Pascal VOC, Willow Object and SPair-71k)
It outperforms previous state-of-the-art graph matching methods by significant margins on all benchmarks.
arXiv Detail & Related papers (2021-09-01T08:24:02Z) - Learning on heterogeneous graphs using high-order relations [37.64632406923687]
We propose an approach for learning on heterogeneous graphs without using meta-paths.
We decompose a heterogeneous graph into different homogeneous relation-type graphs, which are then combined to create higher-order relation-type representations.
arXiv Detail & Related papers (2021-03-29T12:02:47Z) - Line Graph Neural Networks for Link Prediction [71.00689542259052]
We consider the graph link prediction task, which is a classic graph analytical problem with many real-world applications.
In this formalism, a link prediction problem is converted to a graph classification task.
We propose to seek a radically different and novel path by making use of the line graphs in graph theory.
In particular, each node in a line graph corresponds to a unique edge in the original graph. Therefore, link prediction problems in the original graph can be equivalently solved as a node classification problem in its corresponding line graph, instead of a graph classification task.
arXiv Detail & Related papers (2020-10-20T05:54:31Z) - High-Order Relation Construction and Mining for Graph Matching [36.880853889521845]
Iterated line graphs are introduced for the first time to describe high-order information.
We present a new graph matching method, called High-order Graph Matching Network (HGMN)
By imposing practical constraints, HGMN is made scalable to large-scale graphs.
arXiv Detail & Related papers (2020-10-09T03:30:02Z) - Wasserstein-based Graph Alignment [56.84964475441094]
We cast a new formulation for the one-to-many graph alignment problem, which aims at matching a node in the smaller graph with one or more nodes in the larger graph.
We show that our method leads to significant improvements with respect to the state-of-the-art algorithms for each of these tasks.
arXiv Detail & Related papers (2020-03-12T22:31:59Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.