Skip to main content
QUICK REVIEW

[论文解读] Large Language Models are not Fair Evaluators

Peiyi Wang, Lei Li|arXiv (Cornell University)|May 29, 2023
Topic ModelingComputer Science被引用 29
一句话总结

本文揭示在使用 LLM 作为评估者时存在显著的定位偏差,并提出 MEC、BPC 和 HITLC 来校准评估,从而与人类判断更接近一致。

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.

研究动机与目标

  • 揭示并量化用作评估者的 LLM 的定位偏差。
  • 开发一个校准框架以减轻基于 LLM 的评估偏差。
  • 通过自动化和人-in-the-loop 方法展示与人类判断的对齐提升。
  • 提供开源代码和人工注释以支持公平评估研究。

提出的方法

  • 证明评估顺序会影响 LLM 得分,甚至可能颠覆模型排名。
  • 引入 Multiple Evidence Calibration (MEC) 在评分前生成多份评估证据。
  • 引入 Balanced Position Calibration (BPC) 通过对多种排序取平均分来平衡位置。
  • 引入 Human-in-the-Loop Calibration (HITLC),使用 Balanced Position Diversity Entropy (BPDE) 在偏倚样本上触发人工标注。
  • 使用带注释的 Vicuna Benchmark 子集(80 个问题)来将自动方法与人类判断对比。
  • 在提供的代码库中发布代码和注释。

实验结果

研究问题

  • RQ1LLM 评估者是否表现出定位偏倚,进而影响模型排名?
  • RQ2校准策略(MEC、BPC)是否能够降低评估偏倚并使结果与人类判断保持一致?
  • RQ3引入有限的人类输入(HITLC)是否在可接受成本下进一步提升评估的公平性?

主要发现

  • 作为评估者的 LLM 展现出强烈的定位偏倚;例如 GPT-4 偏好第一个候选项,而 ChatGPT 常偏好第二个。
  • MEC 提高 GPT-4 和 ChatGPT 与人类判断的一致性(GPT-4 准确率提高 9.8%,ChatGPT 提高 14.3%)。
  • BPC 通过跨排序取平均进一步稳定分数,减少由偏倚驱动的冲突。
  • HITLC 在仅需 20% 的人工标注成本下实现与人类判断相当或更好的对齐,将注释成本降低最多 39%(从 $30 降至 $18.3 每 80 项)。
  • MEC (k=3) + BPC (k=3) 的表现优于 k 更大时的 MEC,证实平衡位置的好处。
  • 自动校准方法在模板和类别之间具有一般性,提高评估的鲁棒性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。