arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.19595cs.IRcs.CL
收藏

All-Mem: 通过动态拓扑演化实现智能体终身记忆

All-Mem: Agentic Lifelong Memory via Dynamic Topology Evolution

Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing(北京未来区块链与隐私计算先进创新中心);Beihang University(北航);Tsinghua University(清华大学);Chalmers University of Technology(查尔姆斯理工大学)

Can Lv, Heng Chang, Shengyu Tao, Mingju Chen, Zhaoxin Fan, Ziwei Zhang, Yuchen Guo, Shiji Zhou

AI总结:

提出All-Mem框架,通过在线/离线结合的非破坏性拓扑结构记忆库,解决终身交互代理中历史增长导致的检索冗余和噪声问题,在LoCoMo和LongMemEval-s上提升检索与问答性能。

摘要:

终身交互代理期望在数月或数年内协助用户,这需要在固定上下文和延迟预算下持续写入长期记忆,同时为每个新查询检索正确的证据。现有的记忆系统随着历史增长往往会退化,产生冗余、过时或噪声的检索上下文。我们提出\textbf{All-Mem},一个在线/离线终身记忆框架,通过显式的、非破坏性的整合维护一个拓扑结构化的记忆库,避免了基于摘要压缩的典型不可逆信息损失。在在线操作中,它将检索锚定在有界可见表面上以保持粗略搜索成本有界。定期离线时,LLM诊断器提出置信度评分的拓扑编辑,通过三个算子(拆分、合并和更新)执行门控,同时保留不可变证据以保持可追溯性。在查询时,类型化链接支持从活动锚点到存档证据的跳数有界、预算可控的扩展。在\textbf{LoCoMo}和\textbf{LongMemEval-s}上的实验表明,与代表性基线相比,检索和问答性能得到提升。代码可在该https URL获取。

英文摘要:

Lifelong interactive agents are expected to assist users over months or years, which requires continually writing long term memories while retrieving the right evidence for each new query under fixed context and latency budgets. Existing memory systems often degrade as histories grow, yielding redundant, outdated, or noisy retrieved contexts. We present \textbf{All-Mem}, an online/offline lifelong memory framework that maintains a topology structured memory bank via explicit, non destructive consolidation, avoiding the irreversible information loss typical of summarization based compression. In online operation, it anchors retrieval on a bounded visible surface to keep coarse search cost bounded. Periodically offline, an LLM diagnoser proposes confidence scored topology edits executed with gating using three operators: Split, Merge, and Update, while preserving immutable evidence for traceability. At query time, typed links enable hop bounded, budgeted expansion from active anchors to archived evidence when needed. Experiments on \textbf{LoCoMo} and \textbf{LongMemEval-s} show improved retrieval and QA over representative baselines. The code is available at https://github.com/LvCan926/All-Mem.

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

↑