TRACE: State-Aware Query Processing over Temporal Evidence Graphs for Conversational Data

Maolin Wang, Yu Wang, Zichun Liu, Baiyuan Qiu, Chenbin Zhang +3 more
7/1/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Conversational data is increasingly used as a persistent source of user state for long-running assistants and AI agents. However, querying this data remains challenging because conversations naturally evolve: plans are revised, preferences change, and later messages frequently supersede or contradict earlier information.

Show full abstract

Existing long-memory pipelines largely treat memories as independent text or vector objects. This approach often retrieves semantically similar but stale evidence, offering limited support for state-aware reasoning. To address this problem, we present TRACE, a query processing framework over temporal evidence graphs for evolving conversational data. TRACE models conversations as a hierarchical graph spanning events, sessions, and topics, enriched with typed temporal, causal, update, and contradiction relations. Crucially, the framework maintains validity annotations so obsolete facts remain accessible for historical queries but are discounted for current-state answers. At query time, TRACE combines vector-based note retrieval with graph-guided evidence search, generating validity-aware support paths and a hybrid context for answer generation. This design separates lexical recall from evidence reconstruction, enabling bounded query-time reasoning over long conversational histories. Experiments on long-conversation query-answering (QA) benchmarks show that TRACE improves temporal and multi-hop reasoning, with ablations highlighting the importance of hierarchy, update-aware seeding, and path-grounded evidence.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026trace,
  title  = {TRACE: State-Aware Query Processing over Temporal Evidence Graphs for Conversational Data},
  author = {Maolin Wang and Yu Wang and Zichun Liu and Baiyuan Qiu and Chenbin Zhang and Jiguang Shen and Haoran Yang and Hao Miao},
  year   = {2026},
  eprint = {2607.00339},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.00339v1}
}

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/2607.00339.svg)](https://codeofpaper.com/paper/2607.00339)

Discussion