arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.07215cs.AI
收藏

大型语言模型能推理吗?通过3-SAT进行表征

Can Large Language Models Reason? A Characterization via 3-SAT

Centre for Applied Autonomous Sensor Systems (AASS), Örebro University(厄勒布鲁大学应用自主传感器系统中心(AASS));Department of Computer Science, KU Leuven(鲁汶大学计算机科学系)

Rishi Hazra, Gabriele Venturato, Pedro Zuidberg Dos Martires, Luc De Raedt

AI总结:

本文通过随机3-SAT相变实验协议,从计算理论视角系统评估LLM推理能力,证明其无法进行真正推理且性能随问题难度变化,并发现集成外部推理器可显著提升表现。

摘要:

大型语言模型(LLMs)被宣传为具备高级推理能力的AI模型。然而,近期研究表明,LLMs常常利用捷径绕过真正的推理,这引发了质疑。为了以有原则的方式研究推理能力,我们采用计算理论的视角,并提出一个以3-SAT为核心的实验协议——3-SAT是典型的NP完全问题,位于逻辑推理和约束满足任务的核心。具体而言,我们考察随机3-SAT中的相变,并通过改变问题实例的内在难度来表征LLMs的推理能力。我们的实验证据表明,LLMs无法执行解决3-SAT问题所需的真正推理。此外,我们观察到基于问题内在难度的显著性能差异——在较难的实例上表现较差,反之亦然。重要的是,我们表明集成外部推理器可以显著提升LLM性能。通过遵循有原则的实验协议,我们的研究得出了具体结论,并超越了LLM推理研究中常见的轶事性证据。

英文摘要:

Large Language Models (LLMs) have been touted as AI models possessing advanced reasoning abilities. However, recent works have shown that LLMs often bypass true reasoning using shortcuts, sparking skepticism. To study the reasoning capabilities in a principled fashion, we adopt a computational theory perspective and propose an experimental protocol centered on 3-SAT -- the prototypical NP-complete problem lying at the core of logical reasoning and constraint satisfaction tasks. Specifically, we examine the phase transitions in random 3-SAT and characterize the reasoning abilities of LLMs by varying the inherent hardness of the problem instances. Our experimental evidence shows that LLMs are incapable of performing true reasoning, as required for solving 3-SAT problems. Moreover, we observe significant performance variation based on the inherent hardness of the problems -- performing poorly on harder instances and vice versa. Importantly, we show that integrating external reasoners can considerably enhance LLM performance. By following a principled experimental protocol, our study draws concrete conclusions and moves beyond the anecdotal evidence often found in LLM reasoning research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑