Contrastive Decoding Mitigates Score Range Bias in LLM-as-a-Judge
This paper identifies that LLMs used as judges exhibit significant score range bias when assigning direct ratings, and proposes a contrastive decoding method to mitigate this issue, achieving up to an 11.7% relative improvement in alignment with human judgments across different summarization tasks.
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 very smart, well-read librarian to grade student essays. You ask this librarian to give each essay a score from 1 to 5 stars.
Usually, this works great. But you notice something weird: sometimes the librarian gives almost every essay a "4," even if some are terrible and some are amazing. Other times, if you ask them to grade on a scale of "10 to 14," they suddenly start giving everything a "12."
The librarian isn't judging the quality of the essay; they are just reacting to the numbers you gave them. They have a "range bias."
This is exactly what Yoshinari Fujinuma's paper is about, but instead of a librarian, the judge is an AI (a Large Language Model), and instead of essays, it's summarizing news articles.
Here is the breakdown of the problem and the clever solution, explained simply.
The Problem: The "Ruler" is Broken
When we use AI to act as a judge, we often ask it to give a score (like 1 to 5) without showing it a "correct" answer to compare against. This is called Direct Assessment.
The paper discovered that these AI judges are incredibly sensitive to the range of numbers you give them.
- If you ask for a score between 0 and 4, the AI might get confused and start giving everything a "2."
- If you ask for a score between 2 and 6, the same AI might suddenly decide everything is a "4."
It's like asking a person to guess the temperature. If you tell them, "Guess between 0 and 10," they might guess 5. If you tell them, "Guess between 80 and 90," they might guess 85. They aren't looking at the actual weather; they are just guessing the middle of the box you handed them.
The paper found that this happens across different AI models (like Llama and Qwen) and that models from the same "family" tend to make the exact same mistake in the same way. They all have a shared "blind spot."
The Solution: The "Contrastive Decoding" Trick
The author didn't just say, "Oh well, let's fix the AI." Instead, they used a clever trick called Contrastive Decoding.
Think of it like this:
Imagine you are trying to find the true direction of North.
- The Main Model (The Navigator): This is your smart AI judge. It tries to give a score, but it has a bias (it always leans slightly East).
- The Assistant Model (The Helper): This is a smaller, slightly less smart AI from the same family. It also tries to give a score, and guess what? It leans East by the exact same amount as the Main Model because they are related.
The Magic Step:
Instead of just listening to the Main Model, the system asks the Assistant Model what it thinks, too. Then, it subtracts the Assistant's bias from the Main Model's answer.
- Main Model says: "I think this is a 4.5 (but I'm biased toward high numbers)."
- Assistant Model says: "I think this is a 4.5 (and I'm also biased toward high numbers)."
- The System: "Okay, since they both agree on the bias, let's cancel it out."
By subtracting the "helper's" opinion from the "judge's" opinion, the shared bias disappears. It's like two people walking in a circle; if you subtract their circular path, you are left with a straight line.
The Results: A Fairer Judge
When the researchers tested this:
- Before: The AI judge was inconsistent. If you changed the score range from "1-5" to "2-6," its accuracy dropped significantly. It was like a scale that gave different weights depending on what time of day it was.
- After: With the "Contrastive Decoding" trick, the AI became much more stable. It stopped caring about the specific numbers in the range and started actually looking at the quality of the text.
- The Win: The AI's agreement with human judges improved by up to 11.7%. That is a huge jump in the world of AI research.
Why This Matters
This is a big deal because right now, companies use AI to grade everything from customer service chats to creative writing. If the AI is biased by the numbers you type into the prompt, the results are unreliable.
This paper gives us a way to "calibrate" these AI judges without needing to retrain them or spend millions of dollars. It's like giving the AI a pair of glasses that filters out the "noise" of the score range, letting it see the truth clearly.
In a nutshell:
AI judges are easily confused by the numbers we ask them to use. By using a "helper" AI to cancel out that confusion, we can get much fairer, more reliable grades for AI-generated content.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.