AUTOMEM: Automated Learning of Memory as a Cognitive Skill
Shengguang Wu, Hao Zhu, Yuhui Zhang, Xiaohan Wang, Serena Yeung-Levy
NeurIPS page · OpenReview · Open on the map
Category: LLM Reasoning, Memory & RAG › Self-Evolving Agent Memory · Type: new method · Keywords: memory management, LLM self-improvement, long-horizon tasks, automated memory structure, agent training
Areas: LLM Reasoning › Reasoning Strategies › Memory for Reasoning Agents; Memory › Agent Memory Systems › Memory Skills; AI Agents › Agent Capabilities › Autonomous Agent Memory
Summary
AUTOMEM is a framework that automates the learning of memory management skills for LLMs by iteratively improving memory structure and model proficiency, yielding 2×-4× performance gains on long-horizon text-based games.
Explained to a 5-year-old
A computer brain wants to play games that last a long time and need a lot of remembering. It can make little folders to keep its thoughts, like a notebook. It needs to know what to write down, when to read it, and how to keep the notes organized. Doing this by hand is hard because there are thousands of steps and mistakes can hide. So the researchers built a system that lets the computer learn how to manage its memory all by itself.
Explained to a 5-year-old, longer
A computer brain wants to play games that last a long time and need a lot of remembering. It can make little folders to keep its thoughts, like a notebook. It needs to know what to write down, when to read it, and how to keep the notes organized. Doing this by hand is hard because there are thousands of steps and mistakes can hide. So the researchers built a system that lets the computer learn how to manage its memory all by itself. First, a smart helper looks at the computer’s past attempts and suggests better ways to set up its memory folders. Then, the computer watches its own good memory choices and learns from them. This two-step process repeats until the memory becomes very good. Because the memory works better, the computer can solve puzzles faster and finish the game more often. The improvement is huge, making the computer as good as the best commercial AI models. This shows that teaching a computer to remember well can give it a big advantage in long tasks. It also means we might use similar ideas to help robots or assistants remember important things.
For a technical reader
AUTOMEM automates memory management for large language models by iteratively refining memory structures and training the model on its own successful memory decisions. This dual-loop process removes the need for manual prompt engineering and allows agents to improve memory proficiency directly. As a result, agents achieve 2×-4× higher performance on long-horizon text-based games, matching state-of-the-art commercial models. The framework demonstrates that memory can be treated as an independently learnable skill, offering a scalable path to better long-task reasoning.
Problem
Memory expertise involves knowing what to encode, when to retrieve, and how to organize knowledge. Managing memory in long-horizon tasks is difficult because both the memory structure and the model's proficiency must be optimized, and manual tuning is impractical.
Method
The approach uses two loops: first, a strong LLM reviews full agent trajectories and iteratively revises the memory structure (prompts, file schemas, action vocabulary); second, the agent's successful memory decisions are extracted from many episodes and used as training signal to improve the model's memory proficiency. This automation eliminates the need for manual optimization of both the structure and the model.
Results
The approach improved the base agent's performance by 2×-4× on the three games, making a 32B open-weight model competitive with leading systems such as Claude Opus 4.5 and Gemini 3.1 Pro.
Contributions
It shows that memory management can be learned as an independent skill and that automating both memory structure and model proficiency yields large gains on long-horizon tasks. The work provides a framework for training agents to self-optimize their memory without human intervention.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction