Skip to main content
QUICK REVIEW

[Paper Review] Can ChatGPT Replace Traditional KBQA Models? An In-depth Analysis of the Question Answering Performance of the GPT LLM Family

Yiming Tan, Dehai Min|arXiv (Cornell University)|Mar 14, 2023
Topic ModelingComputer Science22 citations
TL;DR

The paper evaluates ChatGPT and the GPT family against traditional KBQA models across ~190k real-world KB-based complex QA cases, using a black-box CheckList framework, and analyzes multilingual performance and prompting effects, finding GPT models approach but do not universally surpass SOTA KBQA performance; CoT prompts can help certain question types.

ABSTRACT

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

Motivation & Objective

  • Assess whether ChatGPT and GPT-family models can replace traditional KBQA models on KB-based complex QA tasks.
  • Develop and apply a framework combining feature-driven labeling and improved answer evaluation for LLMs in KBQA.
  • Compare GPT-family models and FLAN-T5 across eight real-world KBQA datasets (including multilingual data).
  • Analyze stability, controllability, and the impact of chain-of-thought prompting on performance across question types.

Proposed method

  • Adopt the CheckList black-box testing framework with minimum functionality, invariance, and directional expectation tests.
  • Create a unified feature labeling scheme for questions based on answer type, reasoning type, and language type.
  • Extend exact-match evaluation by extracting candidate answer phrases from LLM outputs and matching them to Wikidata aliases using cosine similarity.
  • Empirically select an EM threshold via sampling to balance false positives and negatives in fuzzy matching.
  • Compare GPT-3, GPT-3.5 variants, ChatGPT, GPT-4, and FLAN-T5 across six English and two multilingual KBQA datasets (total ~190k questions).
  • Evaluate multilingual performance and analyze the influence of prompting and CoT on different answer/reasoning types.

Experimental results

Research questions

  • RQ1How do GPT-family LLMs perform on KB-based complex question answering compared to traditional KBQA models?
  • RQ2What strengths and weaknesses do GPT-family models exhibit across different answer types and reasoning types in KBQA?
  • RQ3How does multilingual capability vary among GPT-family models, and does GPT-4 outperform ChatGPT in multilingual settings?
  • RQ4What is the effect of chain-of-thought prompts on the GPT-family models’ KBQA performance across question types?

Key findings

  • GPT-family LLMs can outperform some traditional KBQA baselines on certain datasets but do not universally beat state-of-the-art KBQA models on the latest benchmarks.
  • GPT-4 and ChatGPT exhibit high stability, approaching traditional KBQA performance in many settings.
  • Newer GPT generations show consistent performance gains across datasets, with FLAN-T5 showing similar qualitative trends but generally weaker performance.
  • In multilingual evaluation, GPT-4 does not consistently surpass ChatGPT across languages, suggesting language-model improvements are nuanced in multilingual KBQA.
  • Chain-of-thought prompting improves performance for some numerical and complex reasoning questions but can hurt other question types, indicating task sensitivity to prompting.
  • CheckList-based evaluation reveals substantial variability and some randomness in model reasoning, though CoT prompts can boost performance for specific tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.