Skip to main content
QUICK REVIEW

[Paper Review] Using Counterfactual Tasks to Evaluate the Generality of Analogical Reasoning in Large Language Models

Martha Lewis, Melanie Mitchell|arXiv (Cornell University)|Feb 14, 2024
Topic ModelingComputer Science10 citations
TL;DR

The paper creates counterfactual letter-string analogy problems to test whether LLMs rely on general abstract reasoning or training-data similarity, finding humans robustly succeed while GPT models decline on counterfactual variants.

ABSTRACT

Large language models (LLMs) have performed well on several reasoning benchmarks, including ones that test analogical reasoning abilities. However, it has been debated whether they are actually performing humanlike abstract reasoning or instead employing less general processes that rely on similarity to what has been seen in their training data. Here we investigate the generality of analogy-making abilities previously claimed for LLMs (Webb, Holyoak, & Lu, 2023). We take one set of analogy problems used to evaluate LLMs and create a set of "counterfactual" variants-versions that test the same abstract reasoning abilities but that are likely dissimilar from any pre-training data. We test humans and three GPT models on both the original and counterfactual problems, and show that, while the performance of humans remains high for all the problems, the GPT models' performance declines sharply on the counterfactual set. This work provides evidence that, despite previously reported successes of LLMs on analogical reasoning, these models lack the robustness and generality of human analogy-making.

Motivation & Objective

  • Evaluate whether LLMs show humanlike general abstract analogical reasoning beyond training-data similarity.
  • Test robustness of analogy-solving in LLMs using counterfactual alphabets and non-letter symbols.
  • Compare human performance to GPT-3, GPT-3.5, and GPT-4 on original and counterfactual problems.
  • Provide datasets and methodology to assess generality of analogy-making in LLMs.

Proposed method

  • Generate counterfactual analogy problems by permuting alphabets of sizes n in {0,2,5,10,20} and adding non-letter symbol alphabets.
  • Use six transformation types from Webb et al. and two generalization variants to create 420 problems per alphabet size plus non-permuted cases.
  • Evaluate humans (136 participants) and three GPT models (GPT-3, GPT-3.5, GPT-4) under zero-shot prompts with fixed temperature.
  • Include counterfactual comprehension checks to verify model understanding of successors and predecessors.
  • Analyze accuracy and error types, comparing performance across alphabet types and problem types.

Experimental results

Research questions

  • RQ1Do GPT models maintain performance on counterfactual letter-string analogies as humans do?
  • RQ2How does alphabet permutation or symbol substitution affect GPT models' analogical reasoning abilities?
  • RQ3Are GPT models' analogy abilities robust and general, or largely dependent on training data similarities?

Key findings

  • Humans maintain high performance on both original and counterfactual problems across alphabet types.
  • GPT models show high accuracy on original problems but decline on counterfactuals, with GPT-3.5 and GPT-4 performing notably worse than humans.
  • GPT models' performance drops when moving from standard to permuted alphabets and further to symbolic alphabets, suggesting limited generality.
  • GPT models exhibit distinct error patterns from humans, with more reliance on literal or incorrect-rule responses rather than inventive alternative rules.
  • Overall, results challenge the claim that GPT models solve analogies via general abstract reasoning comparable to humans.

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.