arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.03785cs.CLcs.AI
收藏

Membox: 将主题连续性编织到LLM智能体的长期记忆中

Membox: Weaving Topic Continuity into Long-Range Memory for LLM Agents

Tsinghua University(清华大学);Xinjiang University(新疆大学)

Dehao Tao, Guoliang Ma, Yongfeng Huang, Minghu Jiang

AI总结:

提出Membox层次记忆架构,通过主题织机按局部主题组织对话,并通过轨迹织机跨会话链接宏主题轨迹,在LoCoMo和DialSim上显著提升长程记忆检索性能。

摘要:

长期人机对话由主题连续性组织:相邻轮次通常发展相同的目标、计划、问题或事件,而相关活动可能跨远程会话重复出现。然而,许多LLM智能体记忆系统首先将历史分解为孤立的轮次或固定大小的块,然后通过丰富、整合或检索机制进行补偿,这些机制仍然依赖于语义邻近性或片段级记录。这削弱了时间和因果组织,并使记忆访问偏向语义邻近性而非任务或主题级别的连续性。我们引入了\emph{Membox},一种层次记忆架构,将主题连续性实例化为智能体记忆的显式组织层。其\textbf{Topic Loom}逐步将对话流组织成盒子,其中内部轮次遵循相同的局部主题,而其\textbf{Trace Weaver}将跨盒子提取的事件链接成宏主题轨迹,以恢复跨远程会话的重复活动、目标和事实发展。在LoCoMo上,仅使用Topic-Loom的检索比最佳Mem0/A-MEM检索深度设置提高了13.00 F1点(53.95 vs. 40.95),而轨迹扩展检索进一步将F1提高到55.28;使用GPT-4o时,轨迹扩展检索达到59.71 F1。额外的DialSim结果显示,在多参与者对话中添加跨盒子轨迹带来了相同的增益。这些结果表明,局部主题连续性组织和宏主题轨迹扩展改善了超越碎片化记录语义检索的长程记忆。

英文摘要:

Long-term human-agent dialogues are organized by topic continuity: adjacent turns often develop the same goal, plan, problem, or event, while related activities may recur across distant sessions. Yet many LLM agent memory systems first decompose histories into isolated turns or fixed-size chunks, then compensate through enrichment, consolidation, or retrieval mechanisms still tied to semantic proximity or fragment-level records. This weakens temporal and causal organization and biases memory access toward semantic proximity rather than task- or topic-level continuity. We introduce \emph{Membox}, a hierarchical memory architecture that instantiates topic continuity as an explicit organization layer for agent memory. Its \textbf{Topic Loom} incrementally organizes dialogue streams into boxes whose internal turns follow the same local topic, while its \textbf{Trace Weaver} links extracted events across boxes into macro-topic traces that recover recurring activities, goals, and factual developments across distant sessions. On LoCoMo, Topic-Loom-only retrieval improves over the best Mem0/A-MEM retrieval-depth setting by 13.00 F1 points (53.95 vs. 40.95), and trace-expanded retrieval further raises F1 to 55.28; with GPT-4o, trace-expanded retrieval reaches 59.71 F1. Additional DialSim results show the same gain from adding cross-box traces in multi-party dialogue. These results show that local topic-continuity organization and macro-topic trace expansion improve long-range memory beyond semantic retrieval over fragmented records.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑