Abstract
Graph Neural Networks (GNNs) often struggle with a "Goldilocks" problem regarding depth: shallow models may fail to filter noise, while deep models frequently suffer from oversmoothing. Furthermore, the heavy reliance on labeled data limits their applicability in real-world scenarios. We present SAIL (Self-Augmented graph contrastive Learning), a novel unsupervised framework that leverages internal self-distillation to learn high-quality node representations. By employing intra-distilling and inter-distilling modules, SAIL enables a simple, single-layer GNN to match or exceed the performance of complex, deep supervised models. Our evaluation across six benchmark datasets shows that SAIL consistently achieves state-of-the-art results in node classification and link prediction tasks.
Introduction
The primary strength of Graph Neural Networks lies in their ability to aggregate neighborhood information, effectively "smoothing" node features to create informative representations. However, finding the optimal depth is a significant challenge. Shallow GNNs often produce noisy representations because they do not aggregate enough context, whereas deep GNNs frequently encounter oversmoothing, where node embeddings become virtually identical and lose their distinctiveness. Additionally, obtaining high-quality labels for supervised learning is often expensive or impossible.
SAIL addresses these challenges by enabling a GNN to "teach" itself through self-augmentation. This approach mimics the smoothing effect of deep architectures without the structural complexity or the risk of oversmoothing, all while remaining entirely unsupervised.
Methodology
The SAIL framework is built around two core distillation modules that operate iteratively to refine node representations by bridging the gap between raw features and structural embeddings.
Intra-distilling Module
This module bridges the gap between raw input features and learned output embeddings. It employs a contrastive loss to ensure that a node's representation aligns with the raw features of its neighbors. Furthermore, a "distribution consistency" loss is used to ensure that the neighborhood relationships in the embedding space remain consistent with those in the original feature space.
Inter-distilling Module
SAIL utilizes a teacher-student framework for inter-distillation. A "teacher" model—a copy of the current GNN—serves as a target for a "student" model, which is a version of the GNN with injected noise. To maintain the integrity of the graph structure during this transfer, a Conditional Random Field (CRF) is employed to capture pairwise relationships between nodes, ensuring the distillation respects the graph's topology.
Experimental Setup
The performance of SAIL was evaluated on six standard benchmark datasets, varying significantly in their "locality" and "feature smoothness":
- Citation Networks: Cora, Citeseer, and Pubmed.
- Product Co-purchase Networks: Amazon Computers and Amazon Photo.
- Co-author Network: Computer Science (CS).
Key Results and Insights
A striking finding of this research is that SAIL enables a single-layer GNN to achieve state-of-the-art results. This proves that sophisticated distillation can do the heavy lifting typically reserved for deep architectures.
Node Classification
SAIL consistently outperformed both supervised baselines (such as GCN and GAT) and top-tier unsupervised methods (such as DGI and MVGRL). As shown in the results below, SAIL achieved an accuracy of 84.6% on the Cora dataset, notably surpassing the supervised GCN's 81.5%.
Link Prediction and Robustness
In link prediction tasks, SAIL demonstrated a substantial lead, reaching an AUC of 97.3% on Cora and 98.4% on Citeseer. Additionally, the model showed remarkable robustness; when 20% of the graph's edges were randomly removed, SAIL's performance degradation was significantly lower than that of its competitors, demonstrating its ability to handle incomplete real-world data.
Conclusion
SAIL demonstrates that self-distillation is a powerful alternative to increasing model depth in GNNs. By effectively leveraging both feature and structural signals through its dual distillation modules, SAIL produces robust, high-quality representations without the need for human-labeled data. Future research will explore SAIL's performance in few-shot learning scenarios and its resilience against adversarial attacks.
Summary updated