Structure-Aware Consensus Network on Graphs with Few Labeled Nodes

Shuaike Xu, Xiaolin Zhang, Peng Zhang, Kun ZhanarXiv 2024 · DOI

Abstract

Training graph neural networks (GNNs) with extremely limited labels—often just a few per class—remains a significant challenge in semi-supervised learning. This paper introduces the Structure-Aware Consensus Network (SACN), a novel framework designed to overcome the limitations of label scarcity by leveraging the inherent geometric structure of graphs. SACN employs a structure-aware consensus loss and a weak-to-strong supervision mechanism within a computationally efficient single-branch architecture. Experimental results on benchmark citation networks demonstrate that SACN consistently outperforms state-of-the-art methods, particularly in ultra-low label regimes.

Introduction

Semi-supervised node classification is a fundamental task in graph data analysis. While GNNs have shown remarkable success, their performance often degrades sharply when labeled data is scarce (the "few-shot" regime). Existing approaches to this problem typically fall into two traps: ignoring the graph's structural information during consistency training or relying on resource-intensive multi-branch architectures that produce noisy pseudolabels.

Comparison of learning paradigms: (a) Pseudo supervision, (b) View consistency, and (c) the proposed SACN approach.

SACN addresses these issues by integrating structural awareness directly into the consensus learning process. Unlike traditional methods that focus on point-to-point consistency, SACN exploits the graph's adjacency matrix to ensure that neighboring nodes maintain consistent representations across different augmented views, effectively learning from the graph's inherent geometry.

Methodology

SACN utilizes a single-branch Graph Attention Network (GAT) architecture, making it more parameter-efficient than typical multi-view models. The framework is built upon three core strategies:

1. Structure-Aware Consensus Learning

Standard contrastive learning often treats nodes as independent instances. SACN introduces a consensus loss ($\ell_{sacn}$) that incorporates the graph's adjacency matrix. This forces the model to learn representations where connected nodes are similar across two "strongly augmented" views (created via random feature masking), while maintaining class separability.

2. Weak-to-Strong Supervision

To provide stable guidance for the perturbed views, SACN employs a "teacher-student" dynamic. A "weakly augmented" view (without masking) generates high-quality predictions that serve as pseudolabels ($\hat{T}$) to supervise the two strongly augmented views ($Y^{(1)}, Y^{(2)}$). This weak-to-strong consistency ($\ell_{w2s}$) ensures robustness against heavy data perturbations.

Detailed architecture of SACN, illustrating the multi-head attentional layers and the integration of consensus and weak-to-strong supervision losses.

3. Class-Aware Pseudolabel Selection

To mitigate the impact of class imbalance, SACN avoids a global confidence threshold. Instead, it selects the most confident predictions for each class independently. This ensures that minority classes contribute effectively to the supervision signal, preventing the model from becoming biased toward majority classes.

Key Results

The model was evaluated on three standard citation benchmarks: Cora, Citeseer, and PubMed, specifically focusing on low label rates (e.g., 0.5% for Cora/Citeseer and 0.03% for PubMed). SACN consistently outperformed state-of-the-art (SOTA) methods:

  • Cora (0.5% labels): Achieved 76.2% accuracy, beating the previous SOTA by 1.3%.
  • Citeseer (0.5% labels): Achieved 67.0% accuracy, a significant jump over existing methods.
  • PubMed (0.03% labels): Reached 72.2% accuracy, outperforming models with far more parameters.

Visualizations using t-SNE showed that as training progressed, node clusters became significantly tighter and more distinct, even with minimal supervision. Furthermore, the single-branch design allows SACN to reduce parameter counts by at least one-third compared to multi-branch competitors.

Conclusion

SACN presents a robust and efficient solution for GNN training under extreme label scarcity. By combining structure-aware consensus with a weak-to-strong supervision strategy, it effectively exploits unlabeled graph data. Future work includes exploring more diverse graph augmentation techniques and optimizing matrix operations for better scalability on massive, web-scale graphs.

Summary updated

BibTeX
@misc{xu2024structure,
  author = {Shuaike Xu and Xiaolin Zhang and Peng Zhang and Kun Zhan},
  title = {{Structure-Aware Consensus Network on Graphs with Few Labeled Nodes}},
  year = {2024},
  eprint = {2407.02188},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.02188},
}
Figure