VEPA: Verified Evolving Formal Policy for Lifelong LLM Agent Guardrails
Duy Nguyen, Lesly Miculicich, Bhavana Dalvi Mishra, Shuo Li, Krishnamurthy Dj Dvijotham, Mohit Bansal, Tomas Pfister, Long T. Le
Abstract
LLM agents increasingly operate over sensitive resources, such as private documents and mutable system states, which can create serious safety and security risks. Runtime guardrails should therefore make inspectable, reproducible, and deterministic allow or refuse decisions before potentially irreversible agent actions are executed. However, safety and security requirements are rarely complete before deployment, so guardrails need to keep adapting as new risks emerge. Existing adaptive guardrails learn from deployment experience, but they usually apply safety policies through LLM inference, which can lead to inconsistent decisions and ambiguous policy interpretations. Formal guardrails, on the other hand, enforce policies deterministically, but they usually rely on pre-deployment or task-specific policies and have no mechanism to adapt to newly observed risks. We introduce VEPA, a framework for the verified evolution of formal agent guardrails. VEPA represents the guardrail as a formal policy of executable symbolic rules over typed agent events. During deployment, we use an LLM guided by deployment feedback to propose policy patches that fix newly observed failures while preserving previously correct behavior. Then, a deterministic verifier only accepts policies that are structurally valid and conflict-free. Finally, an evidence-aware authority layer activates a verified rule only when it has enough supporting evidence, so uncertain updates cannot directly affect guardrail decisions. Across ASSEBench-Safety, ASSEBench-Security, and ATBench, VEPA consistently outperforms baselines while expanding the scope of deterministic formal-policy enforcement. These gains also hold under more challenging deployment conditions, including mixed streams, corrupted feedback, and longer horizons.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, cs.CR, cs.LG
- Comments
- 33 pages, 14 figures
Related papers
Who Verifies the Verifier? Co-Evolving Inspectable Graders with Self-Improving Agents
Shared title terminologycs.AIXing Zhang, Guanghui Wang, Yanwei Cui et al.
Self-Evolving Evaluation Environments for Computer-Use Agents
Shared title terminologycs.AIWenhao Wang, Panrong Tong, Quyu Kong et al.
Learning What to Change: State-Verified Reinforcement Learning for Educational Agents
Shared title terminologycs.AIShengyao Wang, Siyuan Su, Siyu Song et al.
MobileGrail: Learning Compact Guardrails for On-Device deployable Mobile GUI Agent Safety
Shared title terminologycs.AIZhiyu Zhang, Yuankai Li, Muhao Chen
DoppelVet: Comparative Safety Verification for Self-Evolving Agents
Shared title terminologycs.AIYifan Duan, Du Yin, Siyuan Zheng et al.
Counterfactual Regret for Reflective Agents with Lean-Verified Guarantees
Shared title terminologycs.AIZhongnian Li, Shi Xu, Mengting Xu et al.