NP2L: Negative Pseudo Partial Labels Extraction for Graph Neural Networks

Xinjie Shen, Danyang Wu, Jitao Lu, Junjie Liang, Jin Xu, Feiping NiearXiv 2023 · DOI

Pseudo-labeling has long been a cornerstone of semi-supervised learning, allowing models to leverage vast amounts of unlabeled data by treating high-confidence predictions as ground truth. However, in the context of Graph Neural Networks (GNNs), this technique is notoriously noisy. If a model is "confidently incorrect," these errors propagate through the graph's structure during message passing, often degrading performance rather than improving it.

This paper introduces NP$^2$L, a novel framework that shifts the paradigm from predicting what a node is to predicting what it isn't. By extracting highly accurate "negative pseudo-partial labels" to construct a signed graph, the authors significantly boost GNN performance, particularly on challenging heterophilic datasets where traditional GNNs often fail.

The Challenge of Pseudo-Labeling in GNNs

Traditional pseudo-labeling methods face two primary hurdles in graph-based learning:

  1. Error Propagation: Pseudo-labels are frequently inaccurate. When a GNN incorporates these incorrect labels into its training set, the errors are amplified by the graph's connectivity, leading to a "confirmation bias" where the model reinforces its own mistakes.
  2. Structural Ignorance: Most pseudo-labeling strategies treat nodes as independent entities, ignoring the unique structural relationships and message-passing dynamics that define GNNs.

The authors of NP$^2$L observed that while it is difficult to be certain about a node's exact class, it is much easier to be certain that two nodes belong to different classes. They propose leveraging these "negative" relationships to create a more robust learning signal.

The NP$^2$L Framework

The core of the proposed method is the NP$^2$E (Negative Pseudo Partial Labels Extraction) module. This module transforms the original graph into a signed graph by identifying pairs of nodes that are highly likely to belong to different categories.

Detailed architecture of the NP$^2$E module, illustrating the transition from unsupervised embedding to signed graph construction.

As shown in the architecture above, the process follows four distinct steps:

  1. Unsupervised Embedding: The model first learns node representations ($Z$) using unsupervised tasks like graph reconstruction via Graph Auto-Encoders (GAE).
  2. Clustering & Partial Labels: These embeddings are clustered into $k$ groups. Rather than assigning a single cluster, each node is assigned its "top-$o$" nearest clusters as partial labels.
  3. Negative Pair Identification: If two nodes share zero overlapping partial labels, they are defined as a negative node pair. Statistically, these pairs are far more likely to belong to different ground-truth classes than standard pseudo-labels are to be correct.
  4. Signed Graph Construction: The original edges are treated as positive, while the newly discovered negative pairs are added as negative edges.

Finally, a Signed GNN (such as SGCN) processes this new graph. This allows the model to explicitly learn that certain nodes should have dissimilar representations, effectively "pushing" different classes apart in the embedding space.

Key Insights and Reliability

The "aha moment" of this research is the realization that negative relations are more robust than positive ones. By using partial labels (multiple candidate clusters), the probability that the true class is not in the excluded clusters becomes exceptionally high.

Recall of partial labels across different datasets as the number of assigned clusters (o) increases, demonstrating the high reliability of the negative labels.

Experimental results confirm this intuition. As shown in the recall analysis, the recall score of pseudo-partial labels stays very high as the number of assigned clusters ($o$) increases. This proves that the "negative" pairs identified by the NP$^2$E module are indeed highly reliable across a wide variety of datasets.

Experimental Results

The authors evaluated NP$^2$L on a comprehensive suite of benchmarks, including both homophilic (e.g., Cora, CiteSeer) and heterophilic (e.g., Actor, Wisconsin) datasets. Heterophilic datasets are particularly challenging because connected nodes often belong to different classes, a scenario where standard GNNs typically struggle.

NP$^2$L achieved state-of-the-art (SOTA) or near-SOTA performance across the board:

  • Node Classification: The gains were most dramatic on heterophilic datasets. For instance, on the Wisconsin dataset, the method improved performance by 33.33% relative to the baseline GCN. On Cornell and Texas, improvements were 26.48% and 23.82%, respectively.
  • Link Prediction: The framework consistently outperformed standard GCN-based encoders in both GAE and VGAE settings.

Conclusion

NP$^2$L offers a powerful solution to the noise problem in pseudo-labeling for GNNs. By focusing on negative relationships, the method provides a more stable and accurate signal for semi-supervised learning. While the quality of negative labels currently depends on the initial unsupervised embeddings, future work exploring more advanced techniques like contrastive learning or ensemble clustering could further enhance the stability and performance of this promising framework.

Summary updated

BibTeX
@misc{shen2023np,
  author = {Xinjie Shen and Danyang Wu and Jitao Lu and Junjie Liang and Jin Xu and Feiping Nie},
  title = {{NP2L: Negative Pseudo Partial Labels Extraction for Graph Neural Networks}},
  year = {2023},
  eprint = {2310.01098},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.01098},
}
Figure