RAG Meets Temporal Graphs: Time-Sensitive Modeling and Retrieval for Evolving Knowledge

Jiale Han, Austin Cheung, Yubai Wei, Zheng Yu, Xusheng Wang, Bing Zhu, Yi YangarXiv 2025 · DOI

TL;DR

Temporal GraphRAG (TG-RAG) is a novel framework that equips Retrieval-Augmented Generation systems with a "bi-level temporal graph" to handle knowledge that evolves over time. By treating time as a structural element rather than just a text attribute, it significantly improves the accuracy of time-sensitive queries while reducing the computational cost of incremental data updates by up to 95%.

What Problem Does This Paper Address?

Current RAG systems suffer from "temporal blindness." When an LLM retrieves information from a massive corpus, it often struggles with facts that change over time—like a company’s quarterly revenue or a shifting legal precedent.

The authors identify two primary hurdles:

  1. Semantic Blur: In traditional vector-based RAG, the embeddings for "Company X revenue in 2021" and "Company X revenue in 2022" are nearly identical, leading the retriever to grab the wrong year's data.
  2. Static Indexing: Most RAG evaluations assume a static dataset. In the real world, data flows in constantly. Re-indexing an entire knowledge graph every time a new document arrives is prohibitively expensive.
Figure 1: Challenges in current RAG systems including semantic blur and time-agnostic representations.

Methods

The researchers propose TG-RAG, which organizes information into a bi-level temporal graph:

  • Lower Layer (Temporal Knowledge Graph): Instead of static triples (Subject, Relation, Object), it uses quadruples that include a timestamp. If a relationship changes over time, it is represented as distinct, parallel edges rather than a single overwritten value.
  • Upper Layer (Hierarchical Time Graph): This layer organizes time into a tree (Year $\rightarrow$ Quarter $\rightarrow$ Month $\rightarrow$ Day). Each "time node" contains a summary of the events and trends occurring in that window.
Figure 2: The TG-RAG architecture featuring bi-level indexing and dynamic subgraph retrieval.

The Workflow: 1. Incremental Updates: When new data arrives, TG-RAG only generates summaries for the new "leaf" time nodes and updates their direct ancestors, avoiding a full system rebuild. 2. Query-Centric Retrieval: When a user asks a question, the system first uses an LLM to identify the relevant time scope. 3. Dynamic Subgraph Positioning: It then isolates a specific "slice" of the graph that matches both the semantic meaning and the time window of the query. 4. Local & Global Retrieval: It combines fine-grained facts (via Personalized PageRank on the subgraph) with high-level temporal summaries to generate a comprehensive answer.

Datasets

The authors introduced a new benchmark called ECT-QA, derived from Earnings Call Transcripts (2020–2024).

  • ECT-QA: Contains 1,105 specific multi-hop queries and 100 abstract "trend" queries. It is specifically designed to test whether a system can distinguish between different time periods and reason across them.
  • Generalization Sets: To prove the system isn't a "one-trick pony," they also tested it on standard benchmarks like NaturalQuestions, 2WikiMultiHopQA, and HotpotQA.

Key Insights and Ideas

  • Time as a First-Class Citizen: By making time a structural component of the graph (the hierarchy), the system prevents the "temporal confusion" common in flat vector databases.
  • Surgical Updates: The hierarchical design is "update-friendly." In their tests, updating the system with new 2024 data required only 1.6 million prompt tokens, compared to 30 million for Microsoft’s GraphRAG, which requires regenerating all community summaries.
  • Multi-Granularity Reasoning: The system can answer both "What was the revenue in Q3?" (local) and "How did the company navigate challenges across 2023?" (global) by traversing different levels of the time hierarchy.

Key Results

  • Superior Accuracy: On the ECT-QA dataset, TG-RAG achieved a Correctness score of 0.599, significantly outperforming NaiveRAG (0.385) and GraphRAG (0.405).
  • Efficiency: During incremental updates, TG-RAG maintained stable performance on old queries while successfully integrating new knowledge at a fraction of the cost of its competitors.
  • Robustness: The system showed strong generalization, even outperforming specialized baselines on non-temporal datasets like HotpotQA (F1 score of 0.757).

Limitations and Future Work

  • Extraction Dependency: The system relies heavily on the LLM's ability to accurately extract quadruples (entities, relations, and timestamps) from raw text. If the extraction phase misses a date, the graph structure suffers.
  • Fixed Hierarchy: The current time hierarchy (Year-Quarter-Month-Day) is optimized for financial and news data. Adapting this to domains with different temporal resolutions might require custom configurations.
  • Future Directions: The authors suggest exploring more complex temporal logic (e.g., "What happened during the transition between CEO A and CEO B?") and further optimizing the graph's structural compactness.

Summary updated

BibTeX
@misc{han2025rag,
  author = {Jiale Han and Austin Cheung and Yubai Wei and Zheng Yu and Xusheng Wang and Bing Zhu and Yi Yang},
  title = {{RAG Meets Temporal Graphs: Time-Sensitive Modeling and Retrieval for Evolving Knowledge}},
  year = {2025},
  eprint = {2510.13590},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.13590},
}
Figure