TL;DR
This paper identifies "structural shift"—the change in a node's local neighborhood as a graph grows—as a primary driver of catastrophic forgetting in Graph Incremental Learning (GIL). The authors introduce Structural-Shift-Risk-Mitigation (SSRM), a plug-and-play regularization method that encourages Graph Neural Networks (GNNs) to learn representations invariant to these structural changes, significantly boosting the performance of existing incremental learning frameworks.
What Problem Does This Paper Address?
Incremental learning allows models to acquire new knowledge sequentially without forgetting what they previously learned. While well-studied for images and text, doing this on graphs is uniquely difficult.
In Node-wise Graph Incremental Learning (NGIL), we typically assume an "evolving" graph where new nodes and edges appear over time (e.g., new papers in a citation network or new users in a social network). Most existing research focuses on a transductive setting, where the graph structure is fixed. However, in the real world, the graph is inductive: when new nodes arrive, they form edges with old nodes.
This creates a structural shift. Because GNNs rely on a node's local neighborhood (its "ego-graph") to make predictions, adding new edges changes the input distribution for old nodes. Even if an old node's features remain the same, its context has changed, leading the model to "forget" how to classify it correctly.
Methods
The authors tackle this by first providing a formal mathematical bound on Catastrophic Forgetting Risk (CFR). They prove that the risk of forgetting is directly related to the magnitude of the structural shift, measured using Maximum Mean Discrepancy (MMD)—a metric that quantifies the distance between two probability distributions.
To solve this, they propose SSRM (Structural-Shift-Risk-Mitigation). Instead of just trying to keep model weights from changing (a standard approach), SSRM focuses on the latent space. It adds a regularization term to the loss function that minimizes the MMD between:
- The representations of old nodes in the previous graph structure.
- The representations of those same nodes in the current, expanded graph structure.
By minimizing this distance, the model is forced to find a latent space where the structural shift doesn't interfere with the classification logic. SSRM is designed to be a flexible regularizer that can be added to existing state-of-the-art (SOTA) GIL frameworks like Experience Replay (ER-GNN) or Topology-aware Weight Preserving (TWP).
Datasets
The researchers evaluated their method on three widely used benchmark datasets for node classification, adapted into a task-incremental learning (Task-IL) setting:
- OGB-Arxiv: A massive citation network (169k nodes) divided into 20 tasks.
- Reddit: A social network dataset (227k nodes) divided into 20 tasks.
- CoraFull: A citation network (19k nodes) divided into 35 tasks.
In these settings, the model only sees the graph induced by the current and previous tasks, simulating a real-world evolving system.
Key Insights and Ideas
- Structure is Input: In GNNs, the graph structure isn't just a container; it's a primary feature. The paper's "aha moment" is realizing that graph evolution is essentially a form of covariate shift for existing data.
- Latent Invariance over Weight Rigidity: Traditional incremental learning often tries to "freeze" important weights. SSRM suggests it's more effective to allow weights to change as long as the resulting node embeddings remain stable despite neighborhood changes.
- Theoretical Grounding: The authors don't just show that it works; they provide a rigorous proof linking the MMD of structural shifts to the upper bound of forgetting risk, providing a solid theoretical foundation for future GIL research.
Key Results
The addition of SSRM consistently improved performance across all datasets and frameworks:
- Performance Boost: On the OGB-Arxiv dataset, adding SSRM to the ER-GNN framework increased the Final Average Performance (FAP) from 86.5% to 91.2%.
- Reduced Forgetting: In the Reddit dataset, SSRM reduced the Final Average Forgetting (FAF) for the GEM framework from -17.7% to -15.2%.
- Forward Transfer: Interestingly, SSRM often improved the model's ability to learn new tasks (forward transfer) because the learned latent space was more robust and generalized better to the evolving graph structure.
Limitations and Future Work
- Task Boundaries: The current formulation assumes clear boundaries between tasks (e.g., Task A ends, Task B begins). Real-world streams are often more fluid, and the authors suggest exploring settings without clear task boundaries.
- Computational Overhead: While the authors note that SSRM only adds about 5% to the total computation time, calculating MMD on extremely large graphs could still be a bottleneck without further kernel approximation techniques.
- Beyond Node Classification: The study focuses on node classification. The authors identify extending this analysis to other graph tasks, such as link prediction, as a promising future direction.
Summary updated