1. Podcasts
  2. Best AI papers explained
  3. Aligning with Human Judgement: The Role of Pairwise Preference in Large Language Model Evaluators
Best AI papers explained

10 Jun 2025 · 19m · 13 chapters

Episode artwork

Aligning with Human Judgement: The Role of Pairwise Preference in Large Language Model Evaluators

In short

How to evaluate LLM-generated text reliably using another LLM. The episode critiques “direct scoring” (prompting an evaluator LLM to give 1–5 coherence/helpfulness scores) because evaluator scores often misalign with human judgments even after calibration. It proposes using pairwise preference instead: ask which of two outputs is better, then convert many comparisons into a ranked list via PEARS (Pairwise Preference Search), including greedy, beam (handles non-transitivity), and a scaled variant (anchor set + binary search).

Guests

No guests mentioned; it’s a host-led discussion of a specific paper.

Key claims

Pairwise judgments better match human preferences than absolute scoring; calibration helps pairwise by averaging P(A>B) and P(B>A). PEARS improves smaller models’ evaluator quality.

Notable examples/datasets

HAN (story coherence) and “SemiVol” (summarization coherence). Methods compared include GEVOL and direct scoring; examples include Mistral 7B and Llama 2-7B, plus GPT-3.5 Turbo and GPT-4 Turbo.

Written by AI. May contain mistakes.

Chapters

0:45

Evaluating Language Model Performance

Discussion of how to assess the quality of LLM outputs and human alignment.

“Feels efficient, you know, using the tool to check the tools work.”
1:40

Issues with Direct Scoring

Examination of the pitfalls in using LLMs to evaluate other LLM outputs.

“So that's our mission for this deep dive then.”
2:52

Calibration Techniques and Their Limitations

Exploration of calibration methods for LLM scoring and their shortcomings.

“Things like preferring text that appears earlier in the prompt or being biased towards longer answers.”
4:00

Understanding Evaluation Standards

Delving into the differences between LLMs and humans in quality assessment.

“If you make the distributions match, shouldn't the scores align better?”
5:00

Proposed Pairwise Preference Method

Introduction of the pairwise preference method as an alternative evaluation technique.

“And this leads to the paper's main proposal.”
6:00

Challenges of Pairwise Comparisons

Discussion on the computational challenges and inconsistencies in pairwise evaluations.

“But those early attempts apparently ran into challenges, especially around efficiency and complexity.”
8:00

Introducing PAIRS: Efficient Evaluation

Overview of the PAIRS method and its approach to efficient pairwise ranking.

“How does it search for the best ranking efficiently?”
10:30

Scaling the PAIRS Method

Exploration of the scaling variant of PAIRS for handling large datasets.

“But in practice, with real LLMs that are mostly transitive, this uncertainty pruning helps keep the number of comparisons much closer to that efficient ON log N lower bound.”
12:20

Evaluating the Effectiveness of PAIRS

Results indicating PAIRS improves alignment with human evaluations across various models.

“It enables evaluation at scales that were simply impossible before.”
14:00

The Effectiveness of Pairwise Preferences in Large Models

Learn how pairwise evaluation methods outperform direct scoring for large language models.

“Yeah, that means you might not need the biggest, most expensive model just to get decent automatic evaluations if you use the pairs approach.”
Show all 13 chapters
15:10

Calibration and Bias in Pairwise Evaluations

Discover the role of calibration in improving pairwise evaluation performance and addressing biases.

“It hints that GPT-4 Turbo might just be inherently more transitive in its preferences than the other models they tested.”
16:40

Performance Gains with Pairwise Preference Methods

Understand the performance benefits of pairwise preferences in LLM evaluations.

“And does this pairwise calibration actually improve pairs' performance?”
18:10

The Future of AI Evaluators: Beyond Rankings

Explore the implications of AI evaluators that go beyond simple rankings to ensure transparency and trust.

“that asking LLMs for pairwise preferences, especially using these smart pair search methods, is just a fundamentally better way to get automatic text evaluations that actually line up with what humans think.”
A man walking through an airport, asking his phone a question

Ask about this episode

Get the gist, explore an idea or ask about something said.

Claude

On Best AI papers explained, what are the key points of this episode?

Searching your listening

Transcript

Automatic transcript. May contain errors.

0:00Okay, let's dive in. We're all seeing it, these large language models. They're generating text. It's just surprisingly good sometimes. Oh, absolutely. Summaries, stories, even code. It's impressive stuff. It really is. But, you know, beneath all that coolness, there's this nagging question. Yeah. How do we actually know how good it is? Like reliably. Yeah. How do we evaluate it? How do we know if it meets human standards for, say, coherence or fluency or even just helpfulness? Exactly. It's a big challenge, especially now. They're everywhere. And the answer lots of folks landed on seems, well, pretty straightforward at first glance.

0:39Use an LLM to evaluate another LLM's text. Right. Makes sense. Feed the output back in. Ask the AI, hey, rate this for me. Feels efficient, you know, using the tool to check the tools work. But the paper we're digging into today, it throws up a pretty big red flag on that. Yeah, it reveals, well, a significant problem. Turns out LLM evaluators, just like the generators, they can have biases. And more importantly, their evaluations often just don't line up with how you or I would judge the exact same text. So the AI judge and the human jury aren't seeing eye to eye. That feels shaky if we want to trust these evaluations.

1:15That misalignment is really the core issue this study tackles. It looks systematically at why the usual way of doing this falls short. But they don't just point out the problem. No. And that's the exciting part. They actually propose and test a whole new method, a different way of asking the LLM for its judgment. OK. And it seems to get those automatic evaluations much, much closer to what humans prefer. All right. So that's our mission for this deep dive then. Understand why the common way doesn't quite cut it and then explore this new technique. See how it bridges that gap between AI and human judgment.

1:50Sounds good. So let's start with that common approach, the standard method. The paper calls it direct scoring. Direct scoring. OK, what's that involved? It's pretty much what we just described. You give the LLM the text and you give it a prompt like rate this text for coherence on a scale of one to five. Simple enough. Rate this from one to five. Yeah. But the finding here in the paper has some really telling graphs like figure two is that these direct scores from LLMs, they're often pretty widely misaligned with human scores for the same text. Misaligned how? Like the scores are just lower? The whole distribution is different.

2:24Imagine two bar charts of scores from one to five. The human chart might use the whole range, peaks and valleys. The LLM chart might look totally different, maybe a bunch of scores in the middle. Or it loves giving out fours when humans rarely did. Okay. So on data sets like HAN, which is about story coherence or some evil for summary coherence, the LLM's scoring pattern just doesn't match the human pattern. Exactly. The shapes of the distributions are off. Now, people knew LLMs had biases, right? Things like preferring text that appears earlier in the prompt or being biased towards longer answers.

3:00Sure. Those are known issues. So researchers developed calibration methods to try and fix this. The idea is basically to adjust the LLM's raw score statistically to try and force its score distribution to match the human one. Like nudging the LLM's bar chart to look more like the human bar chart? Precisely. You're trying to correct for that scoring bias. Okay. Seems like a reasonable fix. Did it work? Could calibration close that gap? Well, this is where it gets surprising. The study found that even after applying these calibration techniques, a really significant gap remained. Oh. Yeah. They looked at metrics like mean absolute error, MAE, which just measures the average difference between the LLM score and the human score.

3:39Right. On HANA, the MAE got a bit better with calibration, went from like 1.62 down to 1.16. Still pretty far off on a five-point scale. And on SemiVol, in one case they tested, it actually went from 0.78 up to 0.86 after calibration. It got slightly worse. Wow. Okay. So calibration isn't the silver bullet here. Why not? If you make the distributions match, shouldn't the scores align better? That's the key insight the paper offers. They argue the issue isn't just that the LLM has a biased prior ever scores, like it just likes giving fours more often. Calibration tries to fix that. The deeper problem, they suggest, is a fundamental difference in the evaluation standards.

4:19The LLM and the human might just disagree on what quality level even constitutes a three foot versus a four. Ah, I see. It's not just how they use the numbers on the scale, but what those numbers actually mean to them internally. Exactly. Their internal benchmark for pretty good or highly coherent might just be different. The paper talks about this as a difference in the likelihood, basically. How likely each judge thinks a piece of text is, given a certain score. They just don't map quality to the absolute scale in the same way. Okay, that makes a lot more sense why just tweaking the scale with calibration wouldn't fully fix it.

4:54So if asking for a direct 1 to 5 score is flawed because the standards differ, what's the alternative? Right. And this leads to the paper's main proposal. They looked at how these LLMs are actually trained, especially with things like reinforcement learning from human feedback, RLHF. Okay, yeah. RLHF is huge for aligning models. And a massive part of RLHF isn't asking humans for absolute scores. It's feeding the model preference data. Humans look at two outputs, A and B, and say A is better or B is better. Comparisons. It's trained on comparison. Exactly. That pairwise ranking data is super effective for teaching the model what humans actually value.

5:33So the light bulb moment is, maybe LLMs are just fundamentally better at comparing things than they are at assigning absolute scores. Better at this is better than that than this is a four. That's the core hypothesis they test, that LLM evaluators will align better with humans if we tap into that pairwise comparison ability instead of forcing direct scoring. Has anyone tried this before, using pairs for evaluation? They mentioned some recent work has started exploring it, yeah, prompting LLMs with pairs. But those early attempts apparently ran into challenges, especially around efficiency and complexity.

6:05All right, so the new idea is frame evaluation is pairwise preference. Ask is A better than B. But how do you go from a bunch of those comparisons to an actual ranked list of all your text candidates? You treat it formally as a ranking problem. If you have, say, 100 text outputs you want to evaluate, the goal is to use the LLM's pairwise judgments, A, B, C, A, etc., to figure out the best overall ranking from first to 100th. Okay, conceptually simple, but comparing every single pair. If you have 100 candidates, that sounds like a lot of comparison. It is a lot. That's the first big hurdle with just doing exhaustive comparisons.

6:43The number of pairs explodes quadratically. It's O and two and squared. Right. For 100 candidates, that's nearly 5 ,000 pairs. For thousands, it's just computationally infeasible. Way too many API calls, too much time. Okay, so brute forcing all pairs is out. What else makes ranking from pairs tricky? The other major challenge is transitivity, or rather the lack thereof. Transitivity, meaning? Meaning, ideally, if the LLM says A is better than B, A, B, and it also says B is better than C, B, C, then logically it should say A is better than C, A, C. Makes sense. A, B, C. But LLMs aren't always perfectly consistent like that.

7:18They might say A, B, and B, C, but then when asked directly, they might say C, A. They can create these little preference cycles. So their preferences aren't always logically sound across the whole set. Exactly. This non-transitivity, these potential inconsistencies, make finding the single best overall ranking from all these pairwise judgments a mathematically hard problem. It's actually NP-hard. Okay, so we need too many comparisons if we do them all, and the comparisons we get might not even be perfectly consistent. This sounds like where their new method, pairs, comes in. Precisely. PAIRS stands for Pairwise Preference Search.

7:54It's designed specifically to tackle both those problems, the huge number of comparisons, and the non-transitivity issue. How does it do that? How does it search for the best ranking efficiently? It's designed as an uncertainty-guided search. The core idea is to be smart about which pairs you actually ask the LLM to compare so you get the most information about the ranking using the fewest possible queries. Avoid asking redundant or obvious questions. Okay. And you mentioned different versions. Yeah, they start with a simpler version called pairs greedy. Think of it like an efficient sorting algorithm, maybe like merge sort.

8:28It makes a simplifying assumption. It mostly assumes the LLM is transitive. Ah, okay. By assuming transitivity, it can structure the comparisons much more efficiently. It gets the number of comparisons down from O n2 to roughly O n log n. Big improvement. N log n is way better than n squared. But it assumes transitivity, which you said isn't always true. Right, so that's why they also developed Pairs Beam. This is the more robust version, designed specifically to handle potential non-transitivity. How does Pairs Beam work? It uses a beam search. Instead of just following the single best comparison result at each step, like the greedy version, it keeps track of a beam, a small set of the most promising ranking possibilities simultaneously.

9:12So it explores multiple paths at once. Kind of, yeah. It doesn't commit too early based on one comparison, keeping alternative rankings alive if they look plausible. This makes it more resilient if the LLM gives an inconsistent judgment somewhere. And what about the uncertainty-guided part? How does that fit in? This is really clever. When the LLM makes a comparison, say A versus B, it often gives more than just A is better. It can give a probability, like I'm 90 % sure A is better than B. Okay. You can measure the LLM's confidence or uncertainty from these probabilities, usually using entropy.

9:47Pears Beam uses this uncertainty to guide its search and, crucially, to prune the search space. Pruning. Like cutting off branches of the search. Yeah, exactly. If the LLM is highly confident, very low uncertainty about a comparison, say it's almost certain A is better than B, then the algorithm can confidently prune away search paths that would involve ranking B much higher than A. It focuses its limited comparison budget on the parts of the ranking where the LLM is less certain, where the comparisons are more informative. Got it. So it uses the LLM's confidence to decide where to explore more and where it can make safe assumptions.

10:21That's the essence of it. It makes the beam search much more efficient in practice. Theoretically, Pear's beam could still take 0-2 time and the absolute worst case of total non-transitivity. But in practice, with real LLMs that are mostly transitive, this uncertainty pruning helps keep the number of comparisons much closer to that efficient ON log N lower bound. Okay, N log N is efficient, but if N is huge, like tens of thousands of texts to evaluate, even N log N might still be too slow or too expensive. That's a really important practical point, and they thought about that too. They developed a scaling variant specifically for these massive evaluation tasks.

11:00It's called pairs beam scaled. Okay, scaling pairs. How does that work? It's a smart two-stage approach. First, instead of trying to rank everything, it takes a smaller random sample of the candidates. Let's call this the anchor set. It ranks just this anchor set thoroughly using pairs beam. So you get a good ranking for representative sample. Exactly. Then, for all the thousands of other candidates that weren't in the anchor set, it uses a much faster process, like a binary search, to figure out where each one fits relative to the already ranked anchors. Ah, so you slot the rest of the items into the pre-sorted anchor list.

11:34Precisely. You're not comparing every new item to every other new item, just finding its place among the anchors. This drastically cuts down the number of required comparisons. How much does it cut down? It brings the complexity down to O-N linear time. That's huge. Suddenly, evaluating extremely large data sets becomes feasible. The paper has a graph, figure 5, that shows this dramatic complexity reduction. Linear time is fantastic for scaling. Is there a catch? Does this scaling hurt the quality of the final ranking? There is a tradeoff, yes. Because you're not doing all the comparisons you would in the full pairs beam, the accuracy or correlation with human judgment might dip slightly.

12:14Table 4 in the paper shows this on the HANA data set. But the gain in efficiency is massive. It enables evaluation at scales that were simply impossible before. And they did some experiments shown in Figure 8 suggesting that for HANA, an anchor set size of around 100 to 200 samples was enough to get a pretty stable representation of the full quality distribution. So you don't need a huge anchor set to make it work reasonably well. Seems that way, yeah. It's a practical balance between speed and perfect accuracy. Okay, so we have this pairs method, greedy, beam, and scale, designed to be efficient and handle inconsistencies.

12:50The billion-dollar question, does it actually produce rankings that align better with humans compared to that old direct scoring method? That's the crux of it, right. And the results they present, mainly in Table 1 across several different data sets and evaluation criteria, are pretty compelling. What do they show? Generally speaking, pairs achieve state-of-the-art or very close to state-of-the-art performance in correlating with human judgments. It consistently outperforms direct scoring and another baseline called GEVOL. Better than direct scoring. That was the goal. Yes. And interestingly, in some cases, it even matches or beats specialized domain-specific evaluation metrics that were hand-tuned for that particular task.

13:28Wow. Okay. Does it help all LLMs equally, or is it better for some than others? This is one of the really interesting findings. PEARS seems to provide a particularly big boost for smaller open-source models, things like Mistral 7B or Llama 2-7B. When these smaller models were used for direct scoring, their evaluations didn't correlate very well with humans. But when used with PEARS, their evaluation performance jumped dramatically. So PEARS makes smaller models much better evaluators. It appears so. It significantly closed the gap between their evaluation capabilities and those of much larger models like GPT-3.5 Turbo.

14:06That's a really practical outcome. Yeah, that means you might not need the biggest, most expensive model just to get decent automatic evaluations if you use the pairs approach. What about the big models like GPT 3.5 and GPT 4? Does pairs help them too? It does, yeah. Pairs generally outperform direct scoring and GEVOL for GPT 3.5 turbo and GPT 4 turbo as well. The improvement was consistent. Pair-wise just seems to be a better way to elicit judgments that align with humans regardless of model size. Okay. And what about the difference between pairs greedy and pairs beam? Did the more complex beam search, the one handling non-transitivity, actually prove more reliable?

14:43Yes, the results suggest it did. Table 2 shows that pairs beam generally had lower standard errors in its correlation scores. That means the rankings it produced were more consistent and reliable across different runs compared to pairs greedy. So accounting for those potential inconsistencies does pay off in robustness. It seems so. Although interestingly, the difference between Beam and Greedy was smaller for GPT-4 Turbo than for other models. Smaller difference for GPT-4. What does that suggest? It hints that GPT-4 Turbo might just be inherently more transitive in its preferences than the other models they tested.

15:19It makes fewer logical errors in its comparisons. Ah, that's a cool side insight. So the performance gap between greedy, assuming transitivity, and beam, handling non-transitivity, can actually act as a sort of proxy measurement for how internally consistent or transitive an LLM is as an evaluator. Exactly. It turns a potential weakness into a diagnostic tool. They also noted that some data sets seem inherently harder in terms of transitivity. HANA, the story coherence one, showed bigger differences between greedy and beam, suggesting the judgments there might be more complex or subjective for LLMs to capture perfectly consistently.

15:55Okay. Let's circle back to calibration. We saw it didn't really fix direct scoring. Does calibration still play a role with pairs? It does, but it's applied differently and seems more effective. Even with pair-wise, there can still be biases. A common one is positional bias. Does the model favor the first item in the pair, A versus B, or the second, B versus A? Right. But the key difference is, when calibrating pairwise preferences, you can assume a uniform prior human preference. Because you're usually selecting pairs randomly before you even see the text, there's no reason to think humans would inherently prefer A over B or B over A.

16:31It should be 50-50. Okay, so the baseline assumption is simpler. How do they apply calibration, then? They basically average the probabilities the LLM gives for both orderings. They ask for PAB and PBA and average them to get a more debiased estimate of the preference. And does this pairwise calibration actually improve pairs' performance? Yes. Table 3 shows it consistently helped the smaller models, Mistral 7B and LAMA 27B, giving them another boost in alignment with human judgments. What about the bigger models? Interestingly, it helped GPT 3.5 turbo less. The paper speculates this might be because GPT-3.5 tends to be very overconfident in its probability estimates.

17:09If it says 99 % sure AB, it's harder to calibrate that than a less confident prediction. You can kind of see this visually comparing the probability graphs in the paper. Figure 7 for GPT-3.5 looks much sharper, more confident than figure 4 for Mistral. Okay, interesting nuance there. We talked about efficiency gains with pairs overall, especially n log n versus n squared. How does it compare specifically in the number of queries needed versus other ways people might try to rank things from pairs? Yeah, figure six revisits this really clearly. It compares pairs, both greedy and beam, against simpler methods like just calculating a win-loss rate for each candidate or using an ELO rating system based on the pairwise outcomes.

17:52Pairs achieve similar or better correlation with human rankings using significantly fewer pairwise comparisons. The search algorithms really pay off. They avoid asking unnecessary questions and get to a good ranking much faster. It's a big practical win for cost and time. So wrapping up the core findings then, it seems this study makes a really strong argument that asking LLMs for pairwise preferences, especially using these smart pair search methods, is just a fundamentally better way to get automatic text evaluations that actually line up with what humans think. I think that's the main takeaway, yeah.

18:25It performs better, especially for smaller models. It's more efficient than naive pairwise, and it tackles inconsistencies. It leans into what LLMs seem better at relative comparison. It feels more aligned with how they're trained, too. Exactly. And, you know, the paper points towards future work, too, like maybe even better search algorithms or exploring comparisons beyond pairs, like asking the LLM to pick the best out of, say, three or four items at a time, KY's comparison for potentially even more efficiency. Which leads us nicely to a final thought for you, our listeners, to maybe chew on.

18:56If we're moving towards a world where AI is increasingly used to evaluate other AI, judging the quality of generated texts, summaries, maybe even creative work, how important is it that these AI evaluators can do more than just give a rank or a score? How important is it that they can explain why something is better in a way that makes sense to us humans? What does this work on pairwise comparisons showing that relative judgments align better than absolute scores suggest about how we might build AI evaluators that are not just accurate, but also more transparent, more understandable, and ultimately more trustworthy.

From the publisher

This paper investigates the limitations of large language models (LLMs) as evaluators when directly scoring natural language generation quality, finding that existing calibration methods are insufficient to align their judgments with humans. Inspired by preference-based training in RLHF, the authors propose Pairwise-preference Search (PAIRS), an efficient, scalable method that reframes evaluation as a ranking problem using uncertainty-guided pairwise comparisons. PAIRS is shown to outperform direct scoring and some specialized metrics in aligning with human judgments across summarization and story generation tasks, while also offering insights into the transitivity of LLM evaluations and benefiting from calibration.

More from Best AI papers explained

All episodes