CAPSafe: A Benchmark for Contextual Action and Plan Safety Reasoning in Embodied Agents
Organizations: Cambridge Research Laboratory, Toshiba Europe Ltd, Cambridge, UK
Abstract
Reasoning about safety is essential for embodied agents powered by large language models (LLMs). We introduce the Contextual Action and Plan Safety benchmark (CAPSafe), designed to evaluate safety reasoning at two levels: (1) an action-level dataset that tests whether a single action is safe given its environmental context, and (2) a plan-level dataset that evaluates whether agents can generate safe long-horizon plans for complex hazardous household tasks. CAPSafe models safety conditions where hazards are situational (inferred from object properties), multiple hazards can co-occur within the same environment, and each is annotated with a relative severity level for fine-grained analysis. Evaluating nine closed and open-source LLMs reveals a substantial gap between hazard recognition and safe long-horizon planning. Several models achieve high accuracy in recognizing unsafe actions (exceeding 90% in the best cases), yet safe long-horizon planning remains substantially harder. Gemini-3-pro achieves the highest safe success rate (78.19%), while other models remain below 65%. These results highlight that robust safety reasoning over long action sequences remains an open challenge.
Figures & tables
| Benchmark | Situational safety | Online safety eval | Safety eval method | Task eval method | Hazard severity | Mean hazards / scene | Mean objects / scene | Mean required steps / task |
| SafePlan-Bench Huang et al. (2025b) | SIM | SIM | - | - | - | |||
| SafeAgent-Bench Yin et al. (2024) | SIM+LLM | SIM+LLM | - | |||||
| EARBench Zhu et al. (2024) | LLM | LLM | 1 | - | ||||
| EMBODYGUARD Son et al. (2025) | SIM | SIM | 1 | |||||
| Is-Bench Lu et al. (2025) | SIM | SIM | ||||||
| AGENTSAFE Liu et al. (2025) | LLM | SIM | - | - | - |
| Task: Microwave a plate containing 1 slice of potato | |
| Hazard | Mitigation |
| During Execution | |
| (1) Metal Spoon-1 inside Microwave-1 | Remove object |
| (2) Metal Knife-1 in Plate-1 inside Microwave-1 | |
| (3) Plate-3 is made of metal | Use another object |
| (4) Potato-2 is expired | |
| Model | Acc | R safe | R unsafe |
| GPT-5-mini | |||
| GPT-4.1 | |||
| Claude-Sonnet-4.5 | |||
| Gemini-3-pro | 99.20 | ||
| Qwen2.5-72B | |||
| Qwen3-32B | 92.60 | 93.40 |
| Model | Metrics | ||||||||||||||
| SuR | SaR | SSR | |||||||||||||
| Base | +SafEx | +Guide | +SafEx +Guide | +Reflect | Base | +SafEx | +Guide | +SafEx +Guide | +Reflect | Base | +SafEx | +Guide | +SafEx +Guide | +Reflect | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GPT-5-mini | |||||||||||||||
| GPT-4.1 | |||||||||||||||
| Claude-Sonnet-4.5 | |||||||||||||||
| Gemini-3-pro | |||||||||||||||
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| From TEACH | ||
| Task | Total # task instances | Avg Hazards per task |
| Make coffee | ||
| Boil potato | ||
| Water plant | ||
| Make breakfast | ||
| Make salad | ||
| Model | Injury | Sanitary/Hygiene | Electric | Fire | Object Damage |
| GPT-5-mini | 0.98 | ||||
| GPT-4.1 | |||||
| Claude-Sonnet-4.5 | |||||
| Gemini-3-pro | 1.00 | 0.97 | 1.00 | 0.98 | 1.00 |
| Qwen2.5-72B | |||||
| Qwen3-32B |
| Category | Hazard Cause | Action | Related Objects | Related Properties | Degree |
| Fire | place plastic/paper/cloth object on hot stove | Place(X,Y) | StoveBurner, Pot, Pan, Towel, … | material, is toggled on, temperature | Severe |
| toggle on stove containing plastic/paper/cloth object | Toggle_on(X) | StoveBurner, Pot, Pan, Towel, … | material, location, is toggled on | Severe | |
| cover hot lamp with cloth object | Place(X,Y) | FloorLamp, DeskLamp, Cloth, HandTowel, .. | is toggled on, temperature | Severe | |
| cover lit candle with cloth object | Place(X,Y) | Candle, Cloth, Towel, .. | is toggled on, temperature | Severe | |
| place lit candle in wooden receptacle | Place(X,Y) | Candle, Drawer, Cabinet, .. | is toggled on, temperature | Severe | |
| place lit candle in plant | Place(X,Y) | Candle, HousePlant | is toggled on, temperature | Severe |
AI Agent Safety
AI agent safety studies how to prevent and detect harmful actions by autonomous systems that use tools, memory, and multi-step plans.
See all 326 papers