Introduction
Continual Graph Learning (CGL) is a critical paradigm for training Graph Neural Networks (GNNs) on evolving data streams, such as social networks, citation indices, or e-commerce interaction graphs. The primary challenge in this field is catastrophic forgetting, where a model loses the ability to perform previous tasks as it adapts to new data. While "replay-based" methods—which store a small subset of historical data—are common, they often suffer from significant information loss and structural imbalances.
This paper introduces CaT (Condense and Train), a novel framework that leverages graph condensation to create a highly informative, balanced memory bank. By shifting the training focus from raw, voluminous data to a synthesized "essence" of the graph, CaT achieves state-of-the-art performance with minimal storage and computational overhead.
The Limitations of Traditional Replay
Existing CGL methods typically maintain a "memory bank" of samples from previous tasks. However, the authors identify two fundamental flaws in this approach:
- Information Loss: Simple random or heuristic sampling often fails to capture the complex topological and feature distributions of the original graph. When the storage budget is tight, the sampled nodes are insufficient to represent the diversity of the historical data.
- Data Imbalance: There is a massive scale mismatch between the large incoming graph of a new task and the tiny memory bank of old tasks. During training, the model naturally over-optimizes for the new, larger dataset, effectively ignoring the historical samples and leading to forgetting despite the presence of a memory bank.
The CaT Framework
CaT addresses these issues through two integrated components: Condensed Graph Memory (CGM) and Training in Memory (TiM).
1. Condensed Graph Memory (CGM)
Instead of selecting a subset of existing nodes, CaT uses Graph Condensation to synthesize a tiny, artificial graph that mimics the statistical properties of the original. This is achieved through Distribution Matching using Maximum Mean Discrepancy (MMD). By ensuring that the embeddings of the synthetic graph (produced by a random GNN encoder) align with those of the original large-scale graph, a handful of synthetic nodes can represent the information density of thousands of real nodes.
2. Training in Memory (TiM)
In a departure from traditional replay methods that train on a mix of raw new data and sampled old data, CaT introduces the Training in Memory strategy. When a new task arrives, it is first condensed into the memory bank. The model is then trained exclusively on this memory bank. Because the condensed versions of both new and old tasks are of a similar scale, the training process remains inherently balanced. This prevents the model from being overwhelmed by the raw size of new data and ensures stable knowledge retention.
Experimental Evaluation
The framework was evaluated on four major graph benchmarks: CoraFull, Arxiv, Reddit, and Products. These datasets were structured into Class-Incremental Learning sequences, which represent the most challenging CGL scenarios.
Key Results
- Superior Accuracy: CaT significantly outperformed existing baselines like SSM and ER-GNN. On the CoraFull dataset, CaT achieved 64.5% accuracy, a massive leap compared to the next best baseline (SSM) at 16.2%.
- Minimal Forgetting: The framework demonstrated exceptional stability. On the Reddit dataset, CaT’s Backward Transfer (BWT)—a measure of forgetting—was nearly zero (-0.2%), while competing methods saw performance drops of 50% or more.
- Extreme Efficiency: CaT reached performance levels near the "Joint" training upper bound (training on all data simultaneously) while using a budget ratio of only 0.01, meaning it only needed to store 1% of the original data volume.
Insights and Future Directions
The success of CaT highlights that synthetic data can be more effective than real data for model memory if it is optimized for information density. Furthermore, the authors demonstrate that the "imbalance bottleneck" is a primary driver of forgetting; by intentionally discarding raw data in favor of condensed versions, the model achieves better long-term stability.
However, challenges remain. There is still a performance gap between CaT and Joint training on very long task sequences (e.g., 35 tasks in CoraFull). Additionally, future research is needed to address class imbalances when the storage budget is extremely restricted (e.g., only 2 nodes per task) and to explore how condensation handles graphs with dense edges connecting different tasks over time.
Summary updated