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

GPT-4不知道自己是错的:针对推理问题迭代提示的分析

GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems

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

Kaya Stechly, Matthew Marquez, Subbarao Kambhampati

AI总结:

本文研究了GPT-4在图着色问题上的迭代提示性能,发现其自我批评和验证能力不佳,性能提升仅因正确解碰巧出现在top-k补全中,质疑了LLMs的自我批评能力。

摘要:

关于大型语言模型(LLMs)的推理能力,一直存在相当大的分歧。尽管一系列反例的出现,使得最初认为推理能力会随模型规模自动涌现的乐观情绪有所降温,但人们仍普遍相信它们具备迭代自我批评的能力。在本文中,我们系统地研究了LLMs迭代提示在图着色问题上的有效性。图着色是一个经典的NP完全推理问题,与命题可满足性以及调度和分配等实际问题相关。我们对GPT-4在解决图着色实例或验证候选着色正确性方面的表现进行了严谨的实证研究。在迭代模式下,我们实验了模型批评自己的答案以及由外部正确推理器验证所提方案。在这两种情况下,我们分析了批评的内容是否真正影响了最终性能。研究表明:(i) LLMs在解决图着色实例方面表现糟糕;(ii) 它们在验证解决方案方面同样表现不佳——因此在LLMs批评LLM生成方案的迭代模式中并不有效;(iii) 批评的正确性与内容——无论是来自LLMs还是外部求解器——似乎与迭代提示的性能基本无关。我们证明,观察到的有效性提升主要归因于正确解碰巧出现在提示的top-k补全中(并被外部验证器识别为正确解)。因此,我们的结果对当前最先进LLMs的自我批评能力提出了质疑。

英文摘要:

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, a wide spread belief in their iterative self-critique capabilities persists. In this paper, we set out to systematically investigate the effectiveness of iterative prompting of LLMs in the context of Graph Coloring, a canonical NP-complete reasoning problem that is related to propositional satisfiability as well as practical problems like scheduling and allocation. We present a principled empirical study of the performance of GPT4 in solving graph coloring instances or verifying the correctness of candidate colorings. In iterative modes, we experiment with the model critiquing its own answers and an external correct reasoner verifying proposed solutions. In both cases, we analyze whether the content of the criticisms actually affects bottom line performance. The study seems to indicate that (i) LLMs are bad at solving graph coloring instances (ii) they are no better at verifying a solution--and thus are not effective in iterative modes with LLMs critiquing LLM-generated solutions (iii) the correctness and content of the criticisms--whether by LLMs or external solvers--seems largely irrelevant to the performance of iterative prompting. We show that the observed increase in effectiveness is largely due to the correct solution being fortuitously present in the top-k completions of the prompt (and being recognized as such by an external verifier). Our results thus call into question claims about the self-critiquing capabilities of state of the art LLMs.

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

↑