Open-World Semi-Supervised Learning for Node Classification

Yanling Wang, Jing Zhang, Lingxi Zhang, Lixin Liu, Yuxiao Dong, Cuiping Li, Hong Chen, Hongzhi Yin

Introduction

Most Graph Neural Networks (GNNs) are developed under a "closed-world" assumption, where the set of categories encountered during testing is identical to those seen during training. However, real-world graphs—such as citation networks or e-commerce product graphs—are inherently dynamic. New research fields emerge and new product categories are introduced continuously.

Traditional "open-set" recognition methods typically address this by grouping all unknown instances into a single "out-of-distribution" category. This paper explores the more ambitious task of Open-World Semi-Supervised Learning (SSL). In this setting, the model must not only classify nodes into known categories but also discover and differentiate between multiple previously unseen classes. To address this, the authors introduce OpenIMA (IMbalance-Aware), a framework designed to overcome the structural disparities between known and novel node distributions.

The Challenge of Variance Imbalance

The primary obstacle in open-world graph learning is a phenomenon the authors identify as variance imbalance. Because the model is explicitly trained on labeled data for "seen" classes, it learns to represent these nodes in highly compact, low-variance clusters within the embedding space. Conversely, "novel" classes lack labels and supervision, leading to dispersed, high-variance representations.

This disparity creates a significant hurdle for standard clustering algorithms. When the variance of novel classes is significantly higher than that of seen classes, the clusters overlap, and the model struggles to distinguish a spread-out novel class from a tightly-packed seen class. The authors provide mathematical proof (Theorem 1) demonstrating that high variance imbalance directly suppresses the accuracy of novel class discovery unless the classes are perfectly separated.

The OpenIMA Framework

OpenIMA is designed to train from scratch without the need for massive pre-trained encoders. It utilizes a two-stage approach to bridge the gap between seen and novel distributions:

1. Node Embedding and Clustering

The framework uses a GNN backbone (such as a Graph Attention Network) to encode nodes into a latent space. It then employs K-Means to cluster these embeddings into a total number of classes (the sum of seen classes and the estimated number of novel classes).

2. Bias-Reduced Pseudo-Labeling

To provide supervision for the unlabeled novel classes, OpenIMA generates "pseudo-labels." It identifies the most confident nodes—those closest to the cluster centers—and assigns them labels. This reduces the bias inherent in treating all unlabeled nodes with equal weight.

3. Bias-reduced Pseudo-label Contrastive Learning (BPCL)

Since the specific identities of novel classes are unknown, standard Cross-Entropy loss is inapplicable. OpenIMA instead uses Contrastive Learning at two distinct levels:

  • Embedding-level: This pulls nodes with the same pseudo-label closer together while pushing nodes with different labels apart, effectively "tightening" the clusters of novel classes.
  • Logit-level: This ensures consistency in the model's final predictions by applying contrastive logic to the output of the classification head.

By focusing on whether nodes are the same or different rather than their specific names, OpenIMA reduces variance imbalance and pushes novel clusters away from the territory of known classes.

Experimental Evaluation

The researchers evaluated OpenIMA against state-of-the-art baselines (including ORCA, SimGCD, and OpenCon) across seven graph benchmarks, including citation networks (Citeseer, ogbn-Arxiv), co-purchase networks (Amazon Photos, Amazon Computers, ogbn-Products), and co-author networks (CS, Physics).

Key Findings

  • Superior Scalability: On the ogbn-Products dataset, which contains over 2.4 million nodes, OpenIMA achieved a 12.5% improvement in overall accuracy compared to the strongest baseline.
  • Balanced Performance: Unlike many existing methods that sacrifice accuracy on seen classes to improve discovery of novel ones, OpenIMA maintained high performance across both categories. On the Coauthor Physics dataset, it reached 78.0% overall accuracy, significantly outperforming the 73.3% achieved by the nearest competitor.
  • Estimation Robustness: The framework proved effective even when the number of novel classes was not known in advance, utilizing the Silhouette Coefficient to accurately estimate the cluster count.

Limitations and Future Directions

While OpenIMA represents a significant step forward, several challenges remain. The use of the Silhouette Coefficient for class estimation is computationally intensive for extremely large-scale graphs. Additionally, the Hungarian algorithm used for cluster-class alignment has a complexity of $O(M^3)$, which may become a bottleneck if the number of categories ($M$) reaches the thousands. Finally, as this work focuses on static snapshots, future research could extend OpenIMA to dynamic, evolving graphs where new classes arrive in a continuous stream.

Conclusion

OpenIMA addresses the fundamental issue of variance imbalance in open-world graph learning. By combining bias-reduced pseudo-labeling with dual-level contrastive learning, the framework enables GNNs to effectively categorize known nodes while simultaneously discovering the hidden structure of the unknown.

Summary updated

BibTeX
@inproceedings{wang2024open,
  author = {Yanling Wang and Jing Zhang and Lingxi Zhang and Lixin Liu and Yuxiao Dong and Cuiping Li and Hong Chen and Hongzhi Yin},
  title = {{Open-World Semi-Supervised Learning for Node Classification}},
  booktitle = {ICDE},
  year = {2024},
  url = {https://openreview.net/forum?id=bywY19Qbgv},
}
Figure