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

Simon Sinong Zhan, Philip Wang, Yao Liu, Yiyan Peng, Zinan Wang, Qineng Wang, Zhian Ruan, Xiangyu Shi, Xinyu Cao, Frank Yang, Zhenyang Ni, Kangrui Wang, Ruohan Zhang, Huajie Shao, Manling Li, Qi Zhu

TL;DR

SENTINEL is a novel, multi-level formal verification framework designed to evaluate and improve the physical safety of foundation model (FM)-based embodied agents. By grounding safety requirements in rigorous temporal logic (LTL and CTL) rather than unreliable heuristic rules or LLM judges, SENTINEL systematically evaluates agent safety across three critical stages: semantic interpretation, high-level planning, and physical trajectory execution.

Figure 1: Overview of SENTINEL: a specification-based framework that progressively evaluates safety at the semantic, plan, and trajectory levels, localizing failures with counterexamples and feedback.

What Problem Does This Paper Address?

While foundation models have dramatically boosted the planning and reasoning capabilities of embodied agents (like household robots), they also introduce severe safety risks. A robot tasked with cooking dinner might inadvertently heat aluminum foil in a microwave or place a laptop too close to a filled sink.

Existing benchmarks primarily reward agents for task completion while ignoring these hazards, or they rely on ad-hoc heuristic rules and subjective "LLM-as-Judge" evaluations to flag safety violations. Furthermore, safety failures can happen at different abstraction layers:

  1. Semantic Level: The agent misinterprets a natural language safety rule.
  2. Plan Level: The agent understands the rule but generates an unsafe sequence of high-level subgoals.
  3. Trajectory Level: The high-level plan seems safe, but the low-level controller or environmental non-determinism triggers a physical hazard (e.g., a collision).

Current evaluation methods fail to isolate where these errors originate or formally verify them within a unified framework.

Methods

SENTINEL introduces a progressive, multi-level formal safety evaluation pipeline:

Figure 2: SENTINEL’s multi-level formal safety evaluation pipeline: (A) Semantic-level evalua- tion checks whether foundation models correctly translate natural-language safety rules into LTL constraints by comparing agent-generated formulas with template-instantiated ground truth. (B) Plan-level evaluation verifies high-level plans against LTL safety constraints before execution, iden- tifying unsafe symbolic orderings, missing preconditions, and invalid plans. (C) Trajectory-level evaluation executes candidate action sequences in simulation, merges rollouts into a computation tree, and applies CTL checking to detect execution-dependent violations and counterexample paths.
  • Semantic-Level Evaluation: Natural language safety requirements are translated into Linear Temporal Logic (LTL) formulas. SENTINEL probes the agent's comprehension by comparing its self-generated LTL formulas against template-instantiated ground truths, verifying logical equivalence via automata-theoretic language containment checks (Büchi automata).
  • Plan-Level Evaluation: Before an agent executes a task, its high-level symbolic plans and subgoals are verified against the LTL formulas to catch logical sequencing errors or missing preconditions early.
  • Trajectory-Level Evaluation: Because physical execution is inherently non-deterministic, SENTINEL samples multiple execution paths from the simulator and merges them into a single computation tree. It then applies Computation Tree Logic (CTL) to efficiently check branching-time safety properties (e.g., ensuring that all possible paths avoid a critical hazard).
  • Agentic Refinement Loop: When a safety violation is detected, SENTINEL generates a mathematically verifiable counterexample trace. This precise feedback is fed back into the agent's prompt, allowing it to iteratively correct its planning and execution behavior.

Datasets

The authors evaluated SENTINEL across two prominent embodied AI simulation environments, expanding them with safety-critical requirements:

  • VirtualHome: Used for evaluating long-horizon symbolic planning tasks.
  • AI2-THOR / ALFRED: Used for physically grounded execution where spatial and environmental dynamics matter.

In total, they curated a benchmark of 211 scenes covering 75 safety-related objects across diverse hazard categories (e.g., fire risks, electrical appliance misuse, sharp object handling, and liquid spills). They also validated the framework's real-world transferability using a physical Franka Emika Panda robot arm setup.

Key Insights and Ideas

  • The Failure of LLM Judges: One of the paper's most striking findings is that using an LLM as a safety judge is highly unreliable. In evaluations, an LLM judge (Claude-Opus-4.7) correctly labeled safe paths but missed nearly 83% of truly unsafe trajectories, highlighting the absolute necessity of formal verification.
  • Conditional Prohibitions are Hard: Models are generally proficient at respecting global prohibitions ("never do X"). However, they struggle significantly with conditional safety rules ("if the stove is on, paper must not be nearby"). These context-dependent constraints require tracking state dependencies over time, where even advanced frontier models frequently stumble.
  • The Plan-Execution Gap: A high-level plan can look completely safe symbolically, yet still fail during execution. For instance, a robot might safely plan to open a cabinet and retrieve a bottle, but the physical trajectory of opening the cabinet door while holding another object can trigger an unforeseen collision.

Key Results

  • Double the Safety Improvements: When integrated into an iterative refinement loop, SENTINEL's verifiable counterexample feedback roughly doubled the safety improvement compared to an LLM-as-Judge baseline (+10.8% vs. +5.2% on absolute safety rate), without sacrificing task success.
  • Computational Efficiency: Verifying a merged computation tree using CTL proved to be significantly faster than independently checking individual rollouts using LTL. This tree-representation approach effectively amortizes repeated state checking as the number of sampled trajectories scales.
  • Model Benchmarking: The framework exposed safety vulnerabilities across a wide spectrum of models (including GPT-5.5, Claude-Opus-4.7, and DeepSeek-V3.1). While larger closed-source models excelled at semantic translation, all models exhibited low absolute safety scores during long-horizon physical execution, underscoring the need for trajectory-level verification.

Limitations and Future Work

  • Empirical, Not Exhaustive Verification: Because SENTINEL operates on a finite computation tree built from sampled simulation rollouts, it provides empirical detection rather than a mathematical guarantee of absolute safety; rare edge-case violations might still be missed if not sampled.
  • Discrete Logic Constraints: The current framework relies on discrete state propositions (e.g., OvenOn, Nearby). The authors note that lifting the framework to Signal Temporal Logic (STL) would allow it to handle continuous physical signals like velocity bounds and force thresholds.
  • Sim-to-Real Complexities: While the preliminary tabletop robot arm case study demonstrated that simulated violations map well to real hardware hazards, scaling this to handle real-world perception noise and unmodeled physical dynamics remains an open challenge.

Summary updated

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