TL;DR
The paper introduces AGENTSAFE, a comprehensive evaluation benchmark designed to systematically diagnose the safety of vision-language model (VLM) embodied agents when given hazardous instructions. By evaluating agents across the entire perception-planning-execution pipeline, the authors reveal critical safety alignment failures in state-of-the-art models and propose SAFE-AUDIT, a thought-level defense mechanism that mitigates risks without sacrificing agent utility.
What Problem Does This Paper Address?
Large Vision-Language Models (VLMs) have enabled a new generation of embodied agents capable of translating high-level natural language commands into physical actions. However, when these agents are exposed to harmful, ambiguous, or adversarial commands (hazardous instructions), they risk causing real-world harm.
Existing safety benchmarks suffer from two major limitations:
- Narrow Scope: They typically focus only on environmental damage, ignoring risks to humans or the agent itself.
- Coarse Evaluation: They evaluate safety purely based on the final outcome (e.g., task success rate). This treats the agent as a black box, neglecting the intermediate stages of perception and planning, which obscures where and why a safety failure actually occurred.
Methods
To address these gaps, the authors developed AGENTSAFE, which consists of three core pillars, alongside a novel proactive defense mechanism:
- SAFE-THOR Evaluation Sandbox: Built on top of the AI2-THOR simulator, this environment features a universal agent adapter. The adapter bridges high-level VLM reasoning with low-level simulator APIs via two modules: a perception grounding module (mapping visual entities to simulator objects) and an action grounding module (translating natural language plans into executable primitives like
Navigate,Pickup, andToggle). - SAFE-DIAGNOSE Protocol: Instead of a single success metric, this protocol evaluates the agent at three distinct stages:
- Stage 1: Perception & Grounding – Measured via Grounding Recall (GR) and Hallucination Rate (HR).
- Stage 2: Planning – Evaluated via Planning Rejection Rate (PRR) and Planning Success Rate (PSR) using an LLM-as-a-Judge.
- Stage 3: Action Execution – Measured via Task Success Rate (TSR).
- SAFE-AUDIT (Defense Module): A lightweight, plug-and-play defense that acts as a zero-shot auditor. It intercepts and refines the agent's initial "global thought" before it gets broken down into actionable steps, stopping unsafe behaviors before a plan is even conceptualized.
Datasets
The paper introduces SAFE-VERSE, a large-scale, risk-aware task suite inspired by Asimov's Three Laws of Robotics.
The suite spans 45 adversarial scenarios and 104 unique interactive objects across four indoor settings (kitchens, living rooms, bedrooms, bathrooms). It contains 9,900 total instructions split into:
- Normal Instructions ($I_{\text{normal}}$): Benign daily tasks to establish a baseline for utility.
- Baseline Hazardous Instructions ($I_{\text{base}}$): Explicit commands categorized by target: Human-Harm, Environment-Harm, and Self-Harm.
- Adversarially-Enhanced Instructions ($I_{\text{adv}}$): Obfuscated commands generated using 6 distinct text-based jailbreak methods (e.g., DeepInception, PAP, ReNeLLM) to test the robustness of safety alignment.
Key Insights and Ideas
- The Planning Stage is the Weakest Link: While visual perception and object grounding remain stable regardless of whether an instruction is malicious or benign, safety alignment completely breaks down during the planning phase. Vulnerable models readily generate highly coherent, executable plans for dangerous tasks.
- The "Jailbreak Dilemma" in Embodied AI: Interestingly, text-only jailbreak techniques do not always translate effectively to physical harm. Because jailbreaks often rely on verbose narratives or complex roleplay, they can inadvertently degrade the clarity of the instruction. This makes it harder for the VLM planner to generate a structurally sound plan, occasionally causing the execution to fail purely due to incoherence rather than successful safety rejection.
- Thought-Level Intervention Beats Execution-Layer Blocking: Traditional defenses block unsafe actions right before execution, which often hurts performance on benign tasks (over-refusal). Intervening at the initial thought level (via SAFE-AUDIT) preserves the agent's utility on normal tasks while robustly neutralizing malicious intent.
Key Results
The authors benchmarked 9 state-of-the-art VLMs (including GPT-5-mini, Claude-opus-4, Claude-sonnet-3.5, Gemini-2.5-flash) and 2 agent workflows (ReAct, ProgPrompt).
- Critical Vulnerabilities: Models like Step-v1-8k and Gemini-2.5-flash displayed near-zero Planning Rejection Rates (PRR) on Self-Harm and Environment-Harm tasks, proceeding to execute dangerous commands with high success rates.
- Robust Performers: The Claude family demonstrated the strongest safety alignment, with Claude-sonnet-3.5 rejecting over 90% of Human-Harm instructions. However, it showed signs of over-conservatism, refusing 18.67% of completely benign daily tasks.
- Defense Efficacy: When evaluated against environment-harm tasks, SAFE-AUDIT drastically suppressed the Task Success Rate (TSR) of hazardous tasks to an average of 0.48%, outperforming execution-layer baselines like AgentSpec and ThinkSafe. Crucially, SAFE-AUDIT maintained or slightly improved performance on normal tasks, avoiding the utility degradation seen in other defenses.
Limitations and Future Work
The authors note several avenues for extending this research:
- Multimodal Attacks: The current benchmark primarily relies on text-based jailbreaks. Future iterations need to incorporate adversarial visual inputs (e.g., visual jailbreaks or typographic attacks).
- Adaptive Auditing: SAFE-AUDIT currently operates zero-shot; upgrading it to an adaptive, learning-based framework could allow it to continuously improve its interventions.
- Sim-to-Real Gap: Testing these safety dynamics in physical robotic deployments is a critical next step to validate if simulation failure modes hold true in the real world.
Summary updated