Evidence from counterfactual tasks supports emergent analogical reasoning in large language models

Taylor Webb, Keith J. Holyoak, Hongjing Lu
4/14/2024
cs.CLcs.AI

No official code found. Best implementation: taylorwwebb/counterfactual_analogies (2 stars, Apache-2.0, last commit 2025-02-14).

Abstract

We recently reported evidence that large language models are capable of solving a wide range of text-based analogy problems in a zero-shot manner, indicating the presence of an emergent capacity for analogical reasoning. Two recent commentaries have challenged these results, citing evidence from so-called `counterfactual' tasks in which the standard sequence of the alphabet is arbitrarily permuted so as to decrease similarity with materials that may have been present in the language model's training data. Here, we reply to these critiques, clarifying some misunderstandings about the test materials used in our original work, and presenting evidence that language models are also capable of generalizing to these new counterfactual task variants.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Evaluating large language models on counterfactual analogy tasks

20R, PythonApr 11, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{webb2024evidence,
  title  = {Evidence from counterfactual tasks supports emergent analogical reasoning in large language models},
  author = {Taylor Webb and Keith J. Holyoak and Hongjing Lu},
  year   = {2024},
  eprint = {2404.13070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.13070v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.13070.svg)](https://codeofpaper.com/paper/2404.13070)

Discussion