arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.22124

PROBE: Learning to Audit Policy Compliance in Tool-Using LLM Agents

Kshitij Mishra, Abhijith Sharma, Nils Lukas, Salem Lahlou

Abstract

Modern agentic systems extend language models with external tools, enabling them to complete complex tasks through multi-turn interactions. As these agents are deployed in consequential settings, their behavior is often constrained by policies governing pricing, privacy, confirmation, safety, and other operational requirements. However, existing evaluation methods leave a critical gap: capability benchmarks measure what agents can accomplish, while content-safety red-teaming measures harmful generations, but neither tests whether agents comply with predefined policies during otherwise valid tool use. Such policy violations are difficult to audit because their effects may emerge only after several turns, span multiple tool calls, or surface in downstream systems. We propose PROBE 1^{1} (Policy Rule Observation via Behavioral Exploration), an algorithm for training LLM-based auditors that interact with deployed target agents as realistic users and probe them for policy violations through multi-turn, tool-mediated dialogue. We formalize agent auditing as a two-player Markov game and propose a composite reward that balances violation discovery, behavioral plausibility, conversation progress, and policy diversity. To study the role of training objectives and reward design, we compare GRPO, DPO, and GFlowNet-based optimization in a controlled setting. Across extensive experiments, auditors trained with PROBE uncover substantially broader and higher-yield policy violations than same-architecture zero-shot adversaries, even when the auditor is significantly smaller than the target agent. Our results show that multi-turn behavioral auditing is a distinct and necessary axis of agent evaluation, complementing capability and content-safety benchmarks. PROBE offers a scalable path toward automated policy auditing for real-world agentic systems and suggests a future co-evolutionary loop in which auditors expose failures and agents improve from auditor feedback.

1 Introduction

Language models are increasingly deployed as agents that execute multi-step workflows, interleaving dialogues with external tools, databases, and APIs. This shifts the evaluation from assessing an isolated generated response to verifying the quality of the full interaction trace. An interaction trace is the sequence of user utterances, assistant responses, tool calls, and state changes that, taken together, must satisfy the task-relevant policies. For instance, a flight-booking assistant can successfully book a trip while violating policy by using unsupported currencies, exposing an internal code, skipping explicit confirmation before payment, or attempting to hold an itinerary to a restricted destination.

A missing evaluation axis. Current evaluation practice does not directly measure this property. Capability benchmarks ask whether an agent completes a task [Zhou et al., 2023, Xie et al., 2024, Drouin et al., 2024, Liu et al., 2023, Qin et al., 2023]; content-safety benchmarks ask whether a model emits disallowed text [Perez et al., 2022, Chao et al., 2025, Mazeika et al., 2024, Chao et al., 2024].

∗^{*}Equal contribution. Either author may list their name first on their CV.

1^{1}Code: https://github.com/Mishrakshitij/PROBE

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: PROBE overview. Verifiers score the full trace, including tool calls hidden from the auditor; the composite reward (Eq. 1) drives one of three updates. Bottom: an illustrative rollout.

Policy compliance asks a different question: does the agent follow its prescribed rules while carrying out an otherwise legitimate task? The answer may depend on information that is invisible in the final response: whether a tool was called before the required slots were available, whether a mutating action occurred before the user's confirmation, or whether a quoted itinerary was supported by tool outputs.

These failures are hard to audit because multi-turn dialogues induce a large space of possible interaction traces. A static suite of scripted conversations can test known edge cases, but it cannot cover the combinatorial space induced by user phrasing, database state, tool availability, policy preconditions, and multi-turn dialogue. This perspective mirrors penetration testing [Arkin et al., 2005]: instead of hand-enumerating possible exploits, we train an adaptive tester to interact through the same user-facing interface and discover failures that are reachable in practice.

Our approach. We propose PROBE (Policy Rule Observation via Behavioral Exploration), an algorithm to train LLM-based auditors of tool-using agents. The auditor is a smaller model that can play a plausible customer or a tester. It has no access to the target agent's weights, hidden prompt, database, or verifier labels; it only sees the dialogue interface. During training, a verifier suite scores the full trace, rewarding distinct high-severity policy failures while shaping the auditor toward deep tool states and realistic user behavior. The target agent is frozen, so improvements in discovery are due to learned auditing rather than changes in the deployed assistant.

Our empirical study uses SKYASSIST, a deterministic flight-booking environment with 8 tools and 20 operational policies spanning business, safety, privacy, and operational requirements. We compare three optimizers that impose different inductive biases: GRPO [Shao et al., 2024], DPO [Rafailov et al., 2023], and GFlowNet [Bengio et al., 2023]. The setting is deliberately asymmetric: the auditor is a Qwen3-4B-Instruct model [Yang et al., 2025] trained with QLoRA [Dettmers et al., 2023]; the target is a frozen Qwen3-30B-A3B model served with vLLM [Kwon et al., 2023]. Despite this asymmetry, learned auditors improve held-out policy coverage from 35% for a strong zero-shot auditor to 60%, and produce multi-policy failures in up to 94% of evaluation episodes. Under deterministic re-scoring they reach 55% (5% for a static suite) and transfer to τ\tau-bench [Yao et al., 2024].

Contributions. Our work makes five key contributions.

  1. Formalized black-box policy auditing as a two-player Markov game over multi-turn tool traces.

  2. Proposed a curriculum-based multi-turn training algorithm PROBE for realistic LLM auditors.

  3. Designed a novel reward that treats policy auditing as discovery of distinct trace-level failures, not maximization of repeated verifier hits.

  4. Provide a controlled reward–algorithm study showing that reward design and optimizer choice interact: GRPO and GFlowNet respond strongly to reward magnitudes, DPO is more stable under monotone reward reshaping, and GFlowNet's mode-covering objective yields useful training-time exploration but requires careful reward calibration.

  5. Validated the verifiers with human labels; added stronger baselines and transfer to τ\tau-bench.

References (34)