Abstract
Current Large Language Model (LLM) agents often treat memory as a static repository for context retrieval rather than a dynamic system for learning. This paper presents Evo-Memory, a novel benchmark for evaluating "self-evolving" memory in LLM agents across sequential tasks. We introduce ReMem (Reasoning, Acting, and Memory), a method that integrates reasoning and acting with active memory refinement. By learning from both successes and failures at test time, ReMem demonstrates significant improvements in performance and operational efficiency across a wide range of reasoning and interactive environments.
Introduction
In standard deployments, LLM agents typically operate with a "passive" memory system. These systems excel at conversational recall—remembering specific facts or previous dialogue turns—but they struggle with experience reuse, or the ability to apply procedural knowledge learned in one task to a subsequent, similar problem. This limitation forces agents to treat every task as a new instance, ignoring the potential for continuous improvement.
To bridge this gap, we define a framework for test-time learning where agents must evolve their memory over a stream of tasks. The goal is to move beyond static context toward a system that accumulates strategies, adapts to environment feedback, and prunes irrelevant information.
Methodology: The ReMem Framework
We unify existing memory mechanisms into a continuous loop consisting of three phases: Search, Synthesis, and Evolve. Building on this, we propose two primary approaches for experience reuse:
- ExpRAG (Experience Retrieval and Aggregation): A baseline that retrieves relevant past experiences using a dense retriever and appends them to the current prompt.
- ReMem (Reasoning, Acting, and Memory): An advanced architecture that extends the ReAct (Reason-Act) paradigm. ReMem introduces a
Refineaction, allowing the agent to perform meta-reasoning. During this phase, the agent can retrieve useful experiences, prune noisy or failed trajectories, and reorganize its memory to optimize future performance.
The Evo-Memory Benchmark
To evaluate these capabilities, we introduce the Evo-Memory benchmark. Unlike static datasets, Evo-Memory restructures tasks into streaming sequences. The benchmark covers 10 datasets across two main categories:
- Single-turn Reasoning: Includes MMLU-Pro, GPQA-Diamond, AIME-24, AIME-25, and ToolBench.
- Multi-turn Interactive Environments: Includes AlfWorld, BabyAI, ScienceWorld, Jericho, and PDDL.
This structure allows us to measure how effectively an agent adapts as it encounters a continuous stream of related problems.
Key Results and Insights
Our evaluation across various proprietary models, including Claude 3.7 Sonnet and Gemini-2.5 Flash, reveals several critical insights:
- Performance Gains: In multi-turn tasks, ReMem achieved a 92% success rate on BabyAI and 95% on ScienceWorld. In single-turn reasoning, it consistently outperformed standard RAG and other adaptive baselines.
- Efficiency: Memory evolution significantly reduces the complexity of task completion. In AlfWorld, ReMem reduced the average steps required from 22.6 to 11.5.
- The Importance of Pruning: Storing every trajectory is counterproductive. Naive accumulation of failed attempts introduces noise. ReMem’s ability to selectively refine and prune memory is essential for maintaining stability during test-time adaptation.
- Task Structure: The benefits of self-evolving memory are most pronounced in highly structured environments (e.g., PDDL) where procedural patterns are frequent, compared to more diverse, open-ended QA tasks.
Conclusion and Future Work
Evo-Memory shifts the focus of LLM agent research from static retrieval to continuous, test-time learning. By treating memory as an active component of the decision-making loop, the ReMem framework allows agents to become more proficient over time. Future research will focus on expanding these methods to multimodal environments and developing more robust strategies for learning from failures without polluting the agent's memory pool.
Summary updated