大语言模型可通过概率差异实现自我评估
Language Models can Evaluate Themselves via Probability Discrepancy
AI总结:
该研究发现能力越强的大语言模型输出概率分布越均匀,据此提出无需外部模型的ProbDiff自我评估法,通过被测模型初始回复与修订版的概率差异衡量能力,在多类任务和基准上达到与GPT-4评估相当的效果。
摘要:
本文首先论证了如下现象:在执行查询响应任务时,能力更强的大语言模型(Large Language Models, LLMs)输出答案的概率分布更均匀,而能力较弱的模型则相反。基于这一核心发现,我们提出一种名为ProbDiff的新型自我评估方法,用于衡量各类LLMs的性能。该方法无需额外评估模型,也不依赖GPT-4等外部专有模型进行评判,其独特之处在于利用被测LLM自身计算初始回复与其修订版本之间的概率差异:对于同一查询,两个LLM之间的差异越大,说明其中一方的能力相对越弱。实验结果显示,ProbDiff在多种场景下的评估结果与基于GPT-4的评估结果相当,覆盖的场景包括翻译、摘要、我们提出的小红书博客写作任务等自然语言生成(natural language generation, NLG)任务,以及AlignBench、MT-Bench、AlpacaEval等LLM评估基准,测试涵盖了不同规模的LLMs。
英文摘要:
In this paper, we initiate our discussion by demonstrating how Large Language Models (LLMs), when tasked with responding to queries, display a more even probability distribution in their answers if they are more adept, as opposed to their less skilled counterparts. Expanding on this foundational insight, we propose a new self-evaluation method ProbDiff for assessing the efficacy of various LLMs. This approach obviates the necessity for an additional evaluation model or the dependence on external, proprietary models like GPT-4 for judgment. It uniquely utilizes the LLMs being tested to compute the probability discrepancy between the initial response and its revised versions. A higher discrepancy for a given query between two LLMs indicates a relatively weaker capability. Our findings reveal that ProbDiff achieves results on par with those obtained from evaluations based on GPT-4, spanning a range of scenarios that include natural language generation (NLG) tasks such as translation, summarization, and our proposed Xiaohongshu blog writing task, and benchmarks for LLM evaluation like AlignBench, MT-Bench, and AlpacaEval, across LLMs of varying magnitudes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。