Can LLM Agents Organize Their Own Memory?
Zichuan Fu, Junjia Qi, Wenlin Zhang, Yimin Deng, Shirong Wang, Jinyang Li, Xian Wu, Xiangyu Zhao
Abstract
In most LLM agents, weights are fixed after deployment, so new information must be retained in external memory. Existing approaches often rely on predefined records and fixed organizational rules, which cannot readily accommodate evolving tasks and interactions. This raises the question: can LLM agents organize their own memory using ordinary documents? We introduce self-organized memory (SoMem), a framework that stores memory in linked documents. The agent decides what to summarize, how to group related information, and when to revise existing topics, and every summary it produces stays linked to the original interactions as evidence. The runtime validates updates and automatically derives temporal, relational, and recent-memory views from the organized content. At query time, the agent chooses what to search and read, following document links and inspecting original evidence as needed. On LoCoMo, BEAM-100K, and LongMemEval-S, SoMem outperforms the strongest baseline by 2.66, 3.10, and 2.00 percentage points, respectively. The constructed memory can be reused across models, and additional reasoning effort can further improve answer quality. These findings demonstrate the feasibility of agents organizing and using their own persistent memory through ordinary documents. Code is available at: https://github.com/Qi202/SoMem.
Create a lesson
Related papers
Engram: Multi-Stage Memory for Agentic Tuning of Heterogeneous Models
Shared title terminology · Huanran Li, Nhat X. T. Le, Kevin De Angeli et al.
HeMeR: Heterogeneous Memory Reconciliation for Embodied Agents via Structured KV Reuse
Shared title terminology · Saehun Chun, Wonje Choi, Jinwoo Jang et al.
DISCERN: Preserve at Write, Resolve at Read for Persistent LLM-Agent Memory
Shared title terminology · Chirag Ahuja, Vladislav Tanov, Ramcharan Kakarla et al.
MemCredit: From Relevance to Utility for Decision-Time Memory in Long-Horizon Web Agents
Shared title terminology · Quanjiang Guo, Sijie Wang, Qianyang Zhu et al.
Don't Just Trust Your Memory: Evidence-Linked Memory Reduces Memory-Induced Degradation in LLM Agents
Shared title terminology · Yukyeong Lee, Yumin Choi, Jinheon Baek et al.
TreeAgent: Structure-Aware Memory Agent for Processing Long Hierarchical Data
Shared title terminology · Wei Gu, Weiwei Qi, Jiajun Tang et al.