Preference ranking AI answers: how to compare two responses well

For experts4 min read

In preference ranking AI tasks you read two answers to the same prompt and say which one is better and why. It sounds simple, but length, tone and confidence can fool you. Here is a step-by-step way to judge, with a worked example.

What preference ranking AI work is

A model writes two or more answers to one prompt. You read them and pick the better one, often on a scale such as much better, slightly better, or tie. You may also write a short reason. These choices train a reward model that scores answers, which then guides the main model during reinforcement learning from human feedback.

The InstructGPT paper used rankings of model outputs in that way, after training on demonstrations. In human evaluations there, outputs from a 1.3B parameter model trained this way were preferred to outputs from the 175B GPT-3.

Source: InstructGPT paper: Training language models to follow instructions with human feedback(opens in a new tab)

A judging order that works

  1. Read the prompt and note exactly what it wants.
  2. Check each answer for factual errors. A wrong fact outweighs good style.
  3. Check each answer against the instructions: format, length, language, constraints.
  4. Check for safety problems and anything the project rules say must be refused.
  5. Only then compare helpfulness, clarity and tone.
  6. Choose, set your strength rating, and write the reason.

The order matters. People who read for style first tend to reward the smoother answer even when it is wrong. Facts and instructions come before polish.

Worked example

Prompt: Give me three tips to save electricity at home, in a numbered list, under 60 words.

Answer AAnswer B
FormatNumbered list of three tipsTwo paragraphs, five tips
Length47 words110 words
AccuracyAll tips are soundOne tip is wrong: it says a fully charged phone left plugged in uses no power
InstructionsFollowedBroke the list, count and length limits

Answer A wins clearly. A weak reason would be A is shorter. A good reason names the instructions and the error: A follows the numbered list, three tips and word limit; B gives five tips in paragraphs over the limit, and one of them is wrong.

Now change the case. Suppose both answers follow the format and only differ in one tip, and the project rules ask for a short note on safety. Answer A suggests unplugging a space heater when you leave the room, and answer B suggests leaving it on a low setting to keep the room warm. Neither breaks the format, but B is the less safe advice. The factual and safety checks decide it, and your note should say so in one line.

Traps that bias a ranking

  • Length bias. Longer answers look thorough. Ask whether the extra text adds anything.
  • Confidence bias. A firm tone is not evidence. Check the claim.
  • Position bias. Do not favour the first answer just because you read it first.
  • Style bias. Prefer the answer that is correct over the one that sounds like you.

Research on AI judges names position bias and verbosity bias as known weaknesses, so check yourself for the same habits.

Source: Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena(opens in a new tab)

One more trap is agreement. A study of five assistants found that people tend to prefer responses that agree with their own views, even when those responses are less accurate. Judge the answer, not your own opinion of it, unless the project rules say otherwise.

Source: Towards Understanding Sycophancy in Language Models(opens in a new tab)

Writing the reason

Keep it short and evidence-based: two or three sentences. Name the specific line, fact or instruction that decided it. Avoid reasons such as simply better. A reviewer wants to see that you read both answers.

Rating strength and what it tells the team

Most tools ask how much better your choice is. Use the scale honestly. A strong preference should mean the other answer has a clear failure: a wrong fact, a broken instruction, a harmful suggestion. A slight preference means both are acceptable and one reads a little better. If you rate every pair as strong, the data cannot tell real failures from taste, and the model learns less.

Be consistent from the first pair to the fiftieth. Tired judging tends to drift toward the longer or the more polite answer. A quick reset helps: before each pair, read the prompt again and list what it wants.

When both answers are bad, or equal

If both fail the prompt, pick the one that is less harmful or less wrong and say so, or use the project's both-bad option if one exists. If they are the same in every way that matters, choose tie. Forcing a preference on a coin toss adds noise to the data.

Preference ranking is one of the kinds of work Curatrain experts do. You see your score when you finish a test, and every score is kept.