Back to Feed
Agents / Safety & Alignment

Detecting Physical Dangers in AI Planning

Original: When Words Are Safe But Actions Kill: Probing Physical Danger Beyond Text Safety in Hidden-State Risk Space

Listen to the summary

Uses a voice available on your device

Audio options
On this page 4 sections
Related concepts 4 concepts

Key Takeaways

  • PRISM achieves 86.2 to 87.7 percent accuracy in detecting physical danger on the SafeAgentBench dataset.
  • The method demonstrates high reliability on the PhysicalSafetyBench 1K benchmark with 99.6 percent accuracy and 0.7 percent false positive rate.
  • PRISM functions as a single layer logistic regression probe applied to the middle to late hidden states of a frozen large language model.
  • The approach effectively separates content danger from physical danger using class mean directions in the model hidden state space.

Summary & Methodology Analysis

The researchers identified that large language models functioning as embodied agent planners often receive linguistically benign instructions that carry physical risks. To address this, they analyze the hidden state space, which is the internal representation of data as high dimensional vectors within the neural network. They isolate specific directions, known as Content Danger Direction and Physical Danger Direction, to quantify how the model represents these distinct types of risks. This allows the system to distinguish between text that is socially harmful versus instructions that might lead to physical damage when executed by an agent in a physical environment.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the main problem addressed by the researchers?

The paper addresses the safety risk when large language models act as planners for embodied agents, where instructions that seem harmless in text can lead to dangerous outcomes in the physical world.

Q2. What is the core contribution of this work?

The researchers developed PRISM, a probe that monitors hidden states of a frozen model to detect physically dangerous instructions.

Q3. Does this provide a complete safety solution for AI agents?

No, the authors note that PRISM is not a complete embodied agent safety system.

Q4. What is PRISM technically?

PRISM is a single layer L2 regularized logistic regression probe that operates on middle to late hidden states of a frozen large language model.

Q5. How does PRISM determine safety?

It uses cross validation to select model layers and standardizes hidden state features to classify instructions as safe or unsafe based on the identified danger directions.

Q6. Which models were tested using this method?

The models include Qwen2.5 3B, 7B, 14B, and 32B, alongside Phi 3.5 mini, SmolLM2 1.7B, and Llama Guard 3 1B.

Q7. What benchmarks were used to validate the results?

The team utilized SafeAgentBench, PhysicalSafetyBench 1K, SafeText, EARBench, and the AI2 THOR environment.

Q8. Are the identified danger directions strictly orthogonal?

No, the paper specifies that the directions are separable rather than strictly orthogonal.

Q9. Does this paper provide a general throughput claim regarding latency?

No, the latency analysis provided is a local diagnostic rather than a general throughput claim.