Learning-based Efficient Graph Similarity Computation via Multi-Scale Convolutional Set Matching

Yunsheng Bai, Hao Ding, Yizhou Sun, Wei Wang
9/10/2018
cs.LGstat.ML

Official code: yunshengb/GraphSim (57 stars, Python, last commit 2020-01-27).

Abstract

Graph similarity computation is one of the core operations in many graph-based applications, such as graph similarity search, graph database analysis, graph clustering, etc. Since computing the exact distance/similarity between two graphs is typically NP-hard, a series of approximate methods have been proposed with a trade-off between accuracy and speed.

Show full abstract

Recently, several data-driven approaches based on neural networks have been proposed, most of which model the graph-graph similarity as the inner product of their graph-level representations, with different techniques proposed for generating one embedding per graph. However, using one fixed-dimensional embedding per graph may fail to fully capture graphs in varying sizes and link structures, a limitation that is especially problematic for the task of graph similarity computation, where the goal is to find the fine-grained difference between two graphs. In this paper, we address the problem of graph similarity computation from another perspective, by directly matching two sets of node embeddings without the need to use fixed-dimensional vectors to represent whole graphs for their similarity computation. The model, GraphSim, achieves the state-of-the-art performance on four real-world graph datasets under six out of eight settings (here we count a specific dataset and metric combination as one setting), compared to existing popular methods for approximate Graph Edit Distance (GED) and Maximum Common Subgraph (MCS) computation.

View on arXivView PDF

Code Implementations(1)

yunshengb/GraphSimOfficial100%
579Python, DockerfileJan 27, 20206 years ago

Similar Papers

Cite this paper

@article{bai2018learningbased,
  title  = {Learning-based Efficient Graph Similarity Computation via Multi-Scale Convolutional Set Matching},
  author = {Yunsheng Bai and Hao Ding and Yizhou Sun and Wei Wang},
  year   = {2018},
  eprint = {1809.04440},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.04440}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.04440.svg)](https://codeofpaper.com/paper/1809.04440)

Discussion