Search papers, labs, and topics across Lattice.
This paper introduces a novel framework for probabilistic verification of AI agents that operates effectively in complex environments, overcoming the limitations of existing deterministic policy approaches. By employing distributionally robust optimization, the method computes sound upper bounds on the probability of policy violations without relying on independence assumptions between predicates. Experimental results on standard benchmarks reveal that this framework not only enhances the security-utility trade-off but also outperforms previous methods in ensuring policy adherence.
Achieving sound probabilistic verification for AI agents could redefine how we secure complex systems against policy violations in uncertain environments.
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.