Retrieval Augmented Generation for Dynamic Graph Modeling

📅 2024-08-26
🏛️ arXiv.org
📈 Citations: 3
Influential: 0
📄 PDF
🤖 AI Summary
Traditional dynamic graph modeling methods rely solely on target node histories, limiting their adaptability to emerging structures and evolutionary patterns. To address this, we introduce retrieval-augmented generation (RAG) into dynamic graph learning—the first such application—proposing a temporal-context-aware contrastive learning module and a multi-granularity graph fusion strategy. Our method retrieves semantically and temporally relevant high-quality historical examples globally to jointly enhance dynamic graph neural networks and inductive representation learning, thereby unifying support for both transductive and inductive generalization. Evaluated on multiple real-world dynamic graph datasets, our approach achieves significant improvements in link prediction and event prediction accuracy, while demonstrating strong robustness to unseen nodes and structural evolution. The code and datasets are publicly available.

Technology Category

Application Category

📝 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 Dynamic 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.
Problem

Research questions and friction points this paper is trying to address.

Modeling evolving relationships in dynamic graphs effectively
Overcoming limitations of traditional historical context-focused methods
Enhancing adaptability to new patterns in dynamic graphs
Innovation

Methods, ideas, or system contributions that make the work stand out.

Retrieval-Augmented Generation for dynamic graphs
Time-aware contrastive learning module
Graph fusion strategy for integration
🔎 Similar Papers
No similar papers found.
Y
Yuxia Wu
Singapore Management University
Y
Yuan Fang
Singapore Management University
Lizi Liao
Lizi Liao
Singapore Management University
Conversational AgentsMultimedia AnalysisText Mining