TL;DR
This paper introduces AGENTSAFE, the first comprehensive benchmark for evaluating the safety of embodied agents powered by vision-language models (VLMs) when given hazardous instructions. It addresses the critical need for robust safety evaluations that go beyond simple task completion, by proposing a novel simulation sandbox, a risk-aware task suite, and a multi-stage diagnostic protocol to uncover systematic failures in how these agents perceive, plan, and execute potentially dangerous commands.
What Problem Does This Paper Address?
The integration of powerful vision-language models (VLMs) into embodied agents has enabled them to understand and act upon complex natural language instructions in simulated and real-world environments. However, a significant challenge arises when these agents are tasked with executing "hazardous instructions" – commands that could lead to harm to humans, the environment, or the agent itself. Existing safety benchmarks are limited; they often focus only on the final outcome of a task, neglecting the agent's entire decision-making process (perception, planning, and execution). This oversight obscures critical failure points and makes it difficult to develop truly safe embodied AI. AGENTSAFE aims to fill this gap by providing a holistic and systematic evaluation framework for embodied VLM safety.
Methods
AGENTSAFE is built upon three core components:
- SAFE-THOR: An extensible, adversarial simulation sandbox based on the AI2-THOR environment. A key innovation here is a "universal adapter" that bridges the gap between high-level VLM outputs and the low-level controls required by the simulation. This adapter handles:
- Object grounding: Mapping visual entities identified by the VLM to actual objects in the simulation.
-
Action abstraction: Translating natural language plans into executable atomic actions. This design allows for the integration of diverse agent workflows without significant modifications.
-
SAFE-VERSE: A large-scale, risk-aware task suite inspired by Asimov's Three Laws of Robotics. It categorizes hazardous instructions into three types: harm to humans, harm to the environment, and self-harm. This suite includes:
- 45 adversarial scenarios.
- 1,350 hazardous tasks.
- 9,900 instructions, comprising both "baseline hazardous instructions" (explicitly dangerous) and "adversarially-enhanced instructions" (jailbroken versions designed to bypass safety filters).
- SAFE-DIAGNOSE: A multi-level, fine-grained evaluation protocol that assesses agent performance across the perception, planning, and execution stages. This allows for a detailed understanding of where and why failures occur, rather than just reporting overall success or failure. Metrics include Grounding Recall (GR), Hallucination Rate (HR), Planning Rejection Rate (PRR), Planning Success Rate (PSR), and Task Success Rate (TSR).
Additionally, the paper introduces SAFE-AUDIT, a plug-and-play thought-level safety module that proactively audits and refines an agent's initial "thought" before it generates an action plan, aiming to prevent unsafe behaviors at their conceptual stage.
Datasets
The primary dataset introduced is SAFE-VERSE, which comprises 9,900 hazardous instructions across 45 scenarios. This dataset is designed to be used within the SAFE-THOR simulation environment. It includes:
- Normal Instructions: Benign tasks for baseline utility evaluation.
- Baseline Hazardous Instructions: Explicitly dangerous commands targeting humans, the environment, or the agent.
- Adversarially-Enhanced Instructions: Jailbroken versions of baseline instructions, generated using 6 representative jailbreak methods from recent literature.
This benchmark is novel in its comprehensive coverage of the entire decision-making pipeline and its focus on adversarial safety scenarios.
Key Insights and Ideas
- Planning is the Critical Bottleneck: The research strongly suggests that the planning stage is the most crucial for embodied agent safety. While agents may perceive hazards, their ability to translate this perception into a safe plan is often lacking, leading to dangerous actions.
- Jailbreaking is Tricky in Embodied Settings: Jailbreak techniques that work well for text-only LLMs don't always translate effectively to embodied agents. In fact, some adversarial transformations can reduce clarity, hindering the agent's ability to execute tasks safely.
- Proactive Safety is Key: The SAFE-AUDIT module demonstrates that intervening at the "thought" or planning stage, before an action is even generated, is more effective than reactive safety measures at the execution layer. This proactive approach can prevent unsafe intentions from ever being conceptualized.
- Agent Workflows vs. Raw VLMs: While VLMs are powerful, structured agent workflows (like ReAct) can sometimes offer more consistent and reliable safety, especially in avoiding hallucinations, even if their overall task success rate isn't always the highest.
Key Results
- Systematic Failures: Experiments with 9 state-of-the-art VLMs revealed systematic failures in translating hazard recognition into safe planning and execution.
- Varying Vulnerabilities: Some VLMs (e.g., Gemini-2.5-flash, Step-v1-8k) showed critical vulnerabilities, with near-zero planning rejection rates for hazardous instructions. Others (e.g., Claude family) demonstrated robust safety capabilities, particularly against human-harm instructions.
- Adversarial Impact: While perception metrics remained stable across different jailbreak methods, planning and execution metrics showed significant variation, highlighting the challenge of robustly handling jailbroken instructions.
- SAFE-AUDIT Effectiveness: SAFE-AUDIT improved task success rates on normal instructions and significantly reduced planning and execution success rates on hazardous instructions, demonstrating its effectiveness in mitigating safety risks. It outperformed execution-layer defense baselines like ThinkSafe and AgentSpec.
Limitations and Future Work
- Limitations: The current benchmark is based on a simulated environment (AI2-THOR). The authors acknowledge that translating these findings to physical environments (the sim-to-real gap) is a significant challenge.
- Future Work:
- Integrating stronger, multi-modal attacks to further test agent robustness.
- Developing SAFE-AUDIT into an adaptive, learning-based auditor that can continuously improve its safety interventions.
- Exploring the sim-to-real gap by testing findings in physical robotic systems.
Summary updated