Streaming Graph Neural Networks with Generative Replay
Junshan Wang, Wenhao Zhu, Guojie Song, Liang Wang
Abstract
Training Graph Neural Networks (GNNs) incrementally is a particularly urgent problem, because real-world graph data usually arrives in a streaming fashion, and inefficiently updating of the models results in out-of-date embeddings, thus degrade its performance in downstream tasks. Traditional incremental learning methods will gradually forget old knowledge when learning new patterns, which is the catastrophic forgetting problem. Although saving and revisiting historical graph data alleviates the problem, the storage limitation in real-world applications reduces the amount of saved data, causing GNN to forget other knowledge. In this paper, we propose a streaming GNN based on generative replay, which can incrementally learn new patterns while maintaining existing knowledge without accessing historical data. Specifically, our model consists of the main model (GNN) and an auxiliary generative model. The generative model based on random walks with restart can learn and generate fake historical samples (i.e., nodes and their neighborhoods), which can be trained with real data to avoid the forgetting problem. Besides, we also design an incremental update algorithm for the generative model to maintain the graph distribution and for GNN to capture the current patterns. Our model is evaluated on different streaming data sets. The node classification results prove that our model can update the model efficiently and achieve comparable performance to model retraining. Code is available at https://github.com/Junshan-Wang/SGNN-GR.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get a284bb2a-0008-4158-ab53-0e5ccd58e938Cited by top-tier papers15
- Dynamically Expandable Graph Convolution for Streaming RecommendationBowei He, Xu He, Yingxue Zhang, Ruiming Tang et al.WWW 2023 · 60 citations
- Pattern Expansion and Consolidation on Evolving Graphs for Continual Traffic PredictionBinwu Wang, Yudong Zhang, Xu Wang, Pengkun Wang et al.KDD 2023 · 38 citations
- DSLR: Diversity Enhancement and Structure Learning for Rehearsal-based Graph Continual LearningSeungyoon Choi, Wonjoong Kim, Sungwon Kim, Yeonjun In et al.WWW 2024 · 16 citations
- GPT4Rec: Graph Prompt Tuning for Streaming RecommendationPeiyan Zhang, Yuchen Yan, Xi Zhang, Liying Kang et al.SIGIR 2024 · 15 citations
- Topology-aware Embedding Memory for Continual Learning on Expanding NetworksXikun Zhang, Dongjin Song, Yixin Chen, Dacheng TaoKDD 2024 · 12 citations
Related papers
- Overcoming Catastrophic Forgetting in Graph Neural Networks with Experience ReplayFan Zhou, Chengtai CaoAAAI 2021 · 175 citations
- STG-DGR: Fraud Detection on Streaming Transaction Graphs with Diffusion-based Generative ReplayRui Ou, Kun Zhu, Nana Zhang, Jiangtong Li et al.WWW 2026
- Exploring Rationale Learning for Continual Graph LearningLei Song, Jiaxing Li, Qinghua Si, Shihan Guan et al.AAAI 2025 · 2 citations
- Towards Effective Open-set Graph Class-incremental LearningJiazhen Chen, Zheng Ma, Sichao Fu, Mingbin Feng et al.ACM MM 2025
- Disentangle-based Continual Graph Representation LearningXiaoyu Kou, Yankai Lin, Shaobo Liu, Peng Li et al.EMNLP 2020 · 26 citations
