Introduction
Graph Neural Networks (GNNs) have become the standard for analyzing networked data, yet they face a significant hurdle in dynamic environments: catastrophic forgetting. When a model is trained on a sequence of new tasks, it tends to overwrite the knowledge acquired from previous ones. While "rehearsal" methods—which store a subset of old data—mitigate this, they are often impractical due to memory constraints or privacy regulations.
This paper introduces Instance-Prototype Affinity Learning (IPAL) to address Non-Exemplar Continual Graph Learning (NECGL). In this setting, the model is prohibited from storing raw examples and must instead rely on "prototypes" (mathematical summaries of classes). The core challenge is feature drift: as the model's parameters evolve to accommodate new tasks, the old prototypes become misaligned with the current feature space, leading to a sharp decline in performance.
The IPAL Framework
IPAL shifts the paradigm from standard Prototype Replay (PR) to Prototype Contrastive Learning (PCL). Theoretical analysis provided by the authors suggests that PCL inherently induces less feature drift by regularizing the relative distances between instances and prototypes rather than absolute feature positions.
Core Components
- Topology-Integrated Gaussian Prototypes (TIGP): Unlike standard methods that treat all nodes equally, IPAL leverages the PageRank algorithm to identify structurally influential nodes. By weighting these "high-impact" nodes more heavily when calculating class prototypes, the model creates more robust representations of historical knowledge.
- Instance-Prototype Affinity Distillation (IPAD): To maintain plasticity while ensuring stability, IPAD utilizes a Mixup strategy. It creates virtual features that interpolate between current samples and historical prototypes. Instead of freezing features (which limits learning), it distills the affinity (relationships) between instances and prototypes, allowing the model to adapt more flexibly.
- Decision Boundary Perception (DBP): IPAL identifies "hard" examples—nodes located near decision boundaries with high uncertainty. By prioritizing these examples during contrastive learning, the model learns to define sharper, more discriminative boundaries between classes.
Experimental Setup
The framework was rigorously evaluated on four major node classification benchmarks adapted for continual learning:
- CS-CL: A co-authorship graph (Microsoft Academic Graph).
- CoraFull-CL: A large-scale citation network with 70 topics.
- Arxiv-CL: A citation network from the Open Graph Benchmark (OGB).
- Reddit-CL: A post-to-post graph where nodes represent subreddits.
Performance Evaluation
IPAL demonstrates a superior balance between stability and plasticity compared to existing state-of-the-art non-exemplar methods like POLO and EFC.
Key Results
- Superior Accuracy: On the CS-CL dataset, IPAL achieved an Average Performance (AP) of 83.07%, a significant margin over the next best non-exemplar method, EFC (71.65%).
- Minimal Forgetting: The model showed remarkable resilience against forgetting. On the Reddit-CL dataset, the Average Forgetting (AF) was a mere -0.27%, indicating that the model retained almost all knowledge of early tasks even after completing the full sequence.
- Theoretical Validation: The results confirm that treating graph data as a collection of weighted topological structures rather than independent points significantly improves the stability of prototypes over time.
Conclusion and Future Work
IPAL provides a robust solution for continual learning on graphs without the need for data storage. By integrating structural importance and distilling relational affinities, it overcomes the primary limitations of feature drift in non-exemplar settings.
Future research directions include extending IPAL to cross-domain scenarios, where tasks may originate from entirely different graph distributions, and adapting the framework for online streaming environments where data arrives continuously rather than in discrete task batches.
Summary updated