Are LLM Safety Judges Policy-Invariant? A Three-Principle Stress-Test

Shihao Weng, Yang Feng, Xiaofei XieNeurIPS 2026 Evaluations and Datasets Track Spotlight 2026

TL;DR

We trust "LLM-as-a-Judge" pipelines to grade whether AI agents are behaving safely, treating their verdicts like ground truth. This paper shows that today’s safety judges fail a basic sanity check: they flip their verdicts when you merely reword or reorder a safety policy without changing its meaning, and they can't reliably tell cosmetic edits apart from real shifts in strictness. In short, safety scores partly measure how the evaluator was prompted rather than what the agent actually did.

What Problem Does This Paper Address?

Autonomous AI agents are increasingly deployed in high-stakes domains like finance, healthcare, and code execution. To evaluate whether these agents follow safety rules, modern benchmarks use a separate LLM as a judge: it reads the agent's action trajectory alongside a written safety policy and outputs a binary verdict (SAFE or UNSAFE).

Benchmarks treat these verdicts as ground-truth proxies for safety. While prior research has shown that LLM judges can be sensitive to output formatting or prompt phrasing, nobody had isolated the evaluation policy itself as the variable being perturbed. A trustworthy judge should satisfy policy invariance: if two policies say the exact same thing in different words, the verdict shouldn't change; if a policy is intentionally made stricter or more lenient, the verdict should shift in the expected direction.

Methods

The authors operationalize policy invariance as a three-principle stress test:

  1. Rubric-Semantics Invariance: Rewrite the policy in ways that preserve its exact meaning (e.g., changing passive/active voice, swapping synonyms like "must not" $\to$ "is prohibited from", or moving an inline exception to a front-loaded section). These rewrites are human-certified by three annotators to be semantically equivalent. The authors measure the excess flip rate ($\Delta_{\text{flip}}$)—how often verdicts flip above the model's baseline nondeterminism ("jitter") when running the exact same prompt three times at temperature zero.
  2. Rubric-Threshold Invariance: Pair each policy with a strict version and a lenient version (e.g., "must not" vs. "should avoid"). A good judge should flip verdicts frequently and directionally (UNSAFE $\to$ SAFE).
  3. Ambiguity-Aware Calibration: Decompose all observed flips into explainable flips (on genuinely ambiguous cases or near-equivalent rewrites) and unreasonable flips (on clear-cut cases under meaning-preserving rewrites, which are pure measurement failures).
Figure 1: Three-principle stress test for policy invariance. Given the same agent trajectory, Principle 1 applies certified-equivalent policy rewrites (verdicts should not flip), Principle 2 applies strict-to- lenient threshold shifts (flips should be large and directional), and Principle 3 separates flips on ambiguous items from flips on unambiguous items under content-preserving rewrites, where the latter are measurement failures.

To summarize a judge's reliability, the authors introduce the Policy Invariance Score (PIS) (bounded between 0 and 1) and a Judge Card reporting template. They test four cost-efficient, agent-class judges—GPT-5.4-mini, Claude-Haiku-4.5, DeepSeek-V3.2, and Gemini-3-Flash—plus a frontier-scale judge (GPT-5.6-sol) for comparison.

Datasets

  • ASSEBench: The authors sample 300 trajectories from the safety subset (150 clear, 150 ambiguous). Crucially, ASSEBench provides paired strict and lenient human labels, allowing item ambiguity to be defined directly from human disagreement rather than judge behavior.
  • R-Judge: 200 trajectories stratified by label and domain, used to test generalization across broader risk scenarios.
  • ATBench: 150 trajectories used as a third benchmark to verify that the findings hold beyond the primary datasets.

Key Insights and Ideas

  • Judges conflate meaning with structure: Judges do read the policy—when switched from strict to lenient, they flip 32% to 70.5% of verdicts in the right direction. Yet they also flip up to 9.1% of verdicts above baseline jitter under purely cosmetic, meaning-preserving rewrites.
  • Exception placement is a universal weak spot: Simply moving an exception clause from inline text to a front-loaded section—without changing a single rule—was the worst offender across three of the four models, flipping up to 9.1% of verdicts above baseline.
  • Clear-cut cases aren't safe: Between 18% and 43% of all observed flips happen on unambiguous trajectories under certified-equivalent rewrites. Even when an agent clearly refuses an illegal request, front-loading an irrelevant exception can trick a judge into flipping its verdict.
  • Scale helps, but doesn't cure it: The frontier-scale GPT-5.6-sol showed no excess flips overall under certified rewrites, yet 31% of its flips were still unreasonable.
  • Different models break on different wordings: Pairwise overlap (Jaccard index) of which items flipped across different models was below 0.20, meaning fragility is model-specific rather than content-specific.
Figure 2: Disagreement decomposition per model. Bars show the share of flips that are explainable (green), borderline (amber), or unreasonable (red); n is the total flip count. Computed on ASSEBench items, which carry human ambiguity labels.

Key Results

  • Meaning-preserving rewrites ($\Delta_{\text{flip}}$): Three of the four agent-class judges showed statistically significant excess flip rates: Claude-Haiku (3.6%), DeepSeek-V3.2 (3.5%), and Gemini-Flash (7.6%, jumping to 26.6% if malformed JSON parse failures are counted as flips). GPT-5.4-mini had a non-significant 1.1% excess flip rate, largely because its baseline jitter was already high (6.8%).
  • Strict-to-lenient shifts: All judges achieved near-perfect directionality ($R_{\text{dir}} \ge 0.992$), with flip rates ranging from 32.0% (Claude-Haiku) to 70.5% (DeepSeek-V3.2).
  • Policy Invariance Score (PIS): The Judge Card exposes an order-of-magnitude spread invisible to accuracy-only leaderboards: GPT-5.4-mini scored 0.70 (Moderate), GPT-5.6-sol scored 0.54 (Fragile), Claude-Haiku scored 0.47 (Fragile), DeepSeek-V3.2 scored 0.28 (Unreliable), and Gemini-Flash landed in the [0.03, 0.41] band (Unreliable / Fragile).

Limitations and Future Work

The authors note four main caveats:

  1. Their main analysis perturbs a single standardized base policy (though a second policy reproduced the findings); scaling human certification to massive, deployment-scale rubrics with hundreds of clauses would be costly.
  2. Most tested judges are small, cost-optimized models, and a single frontier model isn't enough to map how capability relates to invariance.
  3. The PIS weights (0.4, 0.3, 0.3) reflect the authors' priors rather than downstream-validated calibration.
  4. The framework only evaluates whole-trajectory, English-language policies with binary verdicts.

Future work includes training judges explicitly for policy invariance, extending the stress test to multi-step and step-level judging, and testing whether ensembling across equivalent policy rewrites can stabilize verdicts.

Summary updated

BibTeX
@inproceedings{weng2026are,
  author = {Shihao Weng and Yang Feng and Xiaofei Xie},
  title = {{Are LLM Safety Judges Policy-Invariant? A Three-Principle Stress-Test}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=eDvLM8DzS1},
}
Figure