Abstract
Graph Contrastive Learning (GCL) typically relies on node-centric views and destructive data augmentations. This paper introduces Augmentation-Free Edge Contrastive Learning (AFECL), a framework that shifts the focus to edge-level representations. By defining a contrastive objective based on edge adjacency and utilizing an efficient sampling strategy, AFECL avoids the pitfalls of heuristic augmentations while capturing rich structural information. Experimental results demonstrate that AFECL achieves state-of-the-art performance in link prediction and node classification, particularly in scenarios with extreme label scarcity.
Introduction
Graph Contrastive Learning (GCL) has emerged as a powerful paradigm for self-supervised learning on graphs. However, current methods often rely on heuristic data augmentations, such as edge dropping or feature masking, which can inadvertently destroy critical topological information. Furthermore, these methods are predominantly node-centric, treating edges as secondary information. AFECL addresses these limitations by proposing an augmentation-free, edge-centric approach that leverages the inherent structural wealth of edges.
The AFECL Framework
The AFECL model is designed to learn robust graph representations without destructive transformations. It consists of three main components: edge feature generation, a contrastive objective, and an efficient sampling mechanism.
Edge Feature Generation
Rather than applying complex transformations, AFECL generates edge embeddings by concatenating the representations of the two nodes forming the edge. These node embeddings are derived from a Multi-head Graph Attention Network (GAT) encoder, ensuring that local structural context is preserved.
Edge-Edge Contrastive Objective
The core of AFECL is its contrastive loss defined directly on edges. For any "anchor" edge, positive pairs are defined as its adjacent edges (those sharing a common node), while non-adjacent edges serve as negative pairs. This approach exploits the homophily assumption at a structural level, encouraging the model to learn similar representations for connected structural units.
Efficiency via Sampling
To maintain computational feasibility on large-scale graphs, AFECL employs an edge sampling strategy. By training on a subset of edges in each epoch, the model achieves a complexity comparable to node-based GCL methods, avoiding the $O(N^2)$ overhead typically associated with edge-level modeling.
Experimental Evaluation
The model was rigorously tested on eight benchmark datasets, including homophilic citation networks (Cora, Citeseer, Pubmed), heterophilic graphs (Actor, Chameleon), and large-scale networks (Penn94).
Key Results
AFECL demonstrates exceptional performance in two primary areas:
- Extreme Label Scarcity: In low-label regimes (1-4 labels per class), AFECL significantly outperforms supervised GNNs. For instance, on the Cora dataset with only one label per class, AFECL achieved 63.6% accuracy, compared to 42.6% for a standard GCN.
- Link Prediction: By explicitly modeling edge relationships, AFECL naturally excels at link prediction tasks, achieving a state-of-the-art AUC of 96.5% on Cora.
Conclusion
AFECL represents a significant shift in graph self-supervised learning by prioritizing edge-level structural information without the need for destructive augmentations. Its efficiency and superior performance in label-scarce environments make it a robust solution for real-world graph analysis. Future work may explore its application to highly heterophilic graphs and integration with diverse GNN architectures.
Summary updated