CGCL: Collaborative Graph Contrastive Learning without Handcrafted Graph Data Augmentations

Tianyu Zhang, Yuxiang Ren, Wenzheng Feng, Weitao Du, Xuecang Zhang
11/5/2021
cs.LGcs.AI
contrastive-ssl

Official code: zhangtia16/CGCL (1 star, Python, MIT, last commit 2025-06-15).

Abstract

Unsupervised graph representation learning is a non-trivial topic. The success of contrastive methods in the unsupervised representation learning on structured data inspires similar attempts on the graph.

Show full abstract

Existing graph contrastive learning (GCL) aims to learn the invariance across multiple augmentation views, which renders it heavily reliant on the handcrafted graph augmentations. However, inappropriate graph data augmentations can potentially jeopardize such invariance. In this paper, we show the potential hazards of inappropriate augmentations and then propose a novel Collaborative Graph Contrastive Learning framework (CGCL). This framework harnesses multiple graph encoders to observe the graph. Features observed from different encoders serve as the contrastive views in contrastive learning, which avoids inducing unstable perturbation and guarantees the invariance. To ensure the collaboration among diverse graph encoders, we propose the concepts of asymmetric architecture and complementary encoders as the design principle. To further prove the rationality, we utilize two quantitative metrics to measure the assembly of CGCL respectively. Extensive experiments demonstrate the advantages of CGCL in unsupervised graph-level representation learning and the potential of collaborative framework. The source code for reproducibility is available at https://github.com/zhangtia16/CGCL

View on arXivView PDF

Code Implementations(1)

zhangtia16/CGCLOfficial100%
MIT

CGCL: Collaborative Graph Contrastive Learning without Handcrafted Graph Data Augmentations

10Python, ShellMar 29, 20241 years agoMIT

Similar Papers

Cite this paper

@article{zhang2021cgcl,
  title  = {CGCL: Collaborative Graph Contrastive Learning without Handcrafted Graph Data Augmentations},
  author = {Tianyu Zhang and Yuxiang Ren and Wenzheng Feng and Weitao Du and Xuecang Zhang},
  year   = {2021},
  eprint = {2111.03262},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.03262}
}

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

Discussion