arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.02762cs.CLcs.AI
收藏

PRD:同行排名与讨论改进基于大语言模型的评估

PRD: Peer Rank and Discussion Improve Large Language Model based Evaluations

The University of Texas at Dallas(德克萨斯大学达拉斯分校)

Ruosen Li, Teerth Patel, Xinya Du

AI总结:

本文针对LLM评估中的自我增强和位置偏差问题,提出同行排名算法PR和同行讨论机制PD,并在两个基准上验证其能提高评估准确率、更贴合人类判断,且PR可在匿名设置下实现较准确的模型自我排名。

摘要:

如今,不同现代大语言模型(LLMs)生成的回答质量难以自动评估和比较。近期研究建议并主要使用LLMs对开放式问答进行无参考评估。更具体地说,它们使用公认“最强”的LLM作为评估器,对候选模型的回答进行成对比较并提供排名分数。然而,这种直观方法存在多个问题,例如引入自我增强(偏向自己的回答)和位置偏差。我们从教育领域(Cho & MacArthur, 2011; Walsh, 2014)汲取见解和经验,以改进基于LLM的评估。具体来说,我们提出(1)同行排名(peer rank, PR)算法,该算法考虑每个同行LLM对所有答案对的成对偏好,并输出模型的最终排名;以及(2)同行讨论(peer discussion, PD),我们提示两个LLM进行讨论,并尝试就两个答案的偏好达成一致。我们在两个基准数据集上进行了实验。我们发现,我们的方法取得了更高的准确率,并且与人类判断更一致。有趣的是,在匿名设置下(每个模型的名称不公开),PR能够诱导出相对准确的模型自我排名。我们的工作为评估人类难以比较的模型提供了探索空间。

英文摘要:

Nowadays, the quality of responses generated by different modern large language models (LLMs) is hard to evaluate and compare automatically. Recent studies suggest and predominantly use LLMs for reference-free evaluation of open-ended question answering. More specifically, they use the recognized "strongest" LLM as the evaluator, which conducts pairwise comparisons of candidate models' answers and provides a ranking score. However, this intuitive method has multiple problems, such as bringing in self-enhancement (favoring its own answers) and positional bias. We draw insights and lessons from the educational domain (Cho & MacArthur, 2011; Walsh, 2014) to improve LLM-based evaluations. Specifically, we propose (1) the peer rank (PR) algorithm that takes into account each peer LLM's pairwise preferences of all answer pairs, and outputs a final ranking of models; and (2) peer discussion (PD), where we prompt two LLMs to discuss and try to reach a mutual agreement on the preferences of two answers. We conduct experiments on two benchmark datasets. We find that our approaches achieve higher accuracy and align better with human judgments. Interestingly, PR can induce a relatively accurate self-ranking of models under the anonymous setting, where each model's name is unrevealed. Our work provides space to explore evaluating models that are hard to compare for humans.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑