Abstract
Multi-Level Graph Contrastive Learning (MLGCL) is a novel self-supervised framework designed to learn robust node and graph embeddings without the need for expensive manual labels. By contrasting a graph's original topology against a $k$-Nearest Neighbor ($k$NN) graph constructed from node features, the model captures both local structural similarities and global semantic relationships. MLGCL addresses the limitations of traditional graph data augmentations and the common assumption of homophily, outperforming state-of-the-art supervised and unsupervised methods across various benchmarks.
Introduction: The Challenge of Graph Augmentation
Graph Neural Networks (GNNs) typically rely on supervised learning, which requires vast amounts of labeled data—a resource often scarce in specialized domains like biology or chemistry. Furthermore, most GNNs assume homophily, where connected nodes are expected to be similar. However, real-world graphs are frequently noisy or disassortative, meaning nodes of different classes may be linked due to complex relationships or errors.
Existing self-supervised methods often attempt to build robustness through simple data augmentations like edge dropping or feature masking. As shown in Figure 1, these perturbations can be destructive, potentially removing the very structural information the model needs to learn.
Methodology: The MLGCL Framework
To overcome the limitations of simple perturbations, MLGCL introduces a dual-view contrastive learning pipeline that contrasts different spaces rather than just modified versions of the same space.
Dual-View Construction
- Topological Space View: This view utilizes the original graph structure, representing the observed connections between nodes.
- Feature Space View: A $k$NN graph is constructed by calculating similarities (e.g., Cosine Similarity) between node features. This view preserves high-order proximity and semantic relationships that the original, potentially noisy, first-order structure might miss.
Multi-Level Contrastive Learning
Both views are fed into a shared GCN encoder. To ensure the model learns representations across different scales, MLGCL implements a multi-level loss function:
- Node-level Contrast: Ensures that the same node has consistent embeddings across both the topological and $k$NN views.
- Graph-level Contrast: Employs a pooling (readout) function to compare the global identity of the entire graph across both views.
Experimental Results and Insights
The model was evaluated on seven diverse datasets, including citation networks (Cora, Citeseer, Pubmed), social networks (WikiCS), and web co-occurrence networks (Cornell, Actor).
Key Findings
- Superior Performance: MLGCL achieved top-tier results across almost all datasets, often surpassing fully supervised models like GCN and GAT. For instance, on the Cora dataset, it achieved 84.4% accuracy, significantly higher than GCA (80.5%).
- Robustness to Noise: On the notoriously difficult disassortative Cornell dataset, MLGCL reached 61.89% accuracy, a substantial improvement over GCA's 52.47%. This demonstrates the "denoising" power of the $k$NN feature-space view.
- Ablation Analysis: The authors confirmed that the $k$NN augmentation is critical. Replacing it with standard edge perturbation caused performance on Cora to drop from 84.4% to 68.9%.
Conclusion and Future Work
MLGCL demonstrates that contrasting different structural spaces (topology vs. feature similarity) provides a more meaningful training signal than simple input deletions. By integrating node-level and graph-level objectives, the framework captures the full hierarchy of graph data. Future research may focus on optimizing the computational complexity of $k$NN construction for massive graphs and exploring alternative distance metrics for generating feature-space views.
Summary updated