Edge Contrastive Learning: An Augmentation-Free Graph Contrastive Learning Model
Yujun Li, Hongyuan Zhang, Yuan Yuan
TL;DR
This work introduces Augmentation-Free Edge Contrastive Learning (AFECL), a graph representation learning framework that performs edge-edge contrast without data augmentations. By deriving edge embeddings directly from node embeddings produced by a multi-head GAT encoder, and by defining positives and negatives through local topology (edges adjacent to shared nodes vs. non-neighbor edges), AFECL leverages graph structure while maintaining computational efficiency. The approach achieves state-of-the-art results on link prediction and semi-supervised node classification with scarce labels across eight diverse datasets, and ablations confirm the efficacy of the edge-centric loss and sampling strategy. Overall, AFECL provides a scalable, topology-aware alternative to augmentation-heavy graph contrastive learning with strong practical impact on graph analysis tasks in low-label regimes.
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.
