Runtime Verification of Multiple Natural Language Criteria for Agent Governance

Silviu Pitis, Parand A. Alamdari, Jessica Tang, Toryn Q. Klassen, Sheila A. McIlraith

TL;DR

The Verifier Foundation Model (VFM) is a specialized architecture designed to monitor AI agents by checking their outputs against hundreds of natural language rules in real-time. By utilizing a novel tree-attention mechanism and pretraining on a massive new dataset called CriteriaBank, the VFM-4B model can evaluate 1,000 distinct criteria in under two seconds, outperforming much larger models like GPT-5.4 in governance accuracy.

What Problem Does This Paper Address?

As AI agents become more autonomous, they are being governed by increasingly complex sets of instructions—ranging from developer system prompts to legal frameworks like the EU AI Act. A single agent might need to adhere to hundreds of simultaneous constraints.

Current verification methods fall into two camps, both of which are inadequate for runtime governance:

  1. Fixed-taxonomy classifiers: These are fast but can only check for a small, predefined set of issues (e.g., "is this toxic?"). They cannot adapt to new, arbitrary rules at runtime.
  2. Generative LLM judges: These can handle arbitrary rules but are prohibitively slow and expensive when checking hundreds of criteria, as they typically require a separate pass or a long chain-of-thought for every single rule.

The authors address this "governance gap" by creating a model that is both flexible (accepts any natural language rule) and efficient (scales sublinearly with the number of rules).

Methods

The core innovation is the VFM architecture, which uses a tree-attention mask to process multiple criteria in parallel.

Figure 1: Verifying Multiple Criteria with the VFM. Natural language criteria c1, . . . , cN from multiple sources are scored against the agent trace, consisting of context x and target text t. The VFM encodes the x ⊕t prefix once, and each criterion ci then branches independently under a tree-attention mask that isolates per-criterion attention while sharing the prefix’s KV cache. The output is a compliance record of softmax probabilities over ternary verdicts (YES / NO / N/A).

Standard models process text linearly. In contrast, the VFM encodes the shared "prefix" (the conversation context and the agent's response) only once. It then "branches" into $N$ independent paths, one for each criterion being checked. Because these branches are isolated by the attention mask, the model can compute verdicts for hundreds of rules simultaneously while sharing the expensive Key-Value (KV) cache of the prefix.

The model outputs ternary verdicts:

  • YES: The criterion is satisfied.
  • NO: The criterion is violated.
  • N/A: The criterion is inapplicable or the trace lacks sufficient evidence.

To train this model, the authors introduced CriteriaBank, a pretraining corpus of 394K tuples. They also employed a plasticity-preserving KL regularization technique during training to ensure the model retained its base reasoning capabilities while specializing in verification.

Datasets

The researchers introduced and utilized several key datasets:

  • CriteriaBank: A new, massive dataset for pretraining verifiers, consisting of five streams including synthetic concepts, real-world distillation from WildChat, and targeted safety scenarios.
  • Synthetic Governance Benchmark: 52 criteria sourced from real regulations like the EU AI Act, GDPR, and SEC rules.
  • INSURE-Dial: 50 real-world insurance benefit verification calls.
  • DynaBench: A multi-criterion guardrail benchmark for multi-turn dialogues.
  • Cross-domain tasks: Evaluation on standard benchmarks like IFEval (instruction following), PRM800K (math), and BeaverTails (safety).
Table 2: CriteriaBank composition by data stream.

Key Insights and Ideas

  • Structural Independence: By using tree-attention, the model guarantees that the verdict for one rule isn't influenced by the presence of other rules, providing a "clean" compliance record.
  • Pretraining Matters for Low Data: Pretraining on CriteriaBank significantly boosts performance when only a few hundred examples are available for a specific domain, which is common in specialized legal or corporate settings.
  • Atomic Decomposition: The authors argue that complex governance rules should be broken down into "atomic" yes/no questions. This decomposition makes verification more reliable and allows for precise "rule-level attribution"—knowing exactly which clause of a 50-page regulation was triggered.
  • Efficiency Gains: The VFM-4B is roughly 1.6x faster at returning a full compliance record than a similarly sized model is at returning just a single pass/fail verdict.

Key Results

  • Performance: VFM-4B achieved 88.8% accuracy on the synthetic governance benchmark, notably beating GPT-5.4 (83.9%).
  • Speed and Memory: On a single H100 GPU, the model evaluated 1,000 criteria against a 4K-token context in 1.81 seconds using less than 11 GB of VRAM.
  • Sample Efficiency: As shown in the learning curves, the VFM (blue line) reaches high accuracy much faster than models trained from scratch (red line), especially in the 100–1,000 sample range.
Figure 2: Sample efficiency at 0.6B: VFM (blue), VFM w/o KL (teal), and Direct-FT (red) across six benchmarks under a uniform multi-epoch early-stopping recipe. Bands show ±1 std. over 3 seeds.

Limitations and Future Work

  • False Passes: On real-world insurance data, the model still misses about 20% of violations. The authors suggest using VFM as a first-pass filter that escalates "uncertain" cases to a larger, slower LLM judge.
  • Decomposition Overhead: Currently, translating high-level regulations into atomic VFM criteria requires manual effort or a separate LLM pipeline. Automating this robustly is a key area for future work.
  • Scope: The current evaluation is limited to English and text-only interactions. Expanding to multimodal agents and other languages remains an open challenge.
  • Adversarial Robustness: The paper does not test how well the verifier holds up against agents specifically optimized to "trick" the governance layer.

Summary updated

Abstract

AI agents are governed by hundreds of natural language criteria, yet existing verifiers cannot efficiently evaluate an agent's output against a large set of such criteria and report which are satisfied, violated, or inapplicable. We introduce the VFM, a tree-attention verifier that encodes the shared context and target text, and scores N natural language criteria in parallel, returning independent per-criterion ternary verdicts. The VFM is pretrained on CriteriaBank, a corpus of 394K (context, target, criterion, verdict) tuples spanning over 321K distinct criterion strings. A finetuned VFM-4B outperforms GPT-5.4 on a synthetic governance benchmark. On the DynaBench multi-criterion benchmark, it outperforms DynaGuard-4B on trace-level failure detection, and its per-criterion verdicts localize the violated rule and support focused escalation to a larger chain-of-thought judge. We show that CriteriaBank pretraining improves cross-domain transfer, particularly in the low-data regime, while matching a strong direct-finetuning control at full data. On a single H100, VFM-4B evaluates 1,000 criteria against a 4K-token context in under 2s at <11 GB VRAM, making it suitable for runtime verification.
BibTeX
@inproceedings{pitis2026runtime,
  author = {Silviu Pitis and Parand A. Alamdari and Jessica Tang and Toryn Q. Klassen and Sheila A. McIlraith},
  title = {{Runtime Verification of Multiple Natural Language Criteria for Agent Governance}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=BXJQ1dWtA8},
}
Figure