From Refusal to Recovery: A Control-Theoretic Approach to Generative AI Guardrails
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Generative AI systems are increasingly assisting and acting on behalf of end users in practical settings, from digital shopping assistants to next-generation autonomous cars. In this context, safety is no longer about blocking harmful content, but about preempting downstream hazards like financial or physical harm. Yet, most AI guardrails continue to rely on output classification based on labeled datasets and human-specified criteria,making them brittle to new hazardous situations. Even when unsafe conditions are flagged, this detection offers no path to recovery: typically, the AI system simply refuses to act--which is not always a safe choice. In this work, we argue that agentic AI safety is fundamentally a sequential decision problem: harmful outcomes arise from the AI system's continually evolving interactions and their downstream consequences on the world. We formalize this through the lens of safety-critical control theory, but within the AI model's latent representation of the world. This enables us to build predictive guardrails that (i) monitor an AI system's outputs (actions) in real time and (ii) proactively correct risky outputs to safe ones, all in a model-agnostic manner so the same guardrail can be wrapped around any AI model. We also offer a practical training recipe for computing such guardrails at scale via safety-critical reinforcement learning. Our experiments in simulated driving and e-commerce settings demonstrate that control-theoretic guardrails can reliably steer LLM agents clear of catastrophic outcomes (from collisions to bankruptcy) while preserving task performance, offering a principled dynamic alternative to today's flag-and-block guardrails.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 65 of its 98 references that are in the map. First posted on arXiv 15 Oct 2025.
Builds on
65 of 98 references.
Closest ancestors · 3
Same direction, newest first
- 2025WebGuard: Building a Generalizable Guardrail for Web Agents18 Jul
- 2025ShieldAgent: Shielding Agents via Verifiable Safety Policy Reasoning26 Mar
- 2022Red Teaming Language Models with Language Models7 Feb
Other references · 62
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2024GPT-4o System Cardcited by 4,588
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2024OpenVLA: An Open-Source Vision-Language-Action Modelcited by 2,887
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
38 more
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2015Deep Reinforcement Learning with Double Q-learningcited by 1,745
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2023Detecting Language Model Attacks with Perplexitycited by 431
- 2025RAGEN: Understanding Self-Evolution in LLM Agents via Multi-Turn Reinforcement Learningcited by 386
- 2019Control Barrier Functions: Theory and Applicationscited by 372
- 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 365
- 2023Robots That Ask For Help: Uncertainty Alignment for Large Language Model Plannerscited by 308
- 2016Control Barrier Function Based Quadratic Programs for Safety Critical Systemscited by 287
- 2024WebRL: Training LLM Web Agents via Self-Evolving Online Curriculum Reinforcement Learningcited by 256
- 2023ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI Conversationcited by 231
- 2024ArCHer: Training Language Model Agents via Hierarchical Multi-Turn RLcited by 228
- 2017Hamilton-Jacobi Reachability: A Brief Overview and Recent Advancescited by 201
- 2024AHA: A Vision-Language-Model for Detecting and Reasoning Over Failures in Robotic Manipulationcited by 125
- 2023Dolphins: Multimodal Language Model for Drivingcited by 124
- 2024AgentGym: Evolving Large Language Model-based Agents across Diverse Environmentscited by 120
- 2018A predictive safety filter for learning-based control of constrained nonlinear dynamical systemscited by 118
- 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systemscited by 96
- 2021Safe Nonlinear Control Using Robust Neural Lyapunov-Barrier Functionscited by 94
- 2020DeepReach: A Deep Learning Approach to High-Dimensional Reachabilitycited by 91
- 2023The Safety Filter: A Unified View of Safety-Critical Control in Autonomous Systemscited by 88
- 2021Learning Safe Multi-Agent Control with Decentralized Neural Barrier Certificatescited by 74
- 2024Agile But Safe: Learning Collision-Free High-Speed Legged Locomotioncited by 73
- 2025AgentGym-RL: Training LLM Agents for Long-Horizon Decision Making through Multi-Turn Reinforcement Learningcited by 72
- 2024Building Guardrails for Large Language Modelscited by 65
- 2024Aligning Large Language Models with Representation Editing: A Control Perspectivecited by 64
- 2023NL2TL: Transforming Natural Languages to Temporal Logics using Large Language Modelscited by 59
- 2024Driving Everywhere with Large Language Model Policy Adaptationcited by 53
- 2025From Foresight to Forethought: VLM-In-the-Loop Policy Steering via Latent Alignmentcited by 52
- 2021Safety and Liveness Guarantees through Reach-Avoid Reinforcement Learningcited by 49
- 2024Current state of LLM Risks and AI Guardrailscited by 46
- 2025Generalizing Safety Beyond Collision-Avoidance via Latent-Space Reachability Analysiscited by 45
- 2025An Approach to Technical AGI Safety and Securitycited by 45
- 2014Reach-Avoid Problems with Time-Varying Dynamics, Targets and Constraintscited by 44
- 2025Generating Robot Constitutions & Benchmarks for Semantic Safetycited by 33
- 2025Uncertainty-aware Latent Safety Filters for Avoiding Out-of-Distribution Failurescited by 33
- 2022ISAACS: Iterative Soft Adversarial Actor-Critic for Safetycited by 28
- 2025Coding Agents with Multimodal Browsing are Generalist Problem Solverscited by 25
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025The SMART+ Framework for AI Systemscited by 0
- 2025The SMART+ Framework for AI Systems9 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2026Agentic Safety is an Epistemic Property, Not a Behavioral One
- 2026AgentDoG: A Diagnostic Guardrail Framework for AI Agent Safety and Security
- 2026Position: AI Safety Requires Effective Controllability
- 2026The safety failures we are not instrumenting: a perspective on hidden safety-critical challenges in modern AI systems
- 2025Building a Foundational Guardrail for General Agentic Systems via Synthetic Data
- 2026Beyond single-channel agentic benchmarking
- 2026From AI-Generated Content to Agentic Action: Security and Safety Threats in Generative AI
- 2026Agentic Microphysics: A Manifesto for Generative AI Safety