[论文解读] In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPT
这篇论文在多个问答数据集上对 ChatGPT 的可靠性进行大规模评估,分析系统角色的影响,并测试对对抗性输入的鲁棒性。
The way users acquire information is undergoing a paradigm shift with the advent of ChatGPT. Unlike conventional search engines, ChatGPT retrieves knowledge from the model itself and generates answers for users. ChatGPT's impressive question-answering (QA) capability has attracted more than 100 million users within a short period of time but has also raised concerns regarding its reliability. In this paper, we perform the first large-scale measurement of ChatGPT's reliability in the generic QA scenario with a carefully curated set of 5,695 questions across ten datasets and eight domains. We find that ChatGPT's reliability varies across different domains, especially underperforming in law and science questions. We also demonstrate that system roles, originally designed by OpenAI to allow users to steer ChatGPT's behavior, can impact ChatGPT's reliability in an imperceptible way. We further show that ChatGPT is vulnerable to adversarial examples, and even a single character change can negatively affect its reliability in certain cases. We believe that our study provides valuable insights into ChatGPT's reliability and underscores the need for strengthening the reliability and security of large language models (LLMs).
研究动机与目标
- 评估 ChatGPT 的正确性以及在多样化的问答数据集和领域中对“无法回答的问题”的识别。
- 调查系统角色在实际应用中对 ChatGPT 可靠性的影响。
- 检验 ChatGPT 对对抗性、句子级以及字符级输入的易受攻击性。
提出的方法
- 组建一个代表性的 QA 测试床,包含来自十个数据集、跨八个领域、四种答案类型(YN、MC、EX、AB)的 5,695 个问题。
- 评估 ChatGPT(以 GPT-3.5 为基线;对一部分样本使用 GPT-4)在正确性和对无法回答的问题的识别上的表现,并通过重复试验提高鲁棒性。
- 应用 BERTopic 的主题分析,将问题映射到八个领域并确保领域覆盖。
- 通过官方 API 调用 ChatGPT,使用旨在获取特定任务格式的提示;在需要时自动提取答案或由人工标注者提取。
- 进行定性错误分析以归类失败与拒绝的原因;使用预定义的良性、坏性和越狱角色来分析系统角色的影响。

实验结果
研究问题
- RQ1RQ1:ChatGPT 在跨领域和任务的通用问答情景中的可靠性如何?
- RQ2RQ2:系统角色是否会影响 ChatGPT 的可靠性?
- RQ3RQ3:在对抗性样例下,ChatGPT 能否可靠地作出回应?
主要发现
- ChatGPT 的正确性随领域而异,在 recreation 与 technology 领域表现较好,在 law 与 science 领域表现较弱。
- GPT-4 相较 GPT-3.5 有适度改进,但可靠性仍不完善。
- ChatGPT 对无法回答的问题的识别能力有限(GPT-3.5:26.63%;GPT-4:14.29%)。
- 系统角色可能以微不可察的方式影响可靠性;良性角色可能提升正确性,而越狱/坏角色可能降低它。
- 对抗性、句子级和字符级攻击显著影响可靠性;泄露提示可使基于分数的分数提取攻击成为可能。
- 定性分析揭示失败原因(幻觉性事实、随意回答、指代混乱、知识不足)和拒绝原因(未提及、不当、视情况而定、无知识)。
- 在系统角色中,Expert-R(拒绝无法回答的问题)在某些数据集中改善无法回答的识别和正确性;而 jailbreak 角色通常会使性能下降。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。