Subspace-Aware Feature Reshaping for Open-Set Graph Class-Incremental Learning

Weichao Zhang, Shuai Zheng, Yeyu Yan, Zhizhe Liu, Zhenfeng Zhu, Yao ZhaoICML 2026

The Challenge of Open-Set Graph Learning

Graph neural networks are increasingly deployed in dynamic environments where new categories of data continuously emerge. This paradigm, known as Graph Class-Incremental Learning (GCIL), requires models to learn new classes sequentially without forgetting previously learned ones.

However, most existing GCIL methods rely on a flawed "closed-set" assumption—they presume that during testing, the model will only encounter classes it has already seen. In reality, open-ended scenarios inevitably introduce unknown classes. When traditional models face these unknowns, they suffer from two critical failures:

  1. Catastrophic Representation Drift: As the model learns new tasks, the internal feature space of old tasks becomes distorted and shifted.
  2. Generalized Overconfidence: Because the model is forced to choose from known classes, it often assigns high-confidence scores to unknown samples, essentially hallucinating that a novel data point belongs to an existing category.

The SAFER Framework

To address these challenges, researchers have introduced SAFER (Subspace-Aware FEature Reshaping), a novel framework that equips GCIL with intrinsic open-set capabilities. Crucially, SAFER operates under a strict replay-free constraint, meaning it achieves this without storing old graph data to remind itself of past tasks.

The architecture relies on three core mechanisms:

1. Drift-Resilient Fingerprints

To prevent representation drift, SAFER decouples stability and plasticity. It uses a frozen, pre-trained "Anchor" GNN to maintain a stable global coordinate system. For each task, it computes a geometric "fingerprint"—consisting of a task centroid and a low-rank subspace derived via SVD/PCA—that captures the task's unique structural orientation.

2. Feature Reshaping via Projection

During inference, SAFER treats these fingerprints as rigid geometric filters. A query sample is projected onto the task-specific subspaces, and the model calculates the "reconstruction residual." This residual acts as a unified energy score that answers both "Which task is this?" and "Is this a new thing?" If the energy required to warp the data point into any known task's fingerprint is too high, the sample is rejected as "unknown."

3. Geometric Space-Consistency Regularization

To ensure task fingerprints remain distinct, SAFER employs node-adaptive prompts and a supervised contrastive loss (SupCon). This regularization pushes intra-class samples into tight clusters and pulls different tasks apart, maximizing the margin for accurate open-set detection.

Experimental Setup

The researchers evaluated SAFER on four large-scale graph benchmarks:

  • CoraFull: A citation network with 70 classes.
  • Arxiv: A massive citation network of Computer Science papers spanning 40 subject areas.
  • Reddit: A social network graph where nodes are posts and edges represent user comments.
  • Products: An Amazon co-purchasing network.

Each dataset was partitioned into a sequence of tasks, with each task introducing two new classes at a time.

Key Results

SAFER establishes a new state-of-the-art across all evaluated benchmarks, proving that open-set detection and incremental learning can be handled simultaneously and efficiently:

  • Zero Forgetting: It achieved an impressive 0.0% catastrophic forgetting on all datasets, a remarkable feat for a replay-free architecture.
  • Open-Set Superiority: In open-set detection (measured by AUROC), SAFER outperformed the strongest baselines by massive margins—up to 31.3%.
  • Accuracy Gains: Overall classification accuracy (Average Performance) increased by up to 5.2% compared to existing methods.
  • Efficiency: Despite handling complex open-set requirements, SAFER maintains inference speeds and memory usage comparable to standard closed-set models.

Limitations and Future Directions

Currently, SAFER operates in a fully supervised manner, relying on labeled data for every task to construct its precise geometric fingerprints. In real-world applications where labels are scarce or expensive to obtain, this requirement could be a bottleneck.

Future research will explore extending this geometric framework to semi-supervised or self-supervised settings, allowing the model to build stable subspaces and detect novel classes with minimal human annotation.

Summary updated

BibTeX
@inproceedings{zhang2026subspace,
  author = {Weichao Zhang and Shuai Zheng and Yeyu Yan and Zhizhe Liu and Zhenfeng Zhu and Yao Zhao},
  title = {{Subspace-Aware Feature Reshaping for Open-Set Graph Class-Incremental Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=QKo90eNH3l},
}
Figure