TL;DR
Graph Continual Learning (GCL) often fails because replaying a few sampled nodes from past tasks misses the broader structural context and creates a severe data imbalance. DeLoMe solves this by synthesizing a tiny, privacy-preserving "lossless" memory graph via gradient matching and pairing it with a debiased loss function that prevents new data from overwhelming the old. The result is a highly compact memory replay framework that achieves state-of-the-art accuracy even under tight storage budgets.
What Problem Does This Paper Address?
Real-world graphs—like social networks, financial transaction webs, and e-commerce recommendation systems—expand continuously. Training Graph Neural Networks (GNNs) on this ever-changing data is notoriously difficult due to catastrophic forgetting: when adapted to new data, the network rapidly overwrites what it learned from historical data.
While standard machine learning mitigates this by saving and "replaying" a small buffer of old samples, graphs introduce unique hurdles:
- Structural Loss: Simply sampling a few nodes or edges discards the global topology and holistic semantics of the original graph.
- Privacy Risks: Storing raw historical user data (like purchase histories) violates privacy constraints.
- Class Imbalance: Because the memory buffer is tiny compared to the massive influx of new graph data, GNNs become heavily biased toward the current task, causing performance on past tasks to plummet.
The authors introduce DeLoMe (Debiased Lossless Memory replay) to simultaneously tackle structural preservation, privacy, and class imbalance in graph continual learning.
Methods
DeLoMe splits the continual learning process into two main phases: Lossless Memory Learning and Debiased Memory Replay.
1. Lossless Memory Learning
Instead of storing real nodes, DeLoMe uses graph condensation to generate a small set of synthetic node representations. It optimizes these synthetic nodes using one-step gradient matching.
The core idea is to ensure that the gradient of a GNN trained on the synthetic graph matches the gradient of the same GNN trained on the original, massive graph. By mimicking this training trajectory, the tiny synthetic graph implicitly encodes the holistic structure and attributes of the full graph. Furthermore, because the nodes are entirely synthetic, the original data remains private.
2. Debiased Memory Replay
To combat the extreme data imbalance between the massive new graph and the tiny synthetic memory buffer, the authors introduce a debiased GCL loss function.
Instead of treating all classes equally during replay, DeLoMe applies a logit adjustment based on class frequencies. It injects a pairwise margin into the softmax cross-entropy loss, effectively downscaling the prediction confidence of dominant new classes and boosting the minority memory classes. This prevents the model from being overwhelmed by the current task.
Datasets
The framework was evaluated using the standard GCL benchmark across four diverse, real-world datasets:
- CoraFull & ArXiv: Citation networks where nodes are papers and edges are citations.
- Reddit: A social network dataset where nodes represent posts and edges link users commenting on both.
- Products: An Amazon co-purchasing network (the largest dataset tested, containing over 2.4 million nodes).
Experiments were conducted under both Class-Incremental Learning (CIL) (highly challenging, no task indicators during testing) and Task-Incremental Learning (TIL) settings.
Key Insights and Ideas
- Structure via Features: In the synthetic memory graph, the authors fix the adjacency matrix as an identity matrix (meaning synthetic nodes have no explicit edges between each other). Remarkably, the gradient matching process forces the synthetic node features to implicitly absorb the global topological context, proving explicit edge storage isn't strictly necessary for effective replay.
- Distribution Preservation: Visualizations (via t-SNE) reveal that DeLoMe's synthetic nodes preserve the distinct spatial distributions of different classes far better than random sampling or topology-aware sparsification methods like SSM.
- Stability Under Tight Budgets: DeLoMe maintains high accuracy even when the memory budget is slashed to just 5 or 10 nodes per class, whereas traditional sampling methods degrade rapidly under tight constraints.
Key Results
DeLoMe consistently achieved state-of-the-art performance, frequently matching or even outperforming the "Joint" training oracle (an upper bound model that trains on all historical data simultaneously).
- Class-Incremental Learning (CIL): On the CoraFull dataset, DeLoMe achieved an Average Accuracy (AA) of 81.0%, outperforming the previous best learnable memory method, CaT (80.4%), and drastically beating sampling-based SSM (75.4%).
- Task-Incremental Learning (TIL): On ArXiv, DeLoMe achieved 90.4% accuracy, actually surpassing the Joint training baseline (90.3%) due to its robust debiasing mechanism.
Limitations and Future Work
While highly effective, the authors note a couple of limitations:
- Scale vs. Informative Nodes: On the massive Products dataset, DeLoMe's debiased component was slightly less effective, falling just behind CaT. The authors attribute this to the presence of less informative nodes in massive datasets, which skews the class-frequency logit adjustment.
- Computational Overhead: Synthesizing the memory requires optimizing node features via gradient matching, which takes significantly more time during the training phase than parameter-free node sampling methods (e.g., ~28 seconds per task for DeLoMe vs. ~0.5 seconds for SSM on the Products dataset). Future work could target accelerating this condensation step.
Summary updated