arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.11629cs.CL
收藏

多示例上下文学习能否帮助大语言模型作为评估者?一项初步实证研究

Can Many-Shot In-Context Learning Help LLMs as Evaluators? A Preliminary Empirical Study

Tencent Hunyuan(腾讯混元)

Mingyang Song, Mao Zheng, Xuan Luo, Yue Pan

AI总结:

本文针对大语言模型作为评估者时存在的潜在偏见问题,提出并比较了带参考和不带参考的两种多示例上下文学习提示模板,实验证明GPT-4o在多示例设置下评估一致性和质量更优,且带参考模板效果更好。

摘要:

利用大语言模型(LLMs)作为评估者来评价其他大语言模型的表现已受到广泛关注。然而,这种评估方法会受到大语言模型内部潜在偏见的影响,从而引发对其评估结果准确性和可靠性的担忧。为解决这一问题,我们提出并研究了两种多示例上下文学习(ICL)提示模板,以帮助大语言模型评估者减轻潜在偏见:带参考的多示例(MSwR)和不带参考的多示例(MSoR)。具体而言,前者利用包含模型生成的评估理由的上下文示例作为参考,而后者则不包含这些参考。借助这些提示设计,我们研究了增加上下文示例数量对评估结果一致性和质量的影响。实验结果表明,先进的大语言模型(如GPT-4o)在多示例设置下的表现优于零示例和少示例设置。此外,在多示例设置下使用GPT-4o作为评估者时,采用MSwR作为提示模板的表现优于MSoR。

英文摘要:

Utilizing Large Language Models (LLMs) as evaluators to assess the performance of LLMs has garnered attention. However, this kind of evaluation approach is affected by potential biases within LLMs, raising concerns about the accuracy and reliability of the evaluation results of LLMs. To address this problem, we propose and study two many-shot In-Context Learning (ICL) prompt templates to help LLM evaluators mitigate potential biases: Many-Shot with Reference (MSwR) and Many-Shot without Reference (MSoR). Specifically, the former utilizes in-context examples with model-generated evaluation rationales as references, while the latter does not include these references. Using these prompt designs, we investigate the impact of increasing the number of in-context examples on the consistency and quality of the evaluation results. Experimental results show that advanced LLMs, such as GPT-4o, perform better in the many-shot regime than in the zero-shot and few-shot regimes. Furthermore, when using GPT-4o as an evaluator in the many-shot regime, adopting MSwR as the prompt template performs better than MSoR.

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

↑