Graph Neural Networks (GNNs) have demonstrated remarkable success in node classification tasks. However, their performance typically hinges on the availability of abundant labeled data. In many real-world scenarios, labels are expensive or difficult to obtain, leading to a "few-label" problem where GNNs often overfit or suffer from over-smoothing. This paper introduces GraFN (Graph Few-label Node classification), a framework designed to enhance GNN performance when labeled data is extremely scarce.
The Problem: Label Scarcity and Over-smoothing
Standard GNNs are notoriously label-hungry. When supervision is limited (e.g., only 0.5% of nodes are labeled), models tend to overfit to the small training set. Furthermore, as GNNs aggregate information from neighbors, node representations can become indistinguishable—a phenomenon known as over-smoothing—making the few available labels less effective for distant nodes. While self-supervised learning (SSL) helps by learning general features, it often lacks the class discriminativeness necessary for precise classification.
Methodology: Dual-Consistency Framework
GraFN addresses these challenges by integrating self-supervised consistency with label-guided distribution assignment. The architecture relies on a dual-consistency approach to bridge the gap between robust feature learning and class awareness.
1. Graph Augmentation and Node-wise Consistency
GraFN generates two augmented views of the input graph by randomly masking features and dropping edges. A shared GNN encoder processes both views. The Node-wise Consistency loss ($\mathcal{L}_{NC}$) ensures that the encoder produces similar representations for the same node across different augmentations, following standard SSL practices.
2. Label-guided Consistency
The core innovation of GraFN is the Label-guided Consistency loss ($\mathcal{L}_{LC}$). The model randomly samples a small set of labeled nodes to serve as "support nodes." For any unlabeled "anchor node," GraFN calculates a predicted class distribution based on its non-parametric similarity to these support nodes using a Soft Nearest Neighbors (SNN) strategy. By minimizing the difference between these similarity-based distributions across augmented views, GraFN forces the representation space to become class-discriminative. To maintain quality, this loss is only applied to nodes where the model's prediction confidence exceeds a specific threshold.
Experimental Results
The authors evaluated GraFN on five benchmark datasets, including citation networks (Cora, Citeseer, Pubmed) and co-purchase networks (Amazon Computers, Amazon Photos). The experiments focused on extremely low label rates, ranging from 0.5% to 4%.
Performance at Low Label Rates
GraFN consistently outperformed 15 baseline methods, including advanced GNNs like APPNP and state-of-the-art SSL methods like GRACE and BGRL. As shown in the performance plots, the gap between GraFN and other methods is most pronounced when labels are rarest. For instance, on the Cora dataset with a 0.5% label rate, GraFN achieves approximately 66.7% accuracy, significantly outperforming GCN (~56%) and BGRL (~61.7%).
Robustness to Node Degree
GNNs typically struggle with low-degree nodes due to limited neighborhood information. GraFN's label-guided consistency effectively propagates supervisory signals to these nodes, resulting in superior performance across all node degrees compared to traditional supervised and self-supervised baselines.
Conclusion
GraFN successfully combines the label-agnostic robustness of self-supervised learning with the class-specific guidance of supervised learning. By utilizing non-parametric distribution assignment via support nodes, it creates a discriminative representation space that excels in few-label scenarios. Future work may explore more sophisticated support node selection and advanced graph augmentation strategies to further improve performance on datasets with fewer classes.
Summary updated