Reading Between the Timelines: RAG for Answering Diachronic Questions

Kwun Hang Lau, Ruiyuan Zhang, Weijie Shi, Xiaofang Zhou, Xiaojun Cheng
7/21/2025
cs.CLcs.AIcs.IR

Official code: kwunhang/TA-RAG (5 stars, last commit 2026-01-23).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

kwunhang/TA-RAGOfficial100%

Time Aware RAG for Answering Diachronic Questions. RAG + Temporal + Time-aware + Time-sensitive.

51Python, Jupyter NotebookJul 19, 20259 months agoNOASSERTION

Similar Papers

Cite this paper

@article{lau2025reading,
  title  = {Reading Between the Timelines: RAG for Answering Diachronic Questions},
  author = {Kwun Hang Lau and Ruiyuan Zhang and Weijie Shi and Xiaofang Zhou and Xiaojun Cheng},
  year   = {2025},
  eprint = {2507.22917},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.22917v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.22917.svg)](https://codeofpaper.com/paper/2507.22917)

Discussion