What Matters in Graph Class Incremental Learning? An Information Preservation Perspective

Jialu Li, Yu Wang, Pengfei Zhu, Wanyu Lin, Qinghua HuNeurIPS 2024

In the rapidly evolving landscape of machine learning, models are increasingly expected to learn continuously from a stream of data. For graph-based data—like social networks or citation indices—this means a model must learn to classify new types of nodes (classes) as they appear without forgetting the ones it already knows. This challenge is known as Graph Class Incremental Learning (GCIL).

A new paper from researchers at Tianjin University and the Hong Kong Polytechnic University, recently accepted at NeurIPS 2024, dives deep into why current models struggle with "catastrophic forgetting" and proposes a novel framework to fix it.

TL;DR

The researchers introduce GSIP (Graph Spatial Information Preservation), a framework that mitigates catastrophic forgetting in graph models by preserving both semantic and structural information. By decomposing graph data into low- and high-frequency spatial components, GSIP achieves up to a 10% improvement in forgetting metrics over existing state-of-the-art methods.

What Problem Does This Paper Address?

When a Graph Neural Network (GNN) is trained on new classes, its internal representations of old classes often drift, leading to a sharp decline in performance on previous tasks. The authors identify two primary culprits:

  1. Node Semantic Shift: The features (embeddings) of old nodes change so much that the model can no longer distinguish their original categories.
  2. Graph Structure Shift: The learned relationships and topological correlations between nodes become distorted.

While "replay" methods (storing a small subset of old data to retrain the model) help, they often lack a theoretical foundation for what specific information needs to be preserved to stop these shifts.

Methods

The authors propose GSIP, a "hybrid" framework that combines data replay with a sophisticated regularization strategy based on spatial graph properties. The core idea is to treat graph information as a signal that can be decomposed into different frequencies:

  • Low-Frequency Information Preservation (Semantics): This module focuses on the "smooth" parts of the graph signal. It aligns the old representations of replayed nodes with the new representations of those nodes and their neighbors. It also performs a "global match" by ensuring the average representation of the entire replayed graph remains consistent.
  • High-Frequency Information Preservation (Topology): This module captures the "sharp" differences between a node and its immediate neighbors. It encourages the new model to mimic the pairwise similarity (distances) between neighbors that existed in the old model, effectively locking in the learned topology.

Datasets

The framework was rigorously tested on five widely used graph benchmarks:

  • CoraFull, Arxiv, and Reddit: Used for large-scale evaluation with various class-splitting strategies (e.g., unequal base classes vs. equal incremental tasks).
  • Cora and Citeseer: Used for smaller-scale validation.

Key Insights and Ideas

  • Theoretical Grounding: The authors prove that maximizing the "mutual information" between old and new models—the gold standard for information preservation—is mathematically bounded by minimizing the distance between their graph representations.
  • The Power of Neighbors: A key "aha" moment in the paper is that preserving the information of first-hop neighbors is often sufficient to calibrate structural shifts, making the method computationally efficient.
  • Plug-and-Play Versatility: GSIP isn't a standalone model but a framework. It can be seamlessly integrated into existing replay-based designs (like ERGNN, SSM, or CaT) to significantly boost their performance.

Key Results

The quantitative results are impressive. On the large-scale Reddit dataset, adding GSIP to the ERGNN baseline resulted in a 10% increase in the Average Forgetting (AF) metric.

Qualitatively, the researchers used t-SNE visualizations to show that GSIP maintains much tighter, better-separated clusters for old classes even after the model has learned many new tasks.

t-SNE visualizations comparing the baseline, the proposed GSIP method, and the target.

Furthermore, their "shift calibration" analysis shows that GSIP successfully keeps semantic and structural drift low and stable throughout the incremental learning process.

Shift metrics over epochs illustrating semantic and structural drift.

Limitations and Future Work

The authors acknowledge a few limitations:

  • Replay Dependency: The current design is primarily optimized for replay-based incremental learning and hasn't been extensively linked to non-replay methods (like parameter isolation).
  • Task Boundaries: The experiments rely on clear boundaries between tasks (new classes appearing in discrete steps). Real-world scenarios might involve more fluid, boundary-less data streams.

Future work aims to explore more complicated graph signals and settings where task boundaries are not clearly defined.

Paper Citation: Jialu Li, et al. "What Matters in Graph Class Incremental Learning? An Information Preservation Perspective." 38th Conference on Neural Information Processing Systems (NeurIPS 2024). Code available on GitHub.

Summary updated

BibTeX
@inproceedings{li2024what,
  author = {Jialu Li and Yu Wang and Pengfei Zhu and Wanyu Lin and Qinghua Hu},
  title = {{What Matters in Graph Class Incremental Learning? An Information Preservation Perspective}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=tJGX7tpGO8},
}
Figure