arXiv:2611.11929cs.AINov 2026

Manuscript Offprint

arXiv:2611.11929

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 can not 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.

1 Introduction

During deployment, LLM agents encounter new information, including user preferences, task progress, and changes in the environment. This information is not incorporated into their fixed model parameters. External memory preserves information across interactions and supplies relevant records as context for later requests (Zhong et al., 2024; Packer et al., 2023). This allows an agent to personalize its responses, continue earlier activities, and use background knowledge acquired through experience (Zhong et al., 2024; Park et al., 2023). As conversations extend across sessions, such context can include facts and events that are absent from the current request but necessary for interpreting it (Maharana et al., 2024; Wu et al., 2025). This persistent context makes information from earlier interactions available alongside the model's pretrained knowledge.

Designing agent memory requires deciding what to save, how to organize and update it, and how to access it for a task (Du, 2026). These decisions are connected: the information retained during construction determines the evidence available during retrieval and reading (Wu et al., 2025). Complete histories preserve detail but require the agent to locate relevant exchanges; compact records reduce the amount of text to inspect but may omit qualifications or context needed later (Wu et al., 2025; Fang et al., 2026). New interactions can also revise an earlier fact, connect separate events, or change the period during which a statement holds (Wu et al., 2025; Li et al., 2026). A memory system must therefore support both concise access to accumulated information and recovery of the evidence needed to interpret changes.

Existing methods address these requirements through different representations and operations. MemoryBank and Mem0 extract and update compact records, while Mem0 also offers an entity–relation graph (Zhong et al., 2024; Chhikara et al., 2025). A-Mem generates attributed notes and revises their associations as new memories arrive; LightMem and TiMem consolidate information through processing stages or temporal hierarchies (Xu et al., 2025; Fang et al., 2026; Li et al., 2026). Model-controlled memory operations are also established in MemGPT and the vector-backed semantic file interface of LSFS (Packer

∗^{*}Equal contribution.

†^{†}Corresponding author.

Figure

Figure 1: Overview of SoMEM, illustrated with a meeting-venue update. The agent revises Topic documents from Source records, and the runtime derives access views from the revised documents. At query time, the agent searches and reads the organized memory and its Source evidence to answer the question. The tools shown are the combined search and read-only shell interface; the main experiments use the equivalent split interface (Appendix A).

et al., 2023; Shi et al., 2025). Building on such model-controlled operations, we study how editable semantic organization, preserved original evidence, and automatically derived access views can maintain consistency as memory changes. The agent revises the semantic content, while the runtime validates evidence references and reconstructs the access views from accepted edits. The central question is therefore how an agent can revise its memory organization while preserving evidence and consistent access.

We propose self-organized memory (SOMEM), in which the model controls semantic organization and the runtime maintains evidence and access consistency. First, the agent chooses how to group and revise information in Topic documents, which reference immutable Source records and from which a small Core is promoted for persistent context. Second, the runtime applies the same validation checks to every revision. Once a revision is accepted, it rebuilds the access views from the updated content and metadata. This allows semantic grouping to change without requiring the model to maintain separate versions for each access structure. Third, the agent selects further searches and reads from its observations, returning to original records when organized content is insufficient. The same agent can write and read memory, and other models can reuse the resulting workspace through the same interface.

Our contributions are as follows:

  • We formulate self-organized memory as editable semantic content that retains links to its supporting evidence. Let the model decide how that content is grouped, while the runtime maintains the access structures that serve retrieval.

  • We develop a reorganization procedure that validates edits and reconstructs access views, coupled with sequential inspection of the evidence needed to answer a question.

  • We demonstrate the effectiveness of SoMEM through comparisons with baselines on LoCoMo, BEAM-100K, and LongMemEval-S, using a shared GPT-6 Luna Reader. We also show that SoMEM works across multiple backbones and that the constructed memory can be reused across models.

References (17)