arXiv:2601.07468cs.AI2026-01ACL被引 12

让大模型记住用户经历的时间脉络,生成更连贯的个性化回复。

Beyond Dialogue Time: Temporal Semantic Memory for Personalized LLM Agents

  • 用语义时间线替代对话时间线,更真实记录记忆发生顺序。
  • 整合连续且相关的记忆形成持续性记忆,提升长期一致性。
  • 适合需要长期记忆和个性化交互的聊天机器人场景。

记忆使大型语言模型(LLM)代理能够感知、存储并利用过往对话中的信息,这对个性化至关重要。然而,现有方法在两个方面未能恰当建模记忆的时间维度:1)时间不准:记忆按对话时间组织,而非实际发生时间;2)时间碎片化:现有方法仅关注点状记忆,丢失了捕捉持久状态和演变模式的持续性信息。为解决这些问题,我们提出时间语义记忆(Temporal Semantic Memory, TSM),一种对点状记忆建模语义时间,并支持构建与利用持续性记忆的框架。在记忆构建阶段,首先建立语义时间线而非对话时间线,然后将时间连续且语义相关的信息合并为持续性记忆。在记忆使用阶段,结合查询的时间意图在语义时间线上进行检索,从而获取时间恰当的持续性记忆,为生成响应提供时间有效、时长一致的上下文。在LongMemEval和LoCoMo上的实验表明,TSM持续优于现有方法,在准确率上最高提升12.2个百分点,验证了该方法的有效性。

原文摘要 · Abstract (English)

Memory enables Large Language Model (LLM) agents to perceive, store, and use information from past dialogues, which is essential for personalization. However, existing methods fail to properly model the temporal dimension of memory in two aspects: 1) Temporal inaccuracy: memories are organized by dialogue time rather than their actual occurrence time; 2) Temporal fragmentation: existing methods focus on point-wise memory, losing durative information that captures persistent states and evolving patterns. To address these limitations, we propose Temporal Semantic Memory (TSM), a memory framework that models semantic time for point-wise memory and supports the construction and utilization of durative memory. During memory construction, it first builds a semantic timeline rather than a dialogue one. Then, it consolidates temporally continuous and semantically related information into a durative memory. During memory utilization, it incorporates the query's temporal intent on the semantic timeline, enabling the retrieval of temporally appropriate durative memories and providing time-valid, duration-consistent context to support response generation. Experiments on LongMemEval and LoCoMo show that TSM consistently outperforms existing methods and achieves up to 12.2% absolute improvement in accuracy, demonstrating the effectiveness of the proposed method.

个性化记忆机制长期记忆大模型

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