Abstract
Graph Neural Networks (GNNs) often struggle with open-set scenarios, where they encounter nodes from classes not present during training. Standard models tend to misclassify these novel nodes into known categories with high confidence. This paper proposes $G^2Pxy$, a generative approach that synthesizes "proxy" unknown nodes during training using hidden-layer manifold mixup. By training the model to explicitly recognize these simulated unknowns, $G^2Pxy$ significantly enhances the detection of novel classes in an inductive setting without requiring access to real open-set data during training.
Introduction
Most GNN research operates under a "closed-world" assumption where the set of classes is static. However, real-world graphs are dynamic; for instance, a citation network model may encounter papers from emerging research fields. Standard GNNs typically force these new instances into existing categories, leading to high-confidence misclassifications. This challenge is known as open-set node classification.
Existing approaches often rely on brittle confidence thresholding or transductive learning, which requires peeking at unlabeled test data during training. $G^2Pxy$ addresses the stricter inductive setting, where the model must reject unknown classes without any prior exposure to them during the training or validation phases.
Methodology
To address the absence of open-set data, $G^2Pxy$ generates synthetic unknown nodes, termed proxies, to approximate the distribution of novel classes. This is achieved through manifold mixup, blending node representations within the GNN's hidden layers.
The framework generates two types of proxies to define the boundaries of known classes:
- Inter-Class Unknown Proxies: Created by mixing hidden representations of connected nodes from different known classes, simulating unknowns at the decision boundaries.
- External Unknown Proxies: Created by mixing "peripheral" nodes (e.g., leaf nodes) with the inverse of their class centers, simulating unknowns at the edges of the known data distribution.
Instead of a threshold, $G^2Pxy$ introduces an additional "$C+1$" class for these proxies. Training involves a combination of standard cross-entropy and a tailored complement entropy loss, which encourages the model to distribute uncertainty evenly across known classes when processing a proxy.
Experimental Results
The authors evaluated $G^2Pxy$ on four benchmark citation datasets: Cora, Citeseer, DBLP, and PubMed. They simulated open-set conditions using "Near open-set" (holding out classes from the same dataset) and "Far open-set" (using different datasets for known and unknown classes) configurations.
Key findings include:
- Superior Inductive Performance: In near open-set tests, $G^2Pxy$ outperformed the strongest baseline (GCN_PROSER) by an average of 3.7% in accuracy and 9.6% in Macro-F1 across the four datasets.
- Enhanced Unknown Detection: While standard GNNs effectively have 0% accuracy in detecting unknowns, $G^2Pxy$ achieved an average unknown detection accuracy of 73.3%, with only a marginal impact on known-class performance.
- Architecture Agnosticism: The method proved effective when integrated with GCN, GAT, and GraphSAGE, demonstrating its versatility across different GNN backends.
Discussion and Insights
Ablation studies confirmed that both inter-class and external proxies are vital; removing either significantly degrades performance. Furthermore, explicit classification ($C+1$) proves more robust than traditional thresholding methods, which are often sensitive to hyperparameter tuning. Mixup serves as a computationally efficient proxy generator, providing interpretable boundaries without the overhead of heavy generative models like GANs.
Conclusion
$G^2Pxy$ provides a robust, generative solution for inductive open-set node classification. By leveraging manifold mixup to create informative proxy unknowns, it allows GNNs to maintain high performance on known classes while reliably rejecting novel ones. Future work will explore hybridizing generative proxies with discriminative thresholding to further improve performance in "far open-set" scenarios where unknown data differs drastically from training distributions.
Summary updated