Retrieval Augmented Generation for Dynamic Graph Modeling
Yuxia Wu, Lizi Liao, Yuan Fang
Abstract
Modeling dynamic graphs, such as those found in social networks, recommendation systems, and e-commerce platforms, is crucial for capturing evolving relationships and delivering relevant insights over time. Traditional approaches primarily rely on graph neural networks with temporal components or sequence generation models, which often focus narrowly on the historical context of target nodes. This limitation restricts the ability to adapt to new and emerging patterns in dynamic graphs. To address this challenge, we propose a novel framework, Retrieval-Augmented Generation for Dy namic Graph modeling (RAG4DyG ), which enhances dynamic graph predictions by incorporating contextually and temporally relevant examples from broader graph structures. Our approach includes a time- and context-aware contrastive learning module to identify high-quality demonstrations and a graph fusion strategy to effectively integrate these examples with historical contexts. The proposed framework is designed to be effective in both transductive and inductive scenarios, ensuring adaptability to previously unseen nodes and evolving graph structures. Extensive experiments across multiple real-world datasets demonstrate the effectiveness of RAG4DyG in improving predictive accuracy and adaptability for dynamic graph modeling. The code and datasets are publicly available at https://github.com/YuxiaWu/RAG4DyG.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Measuring and Relieving the Over-Smoothing Problem for Graph Neural Networks from the Topological View cites EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
- Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks cites EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
- Inductive Representation Learning in Temporal Networks via Causal Anonymous Walks cites Inductive representation learning on temporal graphs
Cited by top-tier papers1
Builds on24
- EvolveGCN: Evolving Graph Convolutional Networks for Dynamic GraphsAldo Pareja, Giacomo Domeniconi, Jie Chen, Tengfei Ma et al.AAAI 2020 · 1,429 citations
- Measuring and Relieving the Over-Smoothing Problem for Graph Neural Networks from the Topological ViewDeli Chen, Yankai Lin, Wei Li, Peng Li et al.AAAI 2020 · 1,353 citations
- Inductive representation learning on temporal graphsDa Xu, Chuanwei Ruan, Evren Körpeoglu, Sushant Kumar et al.ICLR 2020 · 901 citations
- G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question AnsweringXiaoxin He, Yijun Tian, Yifei Sun, Nitesh V. Chawla et al.NeurIPS 2024 · 384 citations
- Inductive Representation Learning in Temporal Networks via Causal Anonymous WalksYanbang Wang, Yen-Yu Chang, Yunyu Liu, Jure Leskovec et al.ICLR 2021 · 326 citations
Related papers
- Task-Aware Retrieval Augmentation for Dynamic RecommendationZhen Tao, Xinke Jiang, Qingshuai Feng, Haoyu Zhang et al.AAAI 2026
- Dynamic Graph Evolution Learning for RecommendationHaoran Tang, Shiqing Wu, Guandong Xu, Qing LiSIGIR 2023 · 39 citations
- CPDG: A Contrastive Pre-Training Method for Dynamic Graph Neural NetworksYuanchen Bei, Hao Xu, Sheng Zhou, Huixuan Chi et al.ICDE 2024 · 8 citations
- Node-Time Conditional Prompt Learning in Dynamic GraphsXingtong Yu, Zhenghao Liu, Xinming Zhang, Yuan FangICLR 2025
- Streaming Graph Neural NetworksYao Ma, Ziyi Guo, Zhaochun Ren, Jiliang Tang et al.SIGIR 2020 · 210 citations
