arXiv:2507.22917cs.CLcs.AI2025-07被引 5

让RAG学会追踪时间线,回答随时间演变的问题。

Reading Between the Timelines: RAG for Answering Diachronic Questions

  • 拆解问题中的主体和时间范围,按时间连贯性检索证据。
  • 在金融新闻数据集上准确率比传统RAG高13%到27%。
  • 适合需要长期趋势分析的金融、历史类应用。

尽管检索增强生成(RAG)在向大语言模型注入静态事实知识方面表现优异,但在处理需追踪实体与现象随时间演变的纵向问题时存在明显缺陷。这是因为传统的语义驱动检索方法无法同时获取主题相关且时间连贯的证据。为此,我们提出一种新框架,从根本上重构RAG流程以融入时间逻辑。方法首先将用户查询分解为核心主体与时间窗口,再通过专用检索器在语义匹配中校准时间相关性,确保收集到覆盖整个查询时段的连续证据集。为严谨评估该能力,我们还构建了分析型历时问答基准(ADQAB),基于真实与合成金融新闻混合语料。在ADQAB上的实证结果表明,该方法在答案准确率上显著提升,较标准RAG提高13%至27%。本研究为实现具备复杂现实问题演化分析能力的RAG系统提供了可验证路径。数据集与代码已公开于https://github.com/kwunhang/TA-RAG。

原文摘要 · Abstract (English)

While Retrieval-Augmented Generation (RAG) excels at injecting static, factual knowledge into Large Language Models (LLMs), it exhibits a critical deficit in handling longitudinal queries that require tracking entities and phenomena across time. This blind spot arises because conventional, semantically-driven retrieval methods are not equipped to gather evidence that is both topically relevant and temporally coherent for a specified duration. We address this challenge by proposing a new framework that fundamentally redesigns the RAG pipeline to infuse temporal logic. Our methodology begins by disentangling a user's query into its core subject and its temporal window. It then employs a specialized retriever that calibrates semantic matching against temporal relevance, ensuring the collection of a contiguous evidence set that spans the entire queried period. To enable rigorous evaluation of this capability, we also introduce the Analytical Diachronic Question Answering Benchmark (ADQAB), a challenging evaluation suite grounded in a hybrid corpus of real and synthetic financial news. Empirical results on ADQAB show that our approach yields substantial gains in answer accuracy, surpassing standard RAG implementations by 13% to 27%. This work provides a validated pathway toward RAG systems capable of performing the nuanced, evolutionary analysis required for complex, real-world questions. The dataset and code for this study are publicly available at https://github.com/kwunhang/TA-RAG.

RAG时间推理问答系统

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