cs.IRMar 20, 2026

All-Mem: Agentic Lifelong Memory via Dynamic Topology Evolution

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

Organizations: Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing · Beihang University · Tsinghua University · Chalmers University of Technology

Abstract

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 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 LoCoMo and LongMemEval-s show improved retrieval and QA over representative baselines. The code is available at https://github.com/LvCan926/All-Mem.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Infini Memory: Maintainable Topic Documents for Long-Term LLM Agent Memory

    Jun 9, 2026Suozhao Ji, Baodong Wu, Zehao Wang +8Agentic RAGPersistent Memory for Language Models

  2. RaMem: Contextual Reinstatement for Long-term Agentic Memory

    Jun 22, 2026Wei Yang, Bryce Kan, Shixuan Li +5Agent MemoryLLM Agent Memory