CGMN: A Contrastive Graph Matching Network for Self-Supervised Graph Similarity Learning

Di Jin, Luzhi Wang, Yizhen Zheng, Xiang Li, Fei Jiang +2 more
5/30/2022
cs.LGcs.AI
contrastive-ssl

Official code: jindi-tju/CGMN (7 stars, Python, last commit 2022-12-12).

Abstract

Graph similarity learning refers to calculating the similarity score between two graphs, which is required in many realistic applications, such as visual tracking, graph classification, and collaborative filtering. As most of the existing graph neural networks yield effective graph representations of a single graph, little effort has been made for jointly learning two graph representations and calculating their similarity score.

Show full abstract

In addition, existing unsupervised graph similarity learning methods are mainly clustering-based, which ignores the valuable information embodied in graph pairs. To this end, we propose a contrastive graph matching network (CGMN) for self-supervised graph similarity learning in order to calculate the similarity between any two input graph objects. Specifically, we generate two augmented views for each graph in a pair respectively. Then, we employ two strategies, namely cross-view interaction and cross-graph interaction, for effective node representation learning. The former is resorted to strengthen the consistency of node representations in two views. The latter is utilized to identify node differences between different graphs. Finally, we transform node representations into graph-level representations via pooling operations for graph similarity computation. We have evaluated CGMN on eight real-world datasets, and the experiment results show that the proposed new approach is superior to the state-of-the-art methods in graph similarity learning downstream tasks.

View on arXivView PDF

Code Implementations(1)

jindi-tju/CGMNOfficial100%
72PythonDec 12, 20223 years ago

Similar Papers

Cite this paper

@article{jin2022cgmn,
  title  = {CGMN: A Contrastive Graph Matching Network for Self-Supervised Graph Similarity Learning},
  author = {Di Jin and Luzhi Wang and Yizhen Zheng and Xiang Li and Fei Jiang and Wei Lin and Shirui Pan},
  year   = {2022},
  eprint = {2205.15083},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.15083}
}

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

Discussion