# Efficient and Sound Probabilistic Verification for AI Agents

Source: [Efficient and Sound Probabilistic Verification for AI Agents](<https://www.sota2.com/research/paper/6a34cd52206542251d7c61b2>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-06-20T05:00:13.953Z

Authors: Alaia Solko-Breslin, Pramod Kaushik Mudrakarta, Mihai Christodorescu, Somesh Jha, Krishnamurthy Dj Dvijotham

Published: 2026-06-18T17:27:59.000Z

## Abstract

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.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Probabilistic Verification on Intercode](<https://www.sota2.com/research/sota/probabilistic-verification-on-intercode.md>): Probabilistic verification; InterCode; Average Latency (ms): 221.

- [Probabilistic Verification on ATBench](<https://www.sota2.com/research/sota/probabilistic-verification-on-atbench.md>): Probabilistic verification; ATBench; Average Latency (ms): 303.

- [Policy Enforcement on Intercode](<https://www.sota2.com/research/sota/policy-enforcement-on-intercode.md>): Policy Enforcement; InterCode; Utility: 100.

- [Probabilistic Verification on Side Channel](<https://www.sota2.com/research/sota/probabilistic-verification-on-side-channel.md>): Probabilistic verification; Side Channel; Average Latency (ms): 1927.

- [Policy Enforcement on ATBench](<https://www.sota2.com/research/sota/policy-enforcement-on-atbench.md>): Policy Enforcement; ATBench; Utility: 100.

- [Policy Enforcement on Side Channel](<https://www.sota2.com/research/sota/policy-enforcement-on-side-channel.md>): Policy Enforcement; Side Channel; Utility: 100.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2606.20510>)

[PDF](<https://arxiv.org/pdf/2606.20510.pdf>)
