Unifying Graph Contrastive Learning with Flexible Contextual Scopes

Yizhen Zheng, Yu Zheng, Xiaofei Zhou, Chen Gong, Vincent CS Lee +1 more
10/17/2022
cs.LG
contrastive-ssl

Official code: zyzisastudyreallyhardguy/UGCL (22 stars, Python, last commit 2022-10-03).

Abstract

Graph contrastive learning (GCL) has recently emerged as an effective learning paradigm to alleviate the reliance on labelling information for graph representation learning. The core of GCL is to maximise the mutual information between the representation of a node and its contextual representation (i.e., the corresponding instance with similar semantic information) summarised from the contextual scope (e.g., the whole graph or 1-hop neighbourhood).

Show full abstract

This scheme distils valuable self-supervision signals for GCL training. However, existing GCL methods still suffer from limitations, such as the incapacity or inconvenience in choosing a suitable contextual scope for different datasets and building biased contrastiveness. To address aforementioned problems, we present a simple self-supervised learning method termed Unifying Graph Contrastive Learning with Flexible Contextual Scopes (UGCL for short). Our algorithm builds flexible contextual representations with tunable contextual scopes by controlling the power of an adjacency matrix. Additionally, our method ensures contrastiveness is built within connected components to reduce the bias of contextual representations. Based on representations from both local and contextual scopes, UGCL optimises a very simple contrastive loss function for graph representation learning. Essentially, the architecture of UGCL can be considered as a general framework to unify existing GCL methods. We have conducted intensive experiments and achieved new state-of-the-art performance in six out of eight benchmark datasets compared with self-supervised graph representation learning baselines. Our code has been open-sourced.

View on arXivView PDF

Code Implementations(1)

The open source code for ICDM2022 paper "Unifying Graph Contrastive Learning with Flexible Contextual Scopes"

221PythonOct 3, 20224 years ago

Similar Papers

Cite this paper

@article{zheng2022unifying,
  title  = {Unifying Graph Contrastive Learning with Flexible Contextual Scopes},
  author = {Yizhen Zheng and Yu Zheng and Xiaofei Zhou and Chen Gong and Vincent CS Lee and Shirui Pan},
  year   = {2022},
  eprint = {2210.08792},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.08792}
}

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

Discussion