Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Efficient and Sound Probabilistic Verification for AI Agents

About

Securing AI agents that operate in complex digital environments has become a critical need, and runtime monitoring approaches that formulate and enforce policies expressed in a formal language like Datalog offer a promising solution. However, existing approaches are restricted to deterministic policies. In many practical applications of AI agents, there is a need to enforce security policies in the face of ambiguity, leading to probabilistic predicates or state transitions (for example, a declassifier or Personally Identifiable Information (PII) detector that has some failure probability on each invocation). Furthermore, in many such applications, one cannot easily make the independence assumptions necessary to invoke prior work on probabilistic inference in Datalog. We address this by introducing a sound and efficient framework for such verification based on distributionally robust optimization, computing sound upper bounds on the probability of policy violation regardless of possible correlations between predicates. On standard benchmarks for terminal and tool calling agents, we demonstrate that our approach outperforms prior art and improves the security-utility trade-off while ensuring rigorous bounds on the probability of policy violation.

Alaia Solko-Breslin, Pramod Kaushik Mudrakarta, Mihai Christodorescu, Somesh Jha, Krishnamurthy Dj Dvijotham• 2026

Related benchmarks

TaskDatasetResultRank
Policy EnforcementInterCode
Utility100
12
Policy EnforcementATBench
Utility100
12
Policy EnforcementSide Channel
Utility100
12
Probabilistic verificationInterCode
Average Latency (ms)221
2
Probabilistic verificationATBench
Average Latency (ms)303
2
Probabilistic verificationSide Channel
Average Latency (ms)1.93e+3
2
Showing 6 of 6 rows

Other info

Follow for update