← Latest papers
🤖 AI

Beyond Accuracy: Policy Invariance as a Reliability Test for LLM Safety Judges

This paper introduces "policy invariance" as a critical reliability test for LLM safety judges, demonstrating that current evaluators often conflate agent behavior with prompt phrasing through a new stress-test protocol that reveals significant verdict instability and proposes the Policy Invariance Score to expose reliability gaps invisible to accuracy-only benchmarks.

Original authors: Shihao Weng, Yang Feng, Xiaofei Xie

Published 2026-05-08
📖 5 min read🧠 Deep dive

Original authors: Shihao Weng, Yang Feng, Xiaofei Xie

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have hired a strict referee to judge a soccer game. The referee's job is to look at the players' actions and decide if they broke the rules. In the world of Artificial Intelligence, these "referees" are Large Language Models (LLMs) used to judge whether AI agents are behaving safely.

This paper asks a simple but terrifying question: Is the referee actually judging the players, or are they just judging how the rulebook is written?

The authors found that many of today's AI referees are terrible at their jobs because they are easily tricked by the wording of the rules, even when the meaning of the rules hasn't changed at all.

Here is the breakdown of their discovery using simple analogies:

1. The Core Problem: The "Word-Switch" Trick

Imagine a referee holding a rulebook that says: "You must not touch the ball with your hands."

  • Scenario A: The player touches the ball with their hand. The referee blows the whistle: Foul!
  • Scenario B: You rewrite the rulebook to say: "It is prohibited to use your hands to touch the ball." (This means the exact same thing).
  • Scenario C: You rewrite it again: "Players should avoid using their hands." (This is slightly softer).

The paper tested AI referees with these scenarios. They found that:

  • When the rules were rewritten to mean the exact same thing (Scenario B), the AI referees changed their minds about 10% of the time. They called a "Foul" in Scenario A but "No Foul" in Scenario B, even though the player did the exact same thing.
  • When the rules were rewritten to be stricter or softer (Scenario C), the referees did change their minds, which is good. But the scary part is that they changed their minds just as often for the "meaningless" word swaps as they did for the "meaningful" rule changes.

The Metaphor: It's like a judge who gives a defendant a guilty verdict if the law is written in bold font, but a not-guilty verdict if the same law is written in italics. They aren't looking at the crime; they are looking at the font.

2. The Three Tests (The "Stress Test")

The authors created a "stress test" to see if referees could tell the difference between a real rule change and a fake one. They used three principles:

  • Principle 1: The "Same Meaning" Test.
    If you rewrite the rule using different words but keep the meaning 100% identical (like changing "must not" to "is prohibited from"), the verdict should never change.

    • Result: The referees failed. They changed their verdicts up to 9% of the time just because the words were rearranged.
  • Principle 2: The "Strict vs. Lenient" Test.
    If you change the rule to be clearly stricter (e.g., "No exceptions") or clearly softer (e.g., "Try to avoid"), the verdict should change in that direction.

    • Result: The referees passed this. They understood that "No exceptions" is stricter than "Try to avoid."
  • Principle 3: The "Clear Case" Test.
    If a case is obvious (e.g., a player punched someone), the verdict should be the same no matter how you rewrite the rule.

    • Result: The referees failed miserably. Even on obvious cases, changing the rule's structure (like moving a "clue" about exceptions to the front of the paragraph) caused them to flip their verdicts.

3. The Big Discovery: "The Confused Referee"

The paper's main finding is that current AI judges cannot tell the difference between a meaningful change and a meaningless one.

  • They react to a real change in the rules (making it stricter) with the same intensity as they react to a fake change (just shuffling the words around).
  • This means that when we see a safety score for an AI agent, we don't know if the score is based on what the agent did, or just on how the prompt was written.

The Analogy: Imagine taking a driving test.

  • Real World: You run a red light. You fail.
  • The Paper's Finding: If the instructor writes the rule "Do not run red lights" vs. "Red lights are a no-go zone," the AI driving instructor might pass you in the second version even though you ran the light. The AI is judging the sentence, not the action.

4. The Solution: The "Judge Card"

Since we can't trust these referees blindly, the authors propose a new way to report their reliability. They created a Policy Invariance Score (PIS) and a Judge Card.

Think of this like a nutrition label on food, but for AI judges. Instead of just saying "This judge is 90% accurate," the card says:

  • "This judge is 90% accurate, BUT if you rewrite the rules slightly, their accuracy drops to 60%."
  • "This judge is fragile: moving a comma in the rulebook changes their mind."

They tested four popular AI models (GPT, Claude, DeepSeek, and Gemini).

  • GPT-5.4-mini was the most stable (Score: 0.70).
  • Gemini-Flash was the least stable (Score as low as 0.03), meaning it was almost useless as a reliable judge because it got confused by simple word changes.

Summary

The paper argues that we have been trusting AI referees to keep our digital world safe, but we haven't checked if they are actually paying attention to the rules or just the wording.

The takeaway: Just because an AI says an agent is "safe" doesn't mean it is. It might just mean the AI liked the way the safety rules were phrased that day. Before we trust these judges with high-stakes decisions (like healthcare or finance), we need to test if they can ignore the "fluff" and focus on the facts. The authors provide a toolkit to do exactly that.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →