Skip to main content
QUICK REVIEW

[论文解读] Consistency Analysis of ChatGPT

Myeongjun Jang, Thomas Lukasiewicz|arXiv (Cornell University)|Mar 11, 2023
Topic ModelingComputer Science被引用 11
一句话总结

本文使用 BECEL 基准在语义、否定、对称和传递性等属性上评估 ChatGPT 和 GPT-4 的逻辑一致性,发现即便是大型模型和提示/少量示例方法也不能保证完全一致,且自相矛盾的解释仍然存在。

ABSTRACT

ChatGPT has gained a huge popularity since its introduction. Its positive aspects have been reported through many media platforms, and some analyses even showed that ChatGPT achieved a decent grade in professional exams, adding extra support to the claim that AI can now assist and even replace humans in industrial fields. Others, however, doubt its reliability and trustworthiness. This paper investigates the trustworthiness of ChatGPT and GPT-4 regarding logically consistent behaviour, focusing specifically on semantic consistency and the properties of negation, symmetric, and transitive consistency. Our findings suggest that while both models appear to show an enhanced language understanding and reasoning ability, they still frequently fall short of generating logically consistent predictions. We also ascertain via experiments that prompt designing, few-shot learning and employing larger large language models (LLMs) are unlikely to be the ultimate solution to resolve the inconsistency issue of LLMs.

研究动机与目标

  • 评估语义等价输入在多种一致性类型下对 ChatGPT 和 GPT-4 决策的影响。
  • 使用 BECEL 基准量化否定、一致性对称性和传递性。
  • 在零-shot 和少-shot 提示下,将 ChatGPT 和 GPT-4 与微调的 PLMs 进行比较。
  • 确定提示设计、少-shot 学习或更大模型是否解决一致性问题。
  • 讨论在高风险领域中的可解释性挑战与可靠性影响。

提出的方法

  • 使用 BECEL 数据集在 SNLI、RTE、MRPC 和 WiC 任务上测试语义、否定、对称和传递性的一致性。
  • 生成原始和扰动的测试输入(改写、否定、重新排序的输入、传递性推理)。
  • 使用研究期间可用的 OpenAI API 版本,在零-shot 和两-shot 设置下,从 ChatGPT(两种提示设计)和 GPT-4 获取预测。
  • 计算每种一致性类型的 不一致性 指标(原始与扰动预测之差);引入一个有条件的不一致性指标以考虑潜在正确预测。
  • 与先前 PLM 研究中的 Electra-large 和 T5 基线进行对比,以进行情境基准。
  • 提供不一致性的定性示例并分析 ChatGPT 产生的解释。

实验结果

研究问题

  • RQ1在基于 BECEL 的评估中,ChatGPT 和 GPT-4 是否表现出语义、否定、对称和传递性的不一致性?
  • RQ2提示设计和少-shot 学习如何影响大语言模型的一致性?
  • RQ3增大模型规模(GPT-4 与 ChatGPT)是否在各任务中持续提高逻辑一致性?
  • RQ4ChatGPT 提供的解释是否在内部一致且忠实于输入文本?
  • RQ5观察到的不一致性对高风险领域的可靠性有哪些影响?

主要发现

  • 与微调的 PLMs 相比,ChatGPT 在改写情景中表现出更高的语义一致性和自相矛盾,表明逻辑一致性不完整。
  • 与 PLMs 相比,ChatGPT 和 GPT-4 的否定一致性有所提高,在 SNLI 中的有条件不一致性 notably 低。
  • ChatGPT 表现出更高的对称性不一致性,特别是在 MRPC 和 RTE 任务中,表明输入顺序敏感。
  • 在某些数据集上(尤其是 WiC),ChatGPT 的传递性一致性可能优于微调的 PLMs,表明在更高层次推理方面的强项。
  • 提示设计和少-shot 学习并不能可靠地修复一致性;GPT-4 在一致性指标上并不普遍胜过 ChatGPT,且仍然存在自相矛盾。
  • 研究突显显著的可解释性挑战,生成的解释有时与模型输出的其他部分矛盾。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。