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

论大型语言模型在推理与规划任务上的自我验证局限

On the Self-Verification Limitations of Large Language Models on Reasoning and Planning Tasks

Arizona State University(亚利桑那州立大学)

Kaya Stechly, Karthik Valmeekam, Subbarao Kambhampati

AI总结:

本文通过GPT-4在Game of 24、Graph Coloring和STRIPS规划上的对比实验,发现自我批评导致性能下降,而可靠外部验证可显著提升性能。

摘要:

关于大型语言模型(LLM)的推理能力,一直存在相当大的意见分歧。尽管从乘法到简单规划等一系列反例,已经缓和了“推理可能会随规模扩大而自动涌现”的最初乐观情绪,但仍广泛存在一种信念:LLM能够以迭代方式自我批评并改进自己的解。这一信念似乎建立在“验证正确性应当比生成更容易”的假设之上——这是一个来自计算复杂性的相当经典的论点——但就LLM所做的是近似检索而言,该论点应当与它们无关。本文中,我们着手系统研究迭代提示在推理与规划情境下的有效性。我们提出了一项有原则的实证研究,考察GPT-4在三个领域中的表现:Game of 24、Graph Coloring和STRIPS规划。我们既实验了模型批评其自身答案,也实验了由外部正确推理器验证所提出的解。在每种情况下,我们都分析批评内容是否真正影响最终性能,以及能否在不损失性能的情况下消融增强系统中的元素。我们观察到,自我批评会造成显著的性能崩溃,而可靠的外部验证则带来显著的性能提升。我们还注意到,仅使用可靠验证器重新提示,就能保持更复杂设置的大部分收益。

英文摘要:

There has been considerable divergence of opinion on the reasoning abilities of Large Language Models (LLMs). While the initial optimism that reasoning might emerge automatically with scale has been tempered thanks to a slew of counterexamples--ranging from multiplication to simple planning--there persists a wide spread belief that LLMs can self-critique and improve their own solutions in an iterative fashion. This belief seemingly rests on the assumption that verification of correctness should be easier than generation--a rather classical argument from computational complexity--which should be irrelevant to LLMs to the extent that what they are doing is approximate retrieval. In this paper, we set out to systematically investigate the effectiveness of iterative prompting in the context of reasoning and planning. We present a principled empirical study of the performance of GPT-4 in three domains: Game of 24, Graph Coloring, and STRIPS planning. We experiment both with the model critiquing its own answers and with an external correct reasoner verifying proposed solutions. In each case, we analyze whether the content of criticisms actually affects bottom line performance, and whether we can ablate elements of the augmented system without losing performance. We observe significant performance collapse with self-critique and significant performance gains with sound external verification. We also note that merely re-prompting with a sound verifier maintains most of the benefits of more involved setups.

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

↑