Open-Set Cross-Network Node Classification via Unknown-Excluded Adversarial Graph Domain Alignment

Xiao Shen, Zhihao Chen, Shirui Pan, Shuang Zhou, Laurence T. Yang, Xi Zhou

Abstract

Standard cross-network node classification (CNNC) assumes a closed-set scenario where the source and target networks share an identical label space. However, real-world applications often encounter "unknown" classes in the target network that were never seen during training on the source network. This paper introduces UAGA (Unknown-Excluded Adversarial Graph Domain Alignment), a novel framework for Open-Set CNNC. UAGA employs a "separate-adapt" strategy that identifies unknown nodes and utilizes a negative domain adaptation coefficient to repel them from the source distribution, effectively mitigating negative transfer and improving classification accuracy for known classes.

Introduction

In machine learning, the assumption that training and testing data share the same categories is frequently violated in practice. In the context of graph-structured data, such as citation networks or social graphs, a model trained on one network may be applied to another that contains entirely new, "private" classes. Standard domain adaptation methods often fail in these open-set scenarios because they attempt to force these unknown nodes into known categories, a phenomenon known as negative transfer.

The problem of Open-Set Graph Domain Adaptation, where the target network contains unknown classes not present in the source.

The challenge of Open-Set Cross-Network Node Classification (O-CNNC) is twofold: discovering the boundary between known and unknown nodes without target labels, and selectively aligning only the shared classes across domains. UAGA addresses these by leveraging graph structural information and a specialized adversarial alignment mechanism.

Methodology

The UAGA framework operates through a two-stage process: Adversarial Boundary Separation and Unknown-Excluded Adversarial Domain Alignment.

1. Adversarial Boundary Separation

In the first stage, the model learns a coarse boundary to distinguish between known and unknown nodes. It utilizes a Graph Attention Network (GAT) encoder ($f_G$) and a $(K+1)$-class classifier ($f_C$), where $K$ represents the number of known classes and the extra class represents the "unknown" category. Through adversarial training, the model learns to identify target nodes that deviate significantly from the source distribution.

2. Unknown-Excluded Adversarial Domain Alignment

This stage refines the alignment by focusing on the shared label space while explicitly excluding unknown nodes. The core innovations include:

  • Pseudo-labeling: Combining K-means clustering with classifier predictions to assign high-confidence labels to target nodes.
  • Negative Domain Adaptation Coefficient: Unlike standard adversarial alignment that uses a Gradient Reversal Layer (GRL) to make domains indistinguishable, UAGA assigns a positive coefficient ($\lambda = 1$) to known nodes and a negative coefficient ($\lambda = -1$) to unknown nodes. This negative coefficient acts as a repelling force, training the encoder to ensure unknown nodes look as distinct as possible from the source distribution.
The UAGA framework architecture, illustrating the Separate (left) and Adapt (right) stages.

Key Insights

  • Graph Homophily as a Prior: The authors provide theoretical justification (Theorem 1) that graph homophily—the tendency of connected nodes to share labels—remains a valid signal even when multiple private classes are grouped into a single "unknown" category. This allows GNNs to outperform standard MLP-based open-set methods by capturing structural context.
  • Active Boundary Definition: By using a negative coefficient, the model doesn't just ignore unknown samples; it actively uses them to define the limits of its known knowledge base.

Experiments and Results

To evaluate UAGA, the authors introduced three new real-world citation benchmarks: Citation-v1, DBLP-v4, and ACM-v8, featuring 9 distinct research categories. This setup allowed for a more robust testing of "openness" compared to previous smaller datasets.

UAGA was tested across six cross-network tasks and consistently outperformed state-of-the-art baselines (e.g., UDANE, SDA, and UDAGCN). Key findings include:

  • Superior Accuracy: On the Citation $\rightarrow$ DBLP task, UAGA achieved an overall accuracy (OS) of 69.21%, a significant improvement over the next best baseline (57.09%).
  • Effective Unknown Detection: The model demonstrated high AUC scores for identifying unknown classes, validating the effectiveness of the repelling strategy.
  • Robustness to Openness: UAGA maintained stable performance even as the proportion of unknown classes in the target network increased, whereas competing models showed rapid degradation.

Conclusion

UAGA represents a significant advancement in open-set graph domain adaptation by introducing a "separate-adapt" strategy and a negative domain adaptation coefficient. While currently focused on undirected homogeneous graphs, future work may extend this framework to heterogeneous or dynamic graph structures and explore adaptive coefficients to further refine the alignment process.

Summary updated

BibTeX
@inproceedings{shen2025open,
  author = {Xiao Shen and Zhihao Chen and Shirui Pan and Shuang Zhou and Laurence T. Yang and Xi Zhou},
  title = {{Open-Set Cross-Network Node Classification via Unknown-Excluded Adversarial Graph Domain Alignment}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i19.34247},
}
Figure