Why Does Agentic Safety Fail to Generalize Across Tasks?
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
AI agents are increasingly deployed in multi-task settings, where the task to perform is specified at test time, and the agent must generalize to unseen tasks. A major concern in such settings is safety: often, an agent must not only execute unseen tasks, but do so while avoiding risks and handling ones that materialize. Empirical evidence suggests that even when the ability to execute generalizes to unseen tasks, the ability to do so safely frequently does not. This paper provides theory and experiments indicating that failures of agentic safety to generalize across tasks are not merely due to limitations of training methods, but can also reflect an inherent property of safety itself: the relationship between a task and its safe execution is more complex than the relationship between a task and its execution alone. Theoretically, we analyze linear-quadratic control with H∞-robustness, and prove that in many cases, the mapping from task specification to an optimal controller has higher Lipschitz constant with safety requirements than without, yielding a Lipschitz bound of independent interest. Empirically, we demonstrate our conclusions in simulated quadcopter navigation with a neural network agent and in CRM with an LLM agent, showing that imitating safe and unsafe teachers is similarly straightforward on tasks seen in training, yet generalizing across tasks is considerably more difficult with the safe teacher. Our findings suggest that current efforts to enhance agentic safety may be insufficient, and point to a need for fundamentally different approaches.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 22 of its 138 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
22 of 138 references.
Closest ancestors · 2
Same direction, newest first
- 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
- 2024SafeAgentBench: A Benchmark for Safe Task Planning of Embodied LLM Agents17 Dec
Other references · 20
- 2023GPT-4 Technical Reportcited by 18,132
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023Gemini: A Family of Highly Capable Multimodal Modelscited by 810
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
- 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 490
- 2017Deep Reinforcement Learning: An Overviewcited by 327
- 2018Safe Exploration in Continuous Action Spacescited by 237
- 2018Assessing Generalization in Deep Reinforcement Learningcited by 132
- 2022Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goalscited by 120
8 more
- 2017Theory of Deep Learning III: explaining the non-overfitting puzzlecited by 32
- 2022Trustworthy Reinforcement Learning Against Intrinsic Vulnerabilities: Robustness, Safety, and Generalizabilitycited by 32
- 2019Generalizing from a few environments in safety-critical reinforcement learningcited by 8
- 2021MESA: Offline Meta-RL for Safe Adaptation and Fault Tolerancecited by 7
- 2026Paying Less Generalization Tax: A Cross-Domain Generalization Study of RL Training for LLM Agentscited by 6
- 2026Outcome-Based RL Provably Leads Transformers to Reason, but Only With the Right Datacited by 5
- 2023A System for Human-AI collaboration for Online Customer Supportcited by 3
- 2026Multitask LQG Control: Performance and Generalization Boundscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Beyond single-channel agentic benchmarking
- 2026Position: AI Safety Requires Effective Controllability
- 2025Evaluating LLM Agent Adherence to Hierarchical Safety Principles: A Lightweight Benchmark for Probing Foundational Controllability Components
- 2026Taxonomy and Consistency Analysis of Safety Benchmarks for AI Agents
- 2025How Brittle is Agent Safety? Rethinking Agent Risk under Intent Concealment and Task Complexity
- 2026Agentic Safety is an Epistemic Property, Not a Behavioral One
- 2025Towards Safe Robot Foundation Models
- 2026When Safety Geometry Collapses: Fine-Tuning Vulnerabilities in Agentic Guard Models