Architecture Matters: Uncovering Implicit Mechanisms in Graph Contrastive Learning

Xiaojun Guo, Yifei Wang, Zeming Wei, Yisen Wang
2/12/2026

No official code found. Best implementation: PKU-ML/ArchitectureMattersGCL (9 stars, MIT, last commit 2023-11-10).

Abstract

With the prosperity of contrastive learning for visual representation learning (VCL), it is also adapted to the graph domain and yields promising performance. However, through a systematic study of various graph contrastive learning (GCL) methods, we observe that some common phenomena among existing GCL methods that are quite different from the original VCL methods, including 1) positive samples are not a must for GCL; 2) negative samples are not necessary for graph classification, neither for node classification when adopting specific normalization modules; 3) data augmentations have much less influence on GCL, as simple domain-agnostic augmentations (e.g., Gaussian noise) can also attain fairly good performance. By uncovering how the implicit inductive bias of GNNs works in contrastive learning, we theoretically provide insights into the above intriguing properties of GCL. Rather than directly porting existing VCL methods to GCL, we advocate for more attention toward the unique architecture of graph learning and consider its implicit influence when designing GCL methods. Code is available at https: //github.com/PKU-ML/ArchitectureMattersGCL.

View on arXivView PDF

Code Implementations(1)

MIT

Official code for NeurIPS 2023 "Architecture Matters: Uncovering Implicit Mechanisms in Graph Contrastive Learning"

91Shell, PythonOct 26, 20232 years agoMIT

Similar Papers

Cite this paper

@article{guo2026architecture,
  title  = {Architecture Matters: Uncovering Implicit Mechanisms in Graph Contrastive Learning},
  author = {Xiaojun Guo and Yifei Wang and Zeming Wei and Yisen Wang},
  year   = {2026},
  eprint = {2311.02687},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.02687},
  journal = {NEURIPS 2023 2023}
}

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

Discussion