Hierarchical Graph Matching Network for Graph Similarity Computation

06/30/2020
by   Haibo Xiu, et al.
0

Graph edit distance / similarity is widely used in many tasks, such as graph similarity search, binary function analysis, and graph clustering. However, computing the exact graph edit distance (GED) or maximum common subgraph (MCS) between two graphs is known to be NP-hard. In this paper, we propose the hierarchical graph matching network (HGMN), which learns to compute graph similarity from data. HGMN is motivated by the observation that two similar graphs should also be similar when they are compressed into more compact graphs. HGMN utilizes multiple stages of hierarchical clustering to organize a graph into successively more compact graphs. At each stage, the earth mover distance (EMD) is adopted to obtain a one-to-one mapping between the nodes in two graphs (on which graph similarity is to be computed), and a correlation matrix is also derived from the embeddings of the nodes in the two graphs. The correlation matrices from all stages are used as input for a convolutional neural network (CNN), which is trained to predict graph similarity by minimizing the mean squared error (MSE). Experimental evaluation on 4 datasets in different domains and 4 performance metrics shows that HGMN consistently outperforms existing baselines in the accuracy of graph similarity approximation.

READ FULL TEXT
research
10/23/2018

Convolutional Set Matching for Graph Similarity

We introduce GSimCNN (Graph Similarity Computation via Convolutional Neu...
research
08/16/2018

Graph Edit Distance Computation via Graph Neural Networks

Graph similarity search is among the most important graph-based applicat...
research
09/10/2018

Convolutional Neural Networks for Fast Approximation of Graph Edit Distance

Graph Edit Distance (GED) computation is a core operation of many widely...
research
10/04/2021

Metric Indexing for Graph Similarity Search

Finding the graphs that are most similar to a query graph in a large dat...
research
05/14/2020

Hierarchical and Fast Graph Similarity Computation via Graph Coarsening and Deep Graph Learning

In this work, we are interested in the large graph similarity computatio...
research
06/30/2022

Graph Similarity Based on Matrix Norms

Quantifying the similarity between two graphs is a fundamental algorithm...
research
06/26/2019

Generalized Median Graph via Iterative Alternate Minimizations

Computing a graph prototype may constitute a core element for clustering...

Please sign up or login with your details

Forgot password? Click here to reset