← Lab /AI/ML

SafeEvolve cuts unsafe actions 3× and raises utility to 61.86% on AgentDojo

Co-evolving the harness and policy from agent experience yields a better safety-utility tradeoff than prior methods

AI/ML arXiv 2 Sep 2026 Method Prototype evidence

Published as “SafeEvolve: Harness-Policy Co-Evolution from Agent Experience for Safety Alignment”

Why it matters

The co-evolution framework offers a practical route to harden deployed LLM agents against prompt injection and malicious queries without fully retraining the model.

Summary

SafeEvolve dramatically cuts attack success rates while modestly raising benign performance: on Qwen3.5-4B it reduces AgentDojo ASR from 2.37% to 0.79% (a 3× reduction) and lifts clean utility from 59.79% to 61.86%, and on AgentHarm it drops the harmful score from 56.45 to 12.27 and raises refusal from 28.98% to 83.83%. The paper reports these gains on public agentic safety benchmarks using a co-evolution loop that updates both the external harness (prompts and hierarchical skills) and the policy via a two-stage SFT-RL process. Evidence comes from multiple baselines and ablations, but utility under attack does fall slightly compared to the base policy.

What they found 6

  1. SafeEvolve achieves a 3× ASR reduction on AgentDojo while improving benign utility from 59.79% to 61.86% for Qwen3.5-4B

    “For Qwen3.5-4B, SafeEvolve achieves a 3× ASR reduction on AgentDojo while improving benign utility from 59.79% to 61.86%.”

  2. SafeEvolve reduces AgentDojo ASR from 2.37% to 0.79% and raises clean utility from 59.79% to 61.86% for Qwen3.5-4B

    “For Qwen3.5-4B, SafeEvolve reduces ASR on AgentDojo from 2.37% to 0.79% while improving clean utility from 59.79% to 61.86%.”

  3. On AgentHarm, SafeEvolve cuts the harmful score from 56.45 to 12.27 and boosts refusal rate from 28.98% to 83.83% for Qwen3.5-4B

    “On AgentHarm, it reduces the harm score from 56.45 to 12.27 while boosting the refusal rate from 28.98% to 83.83%.”

  4. Evolved skills give the strongest safety improvements across model backbones, especially lowering AgentDojo ASR and AgentHarm harmful score

    “Evolved skills provide the most reliable safety gains across backbones, especially on AgentDojo ASR and AgentHarm harmful score, indicating that retrieved procedural guidance is more useful than a single global prompt for multi-step execution.”

  5. Harness evolution alone can improve safety without any policy updates

    “Harness evolution improves agent safety without policy updates.”

  6. Co-evolution with evolved skills keeps utility under attack at 56.77% while dropping ASR to 0.79% and harmful score to 12.27%

    “Co-evolution with evolved skills retains 56.77 utility under attack while reducing AgentDojo ASR from 2.37 to 0.79 and the AgentHarm harmful score to 12.27.”

Caveats 1

  • Utility under attack drops from 60.04% (base) to 56.77% after co-evolution with evolved skills, indicating a trade-off between safety gains and attacked-scenario performance.

What’s new here 4

  • Joint harness-policy co-evolution driven by on-policy trajectory safety evidence
  • Bounded, versioned harness updates (prompts and hierarchical skill bank) that are auditable and reversible
  • Two-stage training: harness-use supervised fine-tuning followed by harness-augmented reinforcement learning
  • Demonstrated transfer of evolved harness artifacts across different model sizes