SHE: A Trajectory-Driven Safety Guardrail Evolution Framework for LLM AgentsSHE: Trajectory-driven Safety Harness Evolution for LLM Agents
Translation in progress — untranslated text is omitted.
The researchers propose Safety Harness Evolution (SHE), a framework that learns to evolve safety boundaries from rollout trajectories to improve the safety of LLM agents. SHE decomposes agent guardrails into four components with clear safety responsibilities—System Prompt, Rule Bank, Safety Memory, and Tool Policy—defining functional boundaries for local evolution. On this basis, SHE introduces an attribution-guided evolution loop that converts trajectory failures into structured diagnoses, learns component-specific boundary corrections, and filters evolved guardrails through safety and utility validation.
- The safety of LLM agents depends not only on model weights but also on the harness that manages context, tools, and permissions; the authors argue that existing harnesses are static after deployment and have coupled component functions, making it difficult to locate and repair safety failures from execution trajectories.
- SHE splits the harness into four artifacts with clearly defined responsibilities: System Prompt, Rule Bank, Safety Memory, and Tool Policy. It uses an evolution model to perform three-dimensional diagnosis of trajectory failures and route them to the corresponding artifacts, then iteratively updates through bounded edits, validity checks, and safety–utility selection.
- On Agent-SafetyBench, SHE (evolved) achieves an average ASR of 5.5% and an average UA of 47.6%, outperforming the static and evolution-based baselines listed in the paper; on held-out AgentHarm, Harm Score is 9.8% and Harm Refusal is 86.4%. The authors state that it can transfer to unseen risks and other agent models.
- The paper does not specifically discuss limitations. Experimental coverage: the base agent evolved into DeepSeek-V3.2, and transfer was tested on 3 models; evolution used only 15 tasks and 20 rounds; Agent-SafetyBench used the official first 200 tasks; the judges were GPT-5.5 and GPT-4o, and the paper does not report agreement between the judges and humans.
Related papers
Both use: Agent-SafetyBench
Show 3 more papers
Both use: Agent-SafetyBench