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

IF 2.2 Q2 MULTIDISCIPLINARY SCIENCES
PNAS nexus Pub Date : 2025-05-27 eCollection Date: 2025-05-01 DOI:10.1093/pnasnexus/pgaf135
Taylor W Webb, Keith J Holyoak, Hongjing Lu
{"title":"Evidence from counterfactual tasks supports emergent analogical reasoning in large language models.","authors":"Taylor W Webb, Keith J Holyoak, Hongjing Lu","doi":"10.1093/pnasnexus/pgaf135","DOIUrl":null,"url":null,"abstract":"<p><p>A major debate has recently arisen concerning whether large language models (LLMs) have developed an emergent capacity for analogical reasoning. While some recent work has highlighted the strong zero-shot performance of these systems on a range of text-based analogy tasks, often rivaling human performance, other work has challenged these conclusions, citing evidence from so-called \"counterfactual\" tasks-tasks that are modified so as to decrease similarity with materials that may have been present in the language models' training data. Here, we report evidence that language models are also capable of generalizing to these new counterfactual task variants when they are augmented with the ability to write and execute code. The results further corroborate the emergence of a capacity for analogical reasoning in LLMs and argue against claims that this capacity depends on simple mimicry of the training data.</p>","PeriodicalId":74468,"journal":{"name":"PNAS nexus","volume":"4 5","pages":"pgaf135"},"PeriodicalIF":2.2000,"publicationDate":"2025-05-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12107539/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"PNAS nexus","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1093/pnasnexus/pgaf135","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/5/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

A major debate has recently arisen concerning whether large language models (LLMs) have developed an emergent capacity for analogical reasoning. While some recent work has highlighted the strong zero-shot performance of these systems on a range of text-based analogy tasks, often rivaling human performance, other work has challenged these conclusions, citing evidence from so-called "counterfactual" tasks-tasks that are modified so as to decrease similarity with materials that may have been present in the language models' training data. Here, we report evidence that language models are also capable of generalizing to these new counterfactual task variants when they are augmented with the ability to write and execute code. The results further corroborate the emergence of a capacity for analogical reasoning in LLMs and argue against claims that this capacity depends on simple mimicry of the training data.

来自反事实任务的证据支持大型语言模型中的紧急类比推理。
关于大型语言模型(llm)是否已经发展出一种新兴的类比推理能力,最近出现了一个主要的争论。虽然最近的一些工作强调了这些系统在一系列基于文本的类比任务上的强大的零射击性能,通常与人类的表现相媲美,但其他工作对这些结论提出了挑战,引用了所谓的“反事实”任务的证据-这些任务经过修改,以降低与语言模型训练数据中可能存在的材料的相似性。在这里,我们报告的证据表明,当语言模型被增强了编写和执行代码的能力时,它们也能够泛化到这些新的反事实任务变体。结果进一步证实了法学硕士中类比推理能力的出现,并反驳了这种能力依赖于简单模仿训练数据的说法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
1.80
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信