[论文解读] Can ChatGPT Replace Traditional KBQA Models? An In-depth Analysis of the Question Answering Performance of the GPT LLM Family
本论文在 ~190k 实世界基于 KB 的复杂问答案例中,对比评估了 ChatGPT 和 GPT 家族模型与传统 KBQA 模型,使用黑盒 CheckList 框架,并分析多语言表现和 prompting 效果,发现 GPT 模型接近但并未在普遍意义上超越 SOTA KBQA 性能;CoT prompts 可以在某些题型上提供帮助。
ChatGPT is a powerful large language model (LLM) that covers knowledge resources such as Wikipedia and supports natural language question answering using its own knowledge. Therefore, there is growing interest in exploring whether ChatGPT can replace traditional knowledge-based question answering (KBQA) models. Although there have been some works analyzing the question answering performance of ChatGPT, there is still a lack of large-scale, comprehensive testing of various types of complex questions to analyze the limitations of the model. In this paper, we present a framework that follows the black-box testing specifications of CheckList proposed by Ribeiro et. al. We evaluate ChatGPT and its family of LLMs on eight real-world KB-based complex question answering datasets, which include six English datasets and two multilingual datasets. The total number of test cases is approximately 190,000. In addition to the GPT family of LLMs, we also evaluate the well-known FLAN-T5 to identify commonalities between the GPT family and other LLMs. The dataset and code are available at https://github.com/tan92hl/Complex-Question-Answering-Evaluation-of-GPT-family.git
研究动机与目标
- 评估 ChatGPT 和 GPT-family 模型是否能够取代传统 KBQA 模型在 KB 基础的复杂 QA 任务上。
- 开发并应用一个结合要素驱动标注与改进答案评估的框架,用于在 KBQA 中对大型语言模型进行评估。
- 在八个真实世界的 KBQA 数据集(包含多语言数据)中比较 GPT-family 模型与 FLAN-T5。
- 分析稳定性、可控性,以及提示(chain-of-thought)对不同问题类型的性能影响。
提出的方法
- 采用 CheckList 黑盒测试框架,包含最小可用性、不变量和方向性期望测试。
- 为基于答案类型、推理类型和语言类型的问题创建统一的特征标注方案。
- 通过从 LLM 输出中提取候选答案短语并使用余弦相似度与 Wikidata 别名进行匹配来扩展精确匹配评估。
- 通过抽样经验性地选择 EM 阈值,以在模糊匹配中平衡假阳性和假阴性。
- 在六个英文和两个多语言 KBQA 数据集(总 ~190k 问题)上比较 GPT-3、GPT-3.5 变体、ChatGPT、GPT-4 和 FLAN-T5。
- 评估多语言表现并分析 prompting 和 CoT 对不同答案/推理类型的影响。
实验结果
研究问题
- RQ1GPT-family LLMs 在基于 KB 的复杂问答上与传统 KBQA 模型相比的表现如何?
- RQ2GPT-family 模型在 KBQA 的不同答案类型和推理类型上展现出了哪些优点与不足?
- RQ3在 GPT-family 模型中,多语言能力的差异如何,GPT-4 是否在多语言环境中优于 ChatGPT?
- RQ4 chain-of-thought 提示对 GPT-family 模型在不同问题类型的 KBQA 性能有何影响?
主要发现
- GPT-family LLMs 在某些数据集上可以优于一些传统 KBQA 基线,但并不能在最新基准测试上普遍超越 SOTA KBQA 模型。
- GPT-4 和 ChatGPT 在很多设置中表现出较高的稳定性,接近传统 KBQA 的性能。
- 更新的 GPT 代在所有数据集上表现出一致的性能提升,FLAN-T5 在 qualitatively 上呈现类似趋势但总体性能较弱。
- 在多语言评测中,GPT-4 在语言间并不始终超越 ChatGPT,表明多语言 KBQA 中语言模型的改进是细致的。
- 链式推理提示在某些数值和复杂推理问题上提升了性能,但可能对其他题型造成损害,表明任务对提示敏感。
- 基于 CheckList 的评估揭示模型推理存在显著的变异性和一定的随机性,尽管 CoT 提示对某些任务能提升性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。