Edge Contrastive Learning: An Augmentation-Free Graph Contrastive Learning Model

Yujun Li, Hongyuan Zhang, Yuan Yuan
12/15/2024
cs.LG

Official code: YujunLi361/AFECL (4 stars, last commit 2026-01-08).

Abstract

Graph contrastive learning (GCL) aims to learn representations from unlabeled graph data in a self-supervised manner and has developed rapidly in recent years. However, edgelevel contrasts are not well explored by most existing GCL methods. Most studies in GCL only regard edges as auxiliary information while updating node features. One of the primary obstacles of edge-based GCL is the heavy computation burden. To tackle this issue, we propose a model that can efficiently learn edge features for GCL, namely AugmentationFree Edge Contrastive Learning (AFECL) to achieve edgeedge contrast. AFECL depends on no augmentation consisting of two parts. Firstly, we design a novel edge feature generation method, where edge features are computed by embedding concatenation of their connected nodes. Secondly, an edge contrastive learning scheme is developed, where edges connecting the same nodes are defined as positive pairs, and other edges are defined as negative pairs. Experimental results show that compared with recent state-of-the-art GCL methods or even some supervised GNNs, AFECL achieves SOTA performance on link prediction and semi-supervised node classification of extremely scarce labels. The source code is available at https://github.com/YujunLi361/AFECL.

View on arXivView PDF

Code Implementations(1)

YujunLi361/AFECLOfficial100%

[AAAI 2025] Edge Contrastive Learning: An Augmentation-Free Graph Contrastive Learning Model

40Shell, PythonDec 14, 20249 months ago

Similar Papers

Cite this paper

@article{li2024edge,
  title  = {Edge Contrastive Learning: An Augmentation-Free Graph Contrastive Learning Model},
  author = {Yujun Li and Hongyuan Zhang and Yuan Yuan},
  year   = {2024},
  eprint = {2412.11075},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.11075v1}
}

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

Discussion