CoEvo-Mem: Co-Evolving Retrieval Policy and Memory Bank for LLM Agents
cs.AI
Submitted: 2026-08-03
Updated: 2026-12-02
Code: https://github.com/memodbio/memobase
License: http://creativecommons.org/licenses/by/4.0/
The gist: As memories accumulate across tasks and sessions, the performance of long-term LLM agents depends jointly on query-specific retrieval and continual memory refinement.
Terminology
Abstract
As memories accumulate across tasks and sessions, the performance of long-term LLM agents depends jointly on query-specific retrieval and continual memory refinement. However, existing methods typically optimize either memory access, through iterative query refinement or adaptive retrieval policies, or memory evolution such as structural update. This separation overlooks a fundamental feedback loop: retrieval determines which memories receive usage signals, while updated memory bank reshape future retrieval. We propose CoEvo-Mem, a closed-loop framework for co-evolving the retrieval policy and memory bank. For each query, a frozen LLM generates route-specific query rewrites and a routing prior, which a lightweight residual router corrects online. The retrieved context serves as the coupling interface between the two learning processes: task outcomes assign credit to routing decisions, while trajectory-conditioned feedback updates memory values and graph relations. These updates alter how memories are ranked and selected for subsequent queries, thereby closing the feedback loop. To mitigate coupling induced non-stationarity, CoEvo-Mem alternates between updating the router with the memory bank fixed and evolving the memory bank with the retrieval policy fixed. Across seven diverse benchmarks, CoEvo-Mem achieves state-of-the-art performance, demonstrating the importance of retrieval-memory coevolution.
Sources
- Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
- MiniRAG: Towards Extremely Simple Retrieval-Augmented Generation
- ElasticMem: Latent Memory as a Learnable Resource for LLM Agents
- LightRAG: Simple and Fast Retrieval-Augmented Generation
- Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning
- MemQ: Integrating Q-Learning into Self-Evolving Memory Agents over Provenance DAGs
- RAG-Fusion: a New Take on Retrieval-Augmented Generation
- Zep: A Temporal Knowledge Graph Architecture for Agent Memory
- GPQA: A Graduate-Level Google-Proof Q&A Benchmark
- Voyager: An Open-Ended Embodied Agent with Large Language Models
- MEMORYLLM: Towards Self-Updatable Large Language Models
- M+: Extending MemoryLLM with Scalable Long-Term Memory
- LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory
- MemGen: Weaving Generative Latent Memory for Self-Evolving Agents
- MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memory
- LifelongAgentBench: Evaluating LLM Agents as Lifelong Learners
Related papers
- Beyond Moral Performance: Empirical Assessment of LLMs' Moral Competence Through Judgment Stability
- K12Vista: Exploring the Boundaries of MLLMs in K-12 Education
- A Matter of TASTE: Improving Coverage and Difficulty of Agent Benchmarks
- FlowSteer: Towards Agents Designing Agentic Workflows via Reinforced Progressive Canvas Editing
- Tokengeist: Multi-Turn Attribution Tracing in Agentic Conversations
- VESTA: Visual Exploration with Statistical Tool Agents