TiMem:用于长时域对话代理的时序-层次记忆巩固
TiMem: Temporal-Hierarchical Memory Consolidation for Long-Horizon Conversational Agents
AI总结:
TiMem通过时序记忆树实现对话记忆的系统性巩固,提升长时域个性化效果,实现75.30%和76.88%的基准测试准确率。
摘要:
长时域对话代理需管理快速增长的交互历史,但大型语言模型的有限上下文窗口限制了其扩展性。现有记忆框架在层级结构上支持有限,导致记忆碎片化和长时域个性化不稳定。TiMem是一种时序-层次记忆框架,通过时序记忆树(TMT)将对话组织成系统化的记忆巩固过程,从原始对话观察到逐步抽象的个性表示。TiMem具有三个核心特性:(1)通过TMT实现时序-层次组织;(2)语义引导的巩固,允许在不微调的情况下跨层级整合记忆;(3)复杂性感知的记忆检索,平衡不同复杂度查询的精度和效率。在一致的评估设置下,TiMem在两个基准测试中达到75.30%(LoCoMo)和76.88%(LongMemEval-S)的准确率,优于所有评估基线,同时在LoCoMo上将召回的记忆长度减少52.20%。流形分析显示在LoCoMo上存在清晰的个性分离,在LongMemEval-S上分散性降低。总体而言,TiMem将时间连续性作为长时域记忆在对话代理中的首要组织原则。代码可在https://github.com/TiMEM-AI/timem获取。
英文摘要:
Long-horizon conversational agents have to manage ever-growing interaction histories that quickly exceed the finite context windows of large language models (LLMs). Existing memory frameworks provide limited support for temporally structured information across hierarchical levels, often leading to fragmented memories and unstable long-horizon personalization. We present TiMem, a temporal--hierarchical memory framework that organizes conversations through a Temporal Memory Tree (TMT), enabling systematic memory consolidation from raw conversational observations to progressively abstracted persona representations. TiMem is characterized by three core properties: (1) temporal--hierarchical organization through TMT; (2) semantic-guided consolidation that enables memory integration across hierarchical levels without fine-tuning; and (3) complexity-aware memory recall that balances precision and efficiency across queries of varying complexity. Under a consistent evaluation setup, TiMem achieves state-of-the-art accuracy on both benchmarks, reaching 75.30% on LoCoMo and 76.88% on LongMemEval-S. It outperforms all evaluated baselines while reducing the recalled memory length by 52.20% on LoCoMo. Manifold analysis indicates clear persona separation on LoCoMo and reduced dispersion on LongMemEval-S. Overall, TiMem treats temporal continuity as a first-class organizing principle for long-horizon memory in conversational agents. The code is available at https://github.com/TiMEM-AI/timem.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。