Abstract
Graph-based Semi-Supervised Learning (SSL) often struggles with extreme label scarcity. This paper presents $\text{CG}^3$ (Contrastive and Generative Graph Convolutional Networks), a framework that integrates semi-supervised contrastive learning with a graph generative objective. By leveraging both local and global structural views without data augmentation, $\text{CG}^3$ extracts rich supervision signals from unlabeled data and sparse labels, significantly improving node classification performance in low-label environments.
Introduction
Graph Convolutional Networks (GCNs) are powerful tools for node classification, yet their performance is heavily dependent on the density of available labels. In many real-world scenarios, labels are expensive or difficult to obtain, leading to unstable representations and poor generalization. While self-supervised contrastive learning offers a path forward by utilizing unlabeled data, existing methods often ignore the few available labels or rely on destructive graph augmentations (like edge dropping) that can compromise topological integrity.
The $\text{CG}^3$ Framework
The proposed $\text{CG}^3$ architecture addresses these challenges by creating two distinct "views" of the graph through different network structures rather than data corruption.
As shown in Figure 1, the model processes the input graph through two parallel paths:
- Localized Graph Convolution (GCN): Captures immediate neighborhood features.
- Hierarchical Graph Convolution (HGCN): Captures broader, global structural patterns.
Semi-Supervised Contrastive Learning
The core innovation lies in the semi-supervised contrastive loss, which aligns these two views. Unlike standard unsupervised contrastive learning, $\text{CG}^3$ incorporates label information directly into the contrastive objective.
As illustrated in Figure 2, the loss function performs two roles:
- Unsupervised Contrastiveness: It maximizes agreement between different views of the same node while minimizing agreement between different nodes.
- Supervised Contrastiveness: It pulls together nodes belonging to the same class (even across different views) and pushes apart nodes from different classes, effectively amplifying the signal from the sparse labels.
Graph Generative Loss
To further ground the learned embeddings in the original graph topology, $\text{CG}^3$ employs a generative loss. This objective requires the model to reconstruct the adjacency matrix from the combined node representations, ensuring that the feature space respects the raw connectivity of the graph.
Experimental Results
The authors evaluated $\text{CG}^3$ on six benchmark datasets, including citation networks (Cora, CiteSeer, PubMed) and co-purchase/co-author networks.
Performance and Robustness: $\text{CG}^3$ consistently outperformed state-of-the-art baselines like GAT, DGI, and GRACE. Its advantage is most pronounced under extreme label scarcity; for instance, on the Cora dataset with a 0.5% label rate, $\text{CG}^3$ achieved 69.3% accuracy, whereas a standard GCN dropped to 42.6%.
Ablation Studies: Removing either the contrastive or generative components led to significant performance degradation, confirming that the synergy between feature-based contrast and topology-based generation is vital for robust SSL. t-SNE visualizations further demonstrated that $\text{CG}^3$ produces much more coherent and visually separated class clusters compared to using a local GCN or global HGCN alone.
Conclusion and Future Work
$\text{CG}^3$ demonstrates that architectural diversity and hybrid loss functions can overcome the limitations of label scarcity in graph learning. While the model shows superior performance in transductive settings, future work is needed to address the $\mathcal{O}(N^2)$ complexity of pairwise contrastive losses for large-scale graphs and to extend the framework to inductive learning scenarios.
Summary updated