arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.06361

Capability-Driven Self-Evolution of Agent Memory

Yaoqi Chen, Yuru Feng, Qianxi Zhang, Baotong Lu, Jianan Lu, Zhirui Wang, Shusen Xu, Zewen Jin, Zengzhong Li, Cheng Li, Qi Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Memory self-evolution uses task feedback to iteratively improve executable memory programs that store and retrieve information from past interactions. Existing approaches typically adopt holistic evolution, deriving revision directions from mixed feedback and judging progress by overall performance. This can obscure optimization directions and hide capability-specific gains offset by regressions elsewhere, leaving promising directions underexplored. We introduce capability-driven evolution, which extends search guidance from overall performance to individual capability dimensions, preserving promising revisions and expanding exploration beyond the boundaries of holistic evolution. We propose PRISMEM, which uses dependency-aware capability selection to prioritize targets with potential cross-capability benefits and history-guided diagnosis to refine capability specialists. Trace-guided integration compares evaluated programs on paired differential cases, using their behavioral differences to consolidate complementary gains into a unified memory program. Experiments show that PRISMEM outperforms the strongest baselines by 10.54 and 7.83 percentage points on BEAM-1M and LongMemEval-M, respectively, demonstrating its effectiveness on million-token histories.

1 Introduction

Memory has become a key component of large language model (LLM) agents, enabling them to retain and leverage information from past interactions (Packer et al., 2023; Zhong et al., 2024; Kang et al., 2025; Salama et al., 2025). These interactions contain diverse information, including explicit facts, implicit preferences and dynamically changing states. Moreover, different requests call for diverse capabilities, such as factual retrieval, temporal tracking, preference recognition, and cross-session synthesis (Maharana et al., 2024; Wu et al., 2025; Tavakoli et al., 2026). Effective memory is therefore inherently multidimensional, requiring a memory program to support distinct yet interconnected capabilities across diverse tasks and evolving interactions (Xu et al., 2025; Rasmussen et al., 2025; Zhang et al., 2026b; Salama et al., 2025; Ye et al., 2026).

Self-evolving memory offers a promising solution by representing agent memory as an executable program, evaluating it on training tasks, and iteratively refining its implementation by an LLM based on task feedback (Pan et al., 2026; Liu et al., 2026b; Zhang et al., 2026a). A key challenge is identifying useful revision directions and determining which improvements are worth pursuing. Existing methods generally adopt holistic evolution, deriving optimization directions from mixed feedback across memory capabilities and judging progress mainly by overall task performance. Such compressed scalar guidance can confine the search to a limited region of capability space, with overall performance plateauing while some capability directions remain underexplored (Fig. 1(c)).

This limitation arises from two issues: ambiguous optimization directions and hidden capability gains. First, mixed feedback combines failures from tasks requiring different capabilities, which may suggest multiple possible revisions for the same memory component with different effects. For example, broader retrieval may improve multi-session reasoning but increase over-personalization by introducing irrelevant personal memories (Hu et al., 2026b; Pulipaka et al., 2026; Cao et al., 2026). Our analysis in Fig. 1(b) shows that such uneven

∗^{*}Equal contribution.

F - Factual retrieval; T - Temporal tracking; P - Preference extraction; M - Multi-session synthesis; A - Adversarial

Figure

(a) Hidden capability gains

(b) Uneven capability changes

(c) Illustration of holistic evolution

(d) Illustration of capability-driven evolution

Figure 1: Motivation for capability-driven evolution. Analysis of M* and EvolveMem evolution traces on BEAM. (a) Overall and maximum capability-level score changes for each revision. Many revisions improve at least one capability despite lower overall scores (upper-left region). (b) Among revisions that improve one capability (row), the percentage for which another capability's score decreases (column). (c) Holistic evolution confines exploration to a limited region. (d) Capability-driven evolution enables broader exploration through explicit capability directions.

effects are common. Before these directions are implemented and evaluated, their actual effects across capabilities remain unknown, making it difficult to determine which direction to pursue for overall improvement.

Second, a revision’s gains on one capability can be offset by regressions in others, leaving the overall score unchanged or even lower. Fig. 1(a) shows that 80.5% of revisions without an overall gain still improve at least one capability. This causes useful mechanisms to be overlooked before their benefits can be further refined, integrated, and reflected in overall performance. This issue is particularly pronounced near a performance plateau, where marginal gains are easily masked, further confining the search around the current solution.

Our key insight is to elevate the evolution space from a single overall-performance dimension to multiple capability-level dimensions. This motivates capability-driven evolution: Capability-specific feedback suggests focused diagnosis and guides explicit directions, while capability-level evaluation preserves promising revisions even without overall gains, enabling further refinement and broader exploration along individual capability dimensions (Fig. 1(d)). Crucially, this process also turns broader optimization directions into evaluated memory programs whose implementations and execution results reveal how differently these programs behave on the same tasks. These references provide guidance for combining useful mechanisms into a stronger unified memory program, rather than choosing among unexplored directions from mixed feedback.

We propose PRISMEM, which decomposes holistic memory evolution into capability-specific directions, analogous to a prism separating light. To achieve broader gains from each capability refinement step, dependency-aware capability selection exploits dependencies among capabilities to prioritize those whose improvement can also benefit others. Refinement starts from the best-performing program for the selected capability (specialist), allowing local gains to develop even when obscured by the overall score and expanding the search boundary. History-guided diagnosis then identifies informative failures that past programs handled well, while discounting repeatedly examined cases and capability combinations to broaden diagnostic coverage and uncover further revision opportunities. Finally, trace-guided integration consolidates capability specialists evolved along different directions. Using paired differential cases, it compares the base program with each specialist to expose their behavioral differences and guide how complementary gains should be incorporated. This translates broader capability-level exploration into a stronger unified memory program.

Our contributions are: (1) We introduce capability-driven evolution, a new paradigm for memory self-evolution that lifts search guidance to the capability dimension, expanding the exploration boundary. (2) We propose PRISMEM, which combines dependency-aware capability selection, history-guided diagnosis, and trace-guided integration to develop capability-level advances into a stronger memory program. (3) We evolve on shorter-context splits of BEAM and LongMemEval and test on their 1M-token versions, achieving improvements of 7.83–10.54 percentage points over the best-performing baselines and demonstrating effective generalization to million-token histories.

References (2)

  • The patched source must be nonempty, parse as Python, use allowed imports, and avoid evaluation-side interfaces
  • MemoryUnit and Query must be nonempty dataclasses with supported JSON-compatible fields: strings, integers, floats, booleans, string lists, and their optional forms