AutoSafe: Safeguarding LLM agents via an automated risk simulatorSafeAgent: Safeguarding LLM Agents via an Automated Risk Simulator
AI summary
The researchers propose the AutoSafe framework, which improves LLM agent safety through fully automated synthetic data generation, raising the average safety score by 45%. The framework uses an open and extensible threat model, OTS, to characterize how unsafe behaviors arise from the interaction of user instructions, interaction context, and agent actions, automatically simulates unsafe user behaviors, and uses self-reflective reasoning to generate safe responses, eliminating the need to collect real dangerous data. It improves by 28.91% on real tasks, validating the generalization ability of the safety policy.