ContraNorm: A Contrastive Learning Perspective on Oversmoothing and Beyond

Abstract

Oversmoothing is a common phenomenon in a wide range of Graph Neural Networks (GNNs) and Transformers, where performance degenerates as the layer goes deeper. Instead of characterizing oversmoothing from the view of complete collapse in which representations converge to a single point, we dive into a more general perspective dimensional collapse in which representations lie in a narrow cone. Accordingly, inspired by the power of contrastive learning in preventing dimensional collapse, we propose a novel normalization layer ContraNorm. Intuitively, ContraNorm implicitly shatters representations in the embedding space, leading to a more uniform distribution and slighter dimensional collapse. On the theoretical analysis, we prove that ContraNorm can alleviate both complete collapse and dimensional collapse under some conditions. Our proposed normalization layer can be easily inserted into GNNs and Transformers with negligible parameter overhead. Experiments on various real-world datasets verify the effectiveness of our method.

Cite

Text

Guo et al. "ContraNorm: A Contrastive Learning Perspective on Oversmoothing and Beyond." International Conference on Learning Representations, 2023.

Markdown

[Guo et al. "ContraNorm: A Contrastive Learning Perspective on Oversmoothing and Beyond." International Conference on Learning Representations, 2023.](https://mlanthology.org/iclr/2023/guo2023iclr-contranorm/)

BibTeX

@inproceedings{guo2023iclr-contranorm,
  title     = {{ContraNorm: A Contrastive Learning Perspective on Oversmoothing and Beyond}},
  author    = {Guo, Xiaojun and Wang, Yifei and Du, Tianqi and Wang, Yisen},
  booktitle = {International Conference on Learning Representations},
  year      = {2023},
  url       = {https://mlanthology.org/iclr/2023/guo2023iclr-contranorm/}
}