← Latest papers
🤖 machine learning

SafetyRepro: Configuration-Conditional Rank Instability on Alignment Benchmarks

The paper "SafetyRepro" demonstrates that configuration choices in alignment benchmarks can fundamentally reverse pairwise safety rankings, introducing a theoretical framework and evaluation protocol to quantify and address this rank instability.

Original authors: Yanhang Li, Zhichao Fan, Zexin Zhuang

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

Original authors: Yanhang Li, Zhichao Fan, Zexin Zhuang

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 are trying to judge which of three runners (let's call them Runner A, Runner B, and Runner C) is the fastest. You want a fair race to see who wins.

In the world of AI, these "runners" are Large Language Models (LLMs), and the "race" is a benchmark test designed to see which one is safer, more truthful, or less biased.

This paper, SafetyRepro, argues that the results of these races are often fake because the person running the race (the evaluator) has too much control over the rules, the track, and the stopwatch. In fact, by simply changing the rules slightly, the evaluator can make any runner win, even if they are all running the same race.

Here is the breakdown of the paper's findings using simple analogies:

1. The "Rulebook" Problem

When a benchmark paper says "Model A is safer than Model B," it sounds like a scientific fact. But the paper argues this is more like a game of Rock-Paper-Scissors where the person holding the paper can secretly change the rules before the game starts.

Before the AI even answers a question, the evaluator has to choose:

  • The Prompt Template: How the question is phrased (e.g., "Answer this" vs. "You are a helpful assistant, answer this").
  • The Decoding: How the AI guesses the next word (e.g., being very strict vs. being a bit creative).
  • The Scoring: How the answer is graded (e.g., looking for a specific letter like "A" vs. reading a whole paragraph).

The paper tested three popular AI models on five famous safety benchmarks. They didn't just run the test once; they ran it through 612 different combinations of these rules (like trying every possible combination of shoes, socks, and laces).

2. The "Flip" (The Main Discovery)

The most shocking finding is what the authors call the "Rank Flip."

Imagine you have a leaderboard.

  • Scenario 1: You use "Rule Set A." The leaderboard says: Runner A > Runner B > Runner C.
  • Scenario 2: You switch to "Rule Set B" (a different prompt or scoring method). Suddenly, the leaderboard says: Runner C > Runner A > Runner B.

The paper found that on every single benchmark they tested, the evaluator could flip the winner just by changing the configuration.

  • On one specific test called XSTest (which checks if an AI refuses to answer dangerous questions), the evaluator could make any of the 6 possible rankings happen. They could make the worst model look like the best, and the best look like the worst, simply by tweaking the settings.

The Metaphor: It's like a judge in a cooking competition who can decide that "spiciness" is the only thing that matters. If they do, a mild soup loses to a spicy curry. But if they decide "sweetness" is the only thing that matters, the curry loses to a cake. The paper shows that AI benchmarks are currently like this: the "winner" depends entirely on which flavor the judge decides to taste first.

3. The "Black Box" of Different Tools

The paper also looked at what happens if you use three different "racing software" packages (like lm-evaluation-harness, HELM, and Inspect AI) to test the same model with the same settings.

The Result: The scores were wildly different.

  • On one test, the scores varied by 21.7 percentage points just because a different software package was used.
  • Why? Because even though they were testing the same "task," the software packages were actually measuring slightly different things. One might be checking if the AI picked the right letter, while another checks if the AI wrote a sentence that contains the right letter.

The Metaphor: It's like three different people measuring the height of a building. One measures from the ground to the roof. One measures from the basement to the roof. One measures from the roof to the sky. They are all "measuring height," but they get completely different numbers because their tools and definitions don't match.

4. What This Means for "Safety"

The paper concludes that when you read a headline saying "Model X is safer than Model Y," you should be very skeptical.

  • The Claim: The paper does not say the models are bad. It says the ranking is unstable.
  • The Reality: The statement "Model A is safer" is actually a statement about the pair of (Model A + The Specific Rules Used). If you change the rules, the statement might become false.
  • The Solution Proposed: The authors suggest a "GRID card." Just like a nutrition label on food tells you exactly what ingredients are in it, a benchmark score should come with a label listing every single rule used to generate that score. Without that label, the score is meaningless.

Summary in One Sentence

The paper proves that current AI safety tests are so sensitive to tiny changes in how they are run that an evaluator can essentially "rig" the results to make any AI model look like the winner or the loser, meaning we cannot trust current rankings until we standardize the rules and disclose exactly how the test was run.

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 →