Pandora's Toolbox Or Why Agent Safety Cannot Be Verified
Mario Franco, Carlos Gershenson
Abstract
Present artificial intelligence agents are constructed by means of a coupling between a fixed language model with a general computing device. We show that this coupling makes safety undecidable. In particular, we show that given some dangerous program, no algorithm can predict whether an agent will run such a program that is semantically equivalent. In general, guardrails, blacklists, whitelists and certifications can only lead to imperfect safety solutions. Under finite constraints (bounded context, values and running time) safety is decidable but still intractable. Specifically, the problem is PSPACE-complete even when the description of the agent is known. Finally, safety is not a compositional property, i.e., agents that can be proven safe on their own can still produce unsafe behavior when grouped together. We also discuss relaxed notions of safety that could be used in practice.
Create a lesson
Related papers
MetaRigor: From Agentic Automation to Verifiable End-to-End Meta-Analysis Through Scientific Decision Boundaries
Shared title terminology · Yifeng Xie, Chenke Li, Yangshuo Miao et al.
Learning Inside Types: Epistemic Typestates for Safe Multi-Agent Reinforcement Learning
Shared title terminology · Lorenzo Bacchiani, Mario Bravetti, Giovanni Pau et al.
From Manufacturing Event Logs to Simulation: Enabling SMEs with Agentic AI for SimPy Simulation Generation
Shared title terminology · Richard Reider, Lina Döring, Sebastian Lang et al.
Jagged Robustness: Uneven Safety Transfer and Emerging Vulnerabilities under LLM Quantization
Shared title terminology · Ramneek Agnihotri, Yingte Xu, Hans Vath
Evidence sufficiency assessment enables cost-effective review allocation in on-premise clinical AI agents
Shared title terminology · Yiwen Qiu, Che Sun, Shu Shen et al.
γ-Scape: An Agent-Centric World for Mobile Embodied Intelligence
Shared title terminology · Xiaotao Zhang, Lin Qian, Hao Zhang et al.