arXiv:2507.13396cs.IRcs.CL2025-07被引 12

让大模型学会按时间顺序推理事件,解决传统问答系统对时间敏感问题的短板。

DyG-RAG: Dynamic Graph Retrieval-Augmented Generation with Event-Centric Reasoning

  • 用动态事件单元显式记录事件内容和时间点,消除时间模糊性
  • 构建事件图谱实现跨事件的时序与因果推理,支持多跳分析
  • 通过时间链式思考生成符合时间逻辑的答案,适合复杂时间问答

图检索增强生成已成为将外部结构化知识融入大语言模型的有效范式。然而,现有图RAG方法在时间推理上表现不佳,因其无法建模现实事件的演化结构与顺序。本文提出DyG-RAG,一种以事件为中心的动态图检索增强生成框架,旨在捕捉并推理嵌入于非结构化文本中的时序知识。为消除传统检索单元的时间歧义,DyG-RAG引入动态事件单元(DEUs),显式编码语义内容与精确时间锚点,实现准确可解释的时间感知检索。为捕捉事件间的时序与因果依赖,DyG-RAG通过共享实体且时间接近的DEUs构建事件图,支持高效有意义的多跳推理。为确保生成结果时序一致,DyG-RAG设计事件时间线检索管道,通过时间感知遍历获取事件序列,并提出时间链式思考策略,实现时间锚定的回答生成。该统一流程使DyG-RAG能检索连贯、有序的事件序列,回答标准RAG系统无法处理的复杂时间敏感问题。在多个时间问答基准上的实验表明,DyG-RAG显著提升三类典型时间推理问题的准确率与召回率,为更忠实、时序感知的生成开辟新路径。代码已开源:https://github.com/RingBDStack/DyG-RAG。

原文摘要 · Abstract (English)

Graph Retrieval-Augmented Generation has emerged as a powerful paradigm for grounding large language models with external structured knowledge. However, existing Graph RAG methods struggle with temporal reasoning, due to their inability to model the evolving structure and order of real-world events. In this work, we introduce DyG-RAG, a novel event-centric dynamic graph retrieval-augmented generation framework designed to capture and reason over temporal knowledge embedded in unstructured text. To eliminate temporal ambiguity in traditional retrieval units, DyG-RAG proposes Dynamic Event Units (DEUs) that explicitly encode both semantic content and precise temporal anchors, enabling accurate and interpretable time-aware retrieval. To capture temporal and causal dependencies across events, DyG-RAG constructs an event graph by linking DEUs that share entities and occur close in time, supporting efficient and meaningful multi-hop reasoning. To ensure temporally consistent generation, DyG-RAG introduces an event timeline retrieval pipeline that retrieves event sequences via time-aware traversal, and proposes a Time Chain-of-Thought strategy for temporally grounded answer generation. This unified pipeline enables DyG-RAG to retrieve coherent, temporally ordered event sequences and to answer complex, time-sensitive queries that standard RAG systems cannot resolve. Extensive experiments on temporal QA benchmarks demonstrate that DyG-RAG significantly improves the accuracy and recall of three typical types of temporal reasoning questions, paving the way for more faithful and temporal-aware generation. DyG-RAG is available at https://github.com/RingBDStack/DyG-RAG.

时间推理图检索动态图链式思考

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。