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

评估 LLMs 在检测 LLM 响应中错误的能力

Evaluating LLMs at Detecting Errors in LLM Responses

Penn State University(宾夕法尼亚州立大学);Yale University(耶鲁大学);Stony Brook University(石溪大学);Allen Institute for AI(艾伦人工智能研究所)
Ryo Kamoi, Sarkar Snigdha Sarathi Das, Renze Lou, Jihyun Janice Ahn, Yilun Zhao, Xiaoxin Lu, Nan Zhang, Yusen Zhang, Ranran Haoran Zhang, Sujeeth Reddy Vummanth… 展开作者

Ryo Kamoi, Sarkar Snigdha Sarathi Das, Renze Lou, Jihyun Janice Ahn, Yilun Zhao, Xiaoxin Lu, Nan Zhang, Yusen Zhang, Ranran Haoran Zhang, Sujeeth Reddy Vummanthala, Salika Dave, Shaobo Qin, Arman Cohan, Wenpeng Yin, Rui Zhang

AI总结:

本文提出了首个包含客观、现实且多样错误的基准 ReaLMistake,用于评估 LLMs 检测 LLM 响应错误的能力,发现顶级 LLMs 召回率低且表现远逊于人类,现有改进方法无效。

摘要:

随着大型语言模型(LLMs)在各种任务中被广泛使用,检测其响应中的错误变得越来越重要。然而,关于 LLM 响应错误检测的研究很少。由于许多 NLP 任务的主观性,对 LLM 响应收集错误标注具有挑战性,因此以往的研究集中在实用价值极小的任务(例如,单词排序)或有限的错误类型(例如,摘要中的忠实性)上。本工作引入了 ReaLMistake,这是第一个由 LLMs 产生的客观、现实且多样的错误组成的错误检测基准。ReaLMistake 包含三个具有挑战性和意义的任务,在四个类别(推理正确性、指令遵循、上下文忠实性和参数化知识)中引入可客观评估的错误,从而在 GPT-4 和 Llama 2 70B 的响应中引发自然观察到且多样的错误,并由专家进行标注。我们使用 ReaLMistake 评估了基于 12 个 LLMs 的错误检测器。我们的研究结果表明:1)像 GPT-4 和 Claude 3 这样的顶级 LLMs 在检测 LLMs 所犯错误时召回率非常低,并且所有基于 LLM 的错误检测器的表现都比人类差得多。2)基于 LLM 的错误检测器的解释缺乏可靠性。3)基于 LLM 的错误检测对提示的微小变化很敏感,但仍然难以改进。4)改进 LLMs 的流行方法,包括自一致性和多数投票,并不能提高错误检测性能。我们的基准和代码可在 https://github.com/psunlpgroup/ReaLMistake 获取。

英文摘要:

With Large Language Models (LLMs) being widely used across various tasks, detecting errors in their responses is increasingly crucial. However, little research has been conducted on error detection of LLM responses. Collecting error annotations on LLM responses is challenging due to the subjective nature of many NLP tasks, and thus previous research focuses on tasks of little practical value (e.g., word sorting) or limited error types (e.g., faithfulness in summarization). This work introduces ReaLMistake, the first error detection benchmark consisting of objective, realistic, and diverse errors made by LLMs. ReaLMistake contains three challenging and meaningful tasks that introduce objectively assessable errors in four categories (reasoning correctness, instruction-following, context-faithfulness, and parameterized knowledge), eliciting naturally observed and diverse errors in responses of GPT-4 and Llama 2 70B annotated by experts. We use ReaLMistake to evaluate error detectors based on 12 LLMs. Our findings show: 1) Top LLMs like GPT-4 and Claude 3 detect errors made by LLMs at very low recall, and all LLM-based error detectors perform much worse than humans. 2) Explanations by LLM-based error detectors lack reliability. 3) LLMs-based error detection is sensitive to small changes in prompts but remains challenging to improve. 4) Popular approaches to improving LLMs, including self-consistency and majority vote, do not improve the error detection performance. Our benchmark and code are provided at https://github.com/psunlpgroup/ReaLMistake.

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

↑