Evaluating the Logical Reasoning Ability of ChatGPT and GPT-4

By Hanmeng Liu, Ruoxi Ning, Zhiyang Teng, Jian Liu, Qiji Zhou, Yuexin Zhang. 2023

336 citations recorded by the source corpus.

Harnessing logical reasoning ability is a comprehensive natural language understanding endeavor. With the release of Generative Pretrained Transformer 4 (GPT-4), highlighted as"advanced"at reasoning tasks, we are eager to learn the GPT-4 performance on various logical reasoning tasks. This report analyses multiple logical reasoning datasets, with popular benchmarks like LogiQA and ReClor, and newly-released datasets like AR-LSAT. We test the multi-choice reading comprehension and natural language inference tasks with benchmarks requiring logical reasoning. We further construct a logical reasoning out-of-distribution dataset to investigate the robustness of ChatGPT and GPT-4. We also make a performance comparison between ChatGPT and GPT-4. Experiment results show that ChatGPT performs significantly better than the RoBERTa fine-tuning method on most logical reasoning benchmarks. With early access to the GPT-4 API we are able to conduct intense experiments on the GPT-4 model. The results show GPT-4 yields even higher performance on most logical reasoning datasets. Among benchmarks, ChatGPT and GPT-4 do relatively well on well-known datasets like LogiQA and ReClor. However, the performance drops significantly when handling newly released and out-of-distribution datasets. Logical reasoning remains challenging for ChatGPT and GPT-4, especially on out-of-distribution and natural language inference datasets. We release the prompt-style logical reasoning datasets as a benchmark suite and name it LogiEval.

Subfields: Artificial Intelligence, Large Language Models, Prompting & Reasoning, Evaluation & Benchmarks

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Matei A. Zaharia
  2. Pan Lu
  3. James Y. Zou
  4. Jindong Wang
  5. Xingxu Xie
  6. William Yang Wang
  7. Alon Albalak
  8. Hao Chen

In Large Language Models

  1. Matei A. Zaharia
  2. James Y. Zou
  3. William Yang Wang
  4. Xinyi Wang
  5. Lingjiao Chen
  6. Yanqiao Zhu
  7. Pan Lu
  8. Cunxiang Wang

In Prompting & Reasoning

  1. Matei A. Zaharia
  2. William Yang Wang
  3. Xinyi Wang
  4. Yanqiao Zhu
  5. Pan Lu

In Evaluation & Benchmarks

  1. Matei A. Zaharia
  2. James Y. Zou
  3. Jindong Wang
  4. William Yang Wang
  5. Lingjiao Chen
  6. Linyi Yang
  7. Yanqiao Zhu
  8. Pan Lu

Citations in the corpus