Oversmoothing: A Nightmare for Graph Contrastive Learning?

Jintang Li, Wangbin Sun, Ruofan Wu, Yuchang Zhu, Liang Chen +1 more
6/3/2023
cs.LGcs.AI

No official code found. Best implementation: EdisonLeeeee/BlockGCL (5 stars, last commit 2025-08-04).

Abstract

Oversmoothing is a common phenomenon observed in graph neural networks (GNNs), in which an increase in the network depth leads to a deterioration in their performance. Graph contrastive learning (GCL) is emerging as a promising way of leveraging vast unlabeled graph data. As a marriage between GNNs and contrastive learning, it remains unclear whether GCL inherits the same oversmoothing defect from GNNs. This work undertakes a fundamental analysis of GCL from the perspective of oversmoothing on the first hand. We demonstrate empirically that increasing network depth in GCL also leads to oversmoothing in their deep representations, and surprisingly, the shallow ones. We refer to this phenomenon in GCL as `long-range starvation', wherein lower layers in deep networks suffer from degradation due to the lack of sufficient guidance from supervision. Based on our findings, we present BlockGCL, a remarkably simple yet effective blockwise training framework to prevent GCL from notorious oversmoothing. Without bells and whistles, BlockGCL consistently improves robustness and stability for well-established GCL methods with increasing numbers of layers on several real-world graph benchmarks.

View on arXivView PDF

Code Implementations(1)

PyTorch implementation of Blockwise Graph Contrastive Learning (BlockGCL)

51Shell, PythonMay 13, 20231 years ago

Similar Papers

Cite this paper

@article{li2023oversmoothing,
  title  = {Oversmoothing: A Nightmare for Graph Contrastive Learning?},
  author = {Jintang Li and Wangbin Sun and Ruofan Wu and Yuchang Zhu and Liang Chen and Zibin Zheng},
  year   = {2023},
  eprint = {2306.02117},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.02117v2}
}

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

Discussion