arXiv:2607.00339cs.CL2026-07

让对话记忆会随时间更新,回答更准。

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

论文配图:TRACE: State-Aware Query Processing over Temporal Evidence Graphs for Conversational Data
图 1 · 摘自论文原文
  • 把对话建模成带时间与因果关系的分层图
  • 旧信息可查但不参与当前判断,避免过时干扰
  • 适合需要长期记忆的聊天助手和智能体

对话数据正成为长周期助手与智能体维持用户状态的重要来源。然而,对话天然具有演化性:计划会修改,偏好会变化,后续消息常推翻或矛盾早期信息。现有长记忆系统多将记忆视为独立文本或向量,易召回语义相似但过时的证据,难以支持状态感知推理。为此,我们提出TRACE,一个面向动态对话数据的时序证据图查询处理框架。该框架将对话建模为跨越事件、会话与话题的分层图,包含类型化的时序、因果、更新与矛盾关系。关键在于,系统维护有效性标注,使过时事实仍可追溯,但对当前状态答案不予采纳。查询时,TRACE结合向量检索与图引导的证据搜索,生成带有效性的支持路径,并构建混合上下文用于答案生成。此设计分离词汇召回与证据重构,实现对长对话历史的有界推理。在长对话问答基准测试中,TRACE显著提升时序与多跳推理性能;消融实验验证了层级结构、更新感知种子与路径驱动证据的重要性。

原文摘要 · Abstract (English)

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. 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.

对话系统时序推理知识图谱长程记忆

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