Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models are not Fair Evaluators

Peiyi Wang, Lei Li|arXiv (Cornell University)|May 29, 2023
Topic ModelingComputer Science29 citations
TL;DR

The paper uncovers a significant positional bias when using LLMs as evaluators and proposes MEC, BPC, and HITLC to calibrate evaluations, achieving closer alignment with human judgments.

ABSTRACT

In this paper, we uncover a systematic bias in the evaluation paradigm of adopting large language models~(LLMs), e.g., GPT-4, as a referee to score and compare the quality of responses generated by candidate models. We find that the quality ranking of candidate responses can be easily hacked by simply altering their order of appearance in the context. This manipulation allows us to skew the evaluation result, making one model appear considerably superior to the other, e.g., Vicuna-13B could beat ChatGPT on 66 over 80 tested queries with ChatGPT as an evaluator. To address this issue, we propose a calibration framework with three simple yet effective strategies: 1) Multiple Evidence Calibration, which requires the evaluator model to generate multiple evaluation evidence before assigning ratings; 2) Balanced Position Calibration, which aggregates results across various orders to determine the final score; 3) Human-in-the-Loop Calibration, which introduces a balanced position diversity entropy to measure the difficulty of each example and seeks human assistance when needed. We also manually annotate the "win/tie/lose" outcomes of responses from ChatGPT and Vicuna-13B in the Vicuna Benchmark's question prompt, and extensive experiments demonstrate that our approach successfully mitigates evaluation bias, resulting in closer alignment with human judgments. We release our code and human annotation at \url{https://github.com/i-Eval/FairEval} to facilitate future research.

Motivation & Objective

  • Reveal and quantify positional bias in LLMs used as evaluators.
  • Develop a calibration framework to mitigate bias in LLM-based evaluation.
  • Demonstrate improved alignment with human judgments through automated and human-in-the-loop methods.
  • Provide open-source code and human annotations to support fair evaluation research.

Proposed method

  • Demonstrate that evaluation order affects LLM scoring and can overturn model rankings.
  • Introduce Multiple Evidence Calibration (MEC) to generate multiple evaluation evidences before scoring.
  • Introduce Balanced Position Calibration (BPC) to average scores across multiple orderings.
  • Introduce Human-in-the-Loop Calibration (HITLC) using Balanced Position Diversity Entropy (BPDE) to trigger human annotation on biased examples.
  • Use an annotated Vicuna Benchmark subset (80 questions) to compare automatic methods against human judgments.
  • Release code and annotations at the provided repository.

Experimental results

Research questions

  • RQ1Do LLM evaluators exhibit positional bias that biases model rankings?
  • RQ2Can calibration strategies (MEC, BPC) reduce evaluative bias and align results with human judgments?
  • RQ3Does incorporating limited human input (HITLC) further improve evaluation fairness at reasonable cost?

Key findings

  • LLMs as evaluators show strong positional bias; e.g., GPT-4 favors the first candidate, while ChatGPT often favors the second.
  • MEC improves GPT-4 and ChatGPT alignment with human judgments (GPT-4 accuracy up 9.8%, ChatGPT up 14.3%).
  • BPC further stabilizes scores by averaging across orders, reducing bias-driven conflicts.
  • HITLC with 20% human annotation cost achieves comparable or better alignment to human judgments, reducing annotation cost by up to 39% (from $30 to $18.3 per 80-item set).
  • MEC (k=3) + BPC (k=3) yields better performance than MEC with larger k, confirming the benefit of balancing position.
  • Automatic calibration methods generalize across templates and categories, improving evaluation robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.