🤖 AI Summary
This work addresses the risk that self-improving large language model agents may inadvertently固化 unsafe successful experiences into reusable strategies during skill evolution, leading to cross-task risk propagation. The paper introduces the concept of “skill mis-evolution” and establishes two evaluation frameworks—SkillMisevo-Gym and SkillMisevo-Bench—to systematically assess this phenomenon. To mitigate such risks, the authors propose SafeEvolve, a mechanism integrating trajectory distillation, skill versioning, adversarial exposure testing, and safety wrappers to enable end-to-end risk tracking, intervention, and remediation throughout the skill lifecycle. Experimental results demonstrate that unsafe skill generation occurs across all 25 evaluated configurations; SafeEvolve reduces unsafe retrieval rates by 26.7 percentage points and new-session harm by 17.3 percentage points, while preserving benign task utility within a narrow margin (±0.4).
📝 Abstract
Self-improving LLM agents convert successful trajectories into persistent cross-task state. An unsafe success can thereby become reusable policy after its triggering input disappears. Skill evolution makes this failure measurable by distilling operational trajectories into executable, transferable, and inspectable procedures. Because evolution optimizes task outcomes rather than procedure safety, compromised experience can cause skill misevolution. Existing benchmarks measure current behavior or static artifacts but cannot attribute risk across authoring, retrieval, and later execution. To expose this lifecycle, we introduce SkillMisevo-Gym, a lifecycle-aware harness that versions skill state across agent frameworks, and SkillMisevo-Bench, a frozen design from malicious exposure to carryover tasks, with concept-aligned benign tasks and nine lifecycle metrics. We also introduce SafeEvolve, a wrapper that repairs unsafe content and governs subsequent reuse. Across 25 agent-method configurations, each covering 525 tasks in 25 episodes, all 21 evolved configurations author unsafe artifacts, while only fifteen lead to fresh-session harm. In the exposure sweep, three malicious tasks raise carryover ASR from 16.0% to 35.3%. Across representative skill evolution methods, SafeEvolve reduces unsafe retrieval and fresh-session harm by 26.7 and 17.3 percentage points, respectively, while mean benign utility changes by only 0.4 points. Together, persistent-adaptation safety must govern what updates write and what future executors reuse. Code is available at https://github.com/henrymao2004/misevolve.