SENTINEL: A Multi-Level Formal Framework for Safety Evaluation of LLM-based Embodied Agents

Simon Sinong Zhan, Yao Liu, Philip Wang, Zinan Wang, Qineng Wang, Zhian Ruan, Xiangyu Shi, Xinyu Cao, Frank Yang, Kangrui Wang, Huajie Shao, Manling Li, Qi Zhu · OpenReview

Abstract

We present SENTINEL, a framework for formally evaluating the physical safety of foundation model (FM)-based embodied agents. SENTINEL is the first to provide multi-level safety evaluation across semantic interpretation, plan generation, and physical execution within a unified formal framework. Unlike prior methods that rely on heuristic rules or subjective FM judgments, SENTINEL grounds practical safety requirements in formal temporal logic (TL) semantics that can precisely specify state invariants, temporal dependencies, and timing constraints. It employs a multi-level verification pipeline where (i) at the semantic level, intuitive natural language safety requirements are formalized into TL formulas and the agent's understanding of these requirements is probed for alignment with the TL formulas; (ii) at the plan level, high-level action plans and subgoals generated by the agent are verified against the TL formulas to detect unsafe plans before execution; and (iii) at the trajectory level, multiple execution trajectories are merged into a computation tree and efficiently verified against physically-detailed TL specifications for a final safety check. We apply SENTINEL in VirtualHome and AI2-THOR, and formally evaluate multiple FM-based embodied agents against diverse safety requirements. Our experiments show that by grounding physical safety in temporal logic and applying verification methods across multiple levels, SENTINEL provides a rigorous foundation for systematically evaluating the safety of FM-based embodied agents in simulation-based physical environments, and can effectively expose potential safety violations in interpreting, planning, and executing the tasks.

1. Introduction

As foundation models (FMs) are increasingly integrated into embodied agents, robots are becoming more capable of performing complex household and industrial tasks. However, this increased competence introduces significant safety risks. A robot might logically conclude that heating aluminum foil in a microwave or placing a laptop near a splashing sink is an efficient way to complete a task, despite the inherent physical hazards.

Existing benchmarks primarily measure task success—whether the robot completed the objective—while often neglecting safety. When safety is considered, evaluations typically rely on subjective "vibes-based" judgments from other AI models or simple heuristic rules. SENTINEL addresses this critical gap by providing a unified, formal method to systematically define and verify safety across the entire pipeline, from initial instruction understanding to physical movement.

2. The SENTINEL Framework

SENTINEL introduces a three-tiered verification pipeline grounded in formal temporal logic, ensuring that safety is maintained at every stage of the agent's decision-making process.

The SENTINEL multi-level verification pipeline, spanning semantic, plan, and trajectory levels.

2.1 Semantic-Level Safety

At this level, the framework tests whether an agent can correctly translate natural language safety rules (e.g., "avoid spilling water near electronics") into Linear Temporal Logic (LTL). This step ensures the robot accurately interprets the "laws" it must follow before any planning occurs.

2.2 Plan-Level Safety

SENTINEL verifies high-level action plans and subgoals generated by the agent against the formalized LTL constraints. By checking the logic of the plan before execution, the system can preemptively catch unsafe sequences, such as a plan that involves turning on an oven while flammable materials are nearby.

2.3 Trajectory-Level Safety

Physical execution is inherently non-deterministic. To account for this, SENTINEL merges multiple execution attempts into a Computation Tree. It then utilizes Computation Tree Logic (CTL) to verify that safety properties hold across all possible branching outcomes in the simulated environment.

Detailed trajectory-level safety evaluation process, showing the conversion of action sequences into a computation tree for CTL verification.

3. Experimental Setup

The researchers evaluated SENTINEL using two major robotics simulation platforms:

  • VirtualHome: Utilized for high-level semantic and planning tasks.
  • AI2-THOR: Utilized for physically detailed trajectory evaluation.

A new safety-centric benchmark was introduced, consisting of 211 scenes and tasks covering 75 different objects. These tasks involve specific hazards like fire risks, electrical misuse, and liquid spills, providing a more rigorous safety test than standard benchmarks like ALFRED.

4. Key Insights and Results

  • Safety as a "Leaky" Pipeline: A robot can fail at any stage. It might understand a rule but generate a flawed plan, or have a perfect plan but fail to execute it safely due to low-level control errors, such as colliding with a cabinet while holding a sharp object.
  • The Complexity of "No": While FMs are proficient at "Global Prohibitions" (Never do X), they struggle significantly with "Conditional Prohibitions" (Don't do X if Y is occurring).
  • Tree-Based Efficiency: Verifying safety on a merged computation tree using CTL is significantly more efficient than checking individual execution paths. The study demonstrated a ~20x speedup when evaluating 100 trajectories.
  • Execution is the Bottleneck: Even when agents generate "safe" plans, the combined Success & Safety rate at the trajectory level remains low (often below 30% for complex tasks). This suggests that unsafe behaviors frequently emerge from low-level action arguments and a lack of built-in safety guarantees in current robot controllers.
  • Model Performance: Top-tier models like GPT-4o and Claude 3.5 Sonnet outperform smaller open-source models in semantic interpretation, yet they still struggle with complex temporal dependencies. Furthermore, providing safety constraints in a structured LTL format leads to significantly safer plans than plain English instructions.

5. Conclusion and Future Work

SENTINEL provides a rigorous foundation for evaluating the safety of FM-based embodied agents. While currently operating in simulation, future work aims to bridge the sim-to-real gap by addressing sensor noise and unpredictable real-world physics. Other promising directions include moving toward probabilistic model checking to handle uncertainty and using SENTINEL’s formal feedback (counterexamples) to automatically "repair" unsafe robot behavior through iterative self-reflection or fine-tuning.

Summary updated

BibTeX
@misc{zhan2025sentinel,
  author = {Simon Sinong Zhan and Yao Liu and Philip Wang and Zinan Wang and Qineng Wang and Zhian Ruan and Xiangyu Shi and Xinyu Cao and Frank Yang and Kangrui Wang and Huajie Shao and Manling Li and Qi Zhu},
  title = {{SENTINEL: A Multi-Level Formal Framework for Safety Evaluation of LLM-based Embodied Agents}},
  year = {2025},
  eprint = {2510.12985},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.12985},
}
Figure