More Interpretable Graph Similarity Computation via Maximum Common Subgraph Inference

Zixun Lan, Binjie Hong, Ye Ma, Fei Ma
8/9/2022
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Graph similarity measurement, which computes the distance/similarity between two graphs, arises in various graph-related tasks. Recent learning-based methods lack interpretability, as they directly transform interaction information between two graphs into one hidden vector and then map it to similarity. To cope with this problem, this study proposes a more interpretable end-to-end paradigm for graph similarity learning, named Similarity Computation via Maximum Common Subgraph Inference (INFMCS). Our critical insight into INFMCS is the strong correlation between similarity score and Maximum Common Subgraph (MCS). We implicitly infer MCS to obtain the normalized MCS size, with the supervision information being only the similarity score during training. To capture more global information, we also stack some vanilla transformer encoder layers with graph convolution layers and propose a novel permutation-invariant node Positional Encoding. The entire model is quite simple yet effective. Comprehensive experiments demonstrate that INFMCS consistently outperforms state-of-the-art baselines for graph-graph classification and regression tasks. Ablation experiments verify the effectiveness of the proposed computation paradigm and other components. Also, visualization and statistics of results reveal the interpretability of INFMCS.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lan2022more,
  title  = {More Interpretable Graph Similarity Computation via Maximum Common Subgraph Inference},
  author = {Zixun Lan and Binjie Hong and Ye Ma and Fei Ma},
  year   = {2022},
  eprint = {2208.04580},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.04580v3}
}

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/2208.04580.svg)](https://codeofpaper.com/paper/2208.04580)

Discussion