arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.14523cs.LGcs.AI
收藏

用于动态图建模的检索增强生成

Retrieval Augmented Generation for Dynamic Graph Modeling

Singapore Management University(新加坡管理大学)

Yuxia Wu, Lizi Liao, Yuan Fang

AI总结:

提出RAG4DyG框架,通过时间与上下文感知的对比学习模块和图融合策略,从更广泛的图结构中检索相关示例以增强动态图预测,在直推式和归纳式场景中均提升了预测准确性和适应性。

摘要:

对社交网络、推荐系统和电子商务平台等动态图进行建模,对于捕捉不断演变的关系并随时间推移提供相关见解至关重要。传统方法主要依赖带有时间组件的图神经网络或序列生成模型,这些模型通常狭隘地关注目标节点的历史上下文。这一局限性限制了其适应动态图中新兴模式的能力。为应对这一挑战,我们提出了一种新颖的框架——用于动态图建模的检索增强生成(RAG4DyG),它通过从更广泛的图结构中纳入上下文和时间相关的示例来增强动态图预测。我们的方法包括一个时间和上下文感知的对比学习模块,用于识别高质量的示范,以及一个图融合策略,以将这些示例与历史上下文有效整合。所提出的框架在直推式和归纳式场景中均被设计为有效,确保对未见节点和不断演变的图结构的适应性。在多个真实世界数据集上的大量实验证明了RAG4DyG在提高动态图建模的预测准确性和适应性方面的有效性。代码和数据集已在https://github.com/YuxiaWu/RAG4DyG公开发布。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑