Do Self-Evolving Agents Forget? Capability Degradation and Preservation in Lifelong LLM Agent Adaptation

Ye Yu, Xiaopeng Yuan, Haibo Jin, Heming Liu, Yaoning Yu, Haohan WangarXiv 2026

TL;DR

As LLM agents autonomously evolve by optimizing their workflows, skills, models, and memories, they suffer from a hidden flaw: they forget how to do old tasks. This paper exposes this "capability erosion" across all major adaptation channels and introduces Capability-Preserving Evolution (CPE), a framework that uses targeted regularization to ensure agents acquire new tricks without losing their old ones.

What Problem Does This Paper Address?

We are rapidly moving toward a world of self-evolving LLM agents—systems that autonomously refine their reasoning workflows, build skill repositories, fine-tune their own model parameters, and manage persistent memories. Ideally, this self-directed adaptation should be monotonic, meaning the agent gets continuously smarter over time.

However, the authors discover that this assumption fails in practice. When an agent adapts to a new task distribution (e.g., moving from simple tasks to complex ones, or shifting from Geometry to Number Theory), it suffers from capability erosion under self-evolution. The repeated self-updates rewrite the agent's internal structures, causing it to lose its mastery over previously learned tasks. This erosion manifests in three ways: retrospective capability decay, behavioral policy drift (where workflows become bloated and over-defensive), and generalization erosion.

Figure 1: Self-evolution under task distribution shift. Under unconstrained self-evolution, repeated adaptation toward new tasks progressively erodes capability structures that supported previously mastered tasks, causing prior capability loss. Capability-Preserving Evolution instead constrains self-updates to acquire new capabilities while preserving previously retained ones.

Methods

To mitigate this interference, the authors propose Capability-Preserving Evolution (CPE). Instead of naively optimizing solely for the newly encountered tasks, CPE introduces an explicit retention regularizer to bias the agent toward low-interference updates. They implement this principle across four distinct evolution channels:

  1. Workflow Evolution: Instead of allowing unconstrained prompt mutations, CPE injects "anchor behavioral signatures" (core objectives and constraints) from the original seed workflow to prevent the agent from developing overly complex, bloated execution paths.
  2. Skill/Tool Evolution: Rather than evicting least-frequently-used skills when a bounded skill bank fills up, CPE uses "capability-preserving consolidation" to merge semantically related skills.
  3. Model Evolution: When fine-tuning model parameters via self-training (e.g., the STaR framework), CPE applies Elastic Weight Consolidation (EWC) to penalize modifications to weights crucial for older tasks.
  4. Memory Evolution: CPE uses "evidence-gated memory preservation" to protect historically reliable memories from being evicted or overwritten by new, low-evidence entries.

Datasets

The authors evaluated CPE across four distinct benchmarks tailored to each evolution dimension:

  • $\tau^2$-Bench: Used for workflow evolution, partitioned into simple and complex subsets via an LLM classifier to simulate a stark distribution shift.
  • MATH: Used for skill evolution, presented sequentially across three domains: Algebra $\rightarrow$ Geometry $\rightarrow$ Number Theory.
  • MedMCQA: Used for model evolution, split into sequential medical subjects: Anatomy $\rightarrow$ Biochemistry $\rightarrow$ Dental.
  • Mathematical Reasoning Domains: A collection of subsets (Counting & Probability, Prealgebra, Number Theory, Geometry) used to evaluate memory evolution.

Key Insights and Ideas

  • Forgetting Isn't Just for Weights: While "catastrophic forgetting" is a classic problem in neural network weights, this paper proves it is a fundamental structural consequence of any unconstrained continual self-modification—including discrete spaces like prompt programs, skill banks, and memory stores.
  • The Danger of Bloated Workflows: When agents face complex tasks without constraints, they tend to over-engineer their workflows by adding excessive validation steps. While locally helpful for hard tasks, this "bloat" makes them over-defensive, causing them to fail on simple routines they previously mastered.
  • A Unified Repository View: Mechanistically, whether an agent is changing its prompts, its tools, its parameters, or its memory bank, it is essentially rewriting a mutable repository. Unconstrained updates introduce destructive interference to these shared structures.

Key Results

CPE consistently stabilized agent performance across all four dimensions without sacrificing their ability to learn new tasks:

  • Workflow: Under GPT-5.1 optimization on $\tau^2$-Bench, CPE improved retained simple-task performance from 41.8% to 52.8% while simultaneously achieving stronger complex-task adaptation (33.4% vs 23.9% for the vanilla baseline).
  • Skill: As the task distribution shifted, vanilla evolution suppressed older skills, whereas CPE preserved broader skill utilization and stabilized performance on early domains like Algebra.
  • Model: For Qwen3-0.6B, CPE successfully mitigated parameter overwriting, boosting retained accuracy on Anatomy from 29.4% to 30.5% after full sequential training.
  • Memory: CPE reduced the average old-task retention gap from 2.3% to 0.7% by protecting historically reliable memory notes.

Limitations and Future Work

The authors note that the preservation mechanisms explored in this paper are intentionally lightweight and domain-specific (e.g., standard EWC for models or basic merging heuristics for skills). Future work could explore more sophisticated, adaptive regularization schedules or jointly optimized multi-component preservation frameworks.

Additionally, the experiments focused on controlled, sequential task-distribution shifts. Testing CPE in truly open-ended, dynamic environments with multi-agent interactions remains an important next step.

Summary updated

BibTeX
@misc{yu2026do,
  author = {Ye Yu and Xiaopeng Yuan and Haibo Jin and Heming Liu and Yaoning Yu and Haohan Wang},
  title = {{Do Self-Evolving Agents Forget? Capability Degradation and Preservation in Lifelong LLM Agent Adaptation}},
  year = {2026},
  eprint = {2605.09315},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.09315},
}
Figure