Skip to main content
QUICK REVIEW

[论文解读] GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems

Kaya Stechly, Matthew Marquez|arXiv (Cornell University)|Oct 19, 2023
Topic ModelingComputer Science被引用 11
一句话总结

本文通过对使用 GPT-4 的图着色任务的迭代提示的实证分析,显示大语言模型在求解和验证着色方面存在困难,并且来自 backprompting 的改进主要来自 top-k 完成,而非批评内容。

ABSTRACT

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.

研究动机与目标

  • 评估 GPT-4 解决和验证图着色实例的能力。
  • 评估在 GPT-4 批评自身输出与外部验证者之间的迭代提示。
  • 分析批评内容是否会影响性能。
  • 确定改进是否来自反馈内容,还是仅仅来自更多的尝试。

提出的方法

  • 构建一个包含 100 个随机图着色实例的数据集(节点数 10–17,边 ~24,预先计算的色数)。
  • 实现一个迭代提示框架,包含两种模式:GPT-4 的自我批评和由一个保证正确的验证者进行验证。
  • 比较直接生成、自我批评迭代和外部验证者回提示在多种策略(通过/失败、首个错误、所有错误等)下的表现。
  • 使用带有若干着色类型的单独验证任务测试对 LLM 提出着色的验证(最优、削减、非最优、随机、LLM 派生)。
  • 通过请求多个输出并允许验证者选择正确解来检查 top-k 采样效应。

实验结果

研究问题

  • RQ1GPT-4 在直接模式和迭代模式下能否有效解决图着色实例?
  • RQ2GPT-4 是否能可靠地验证解,从而在迭代提示中实现有效的自我批评?
  • RQ3不同的回提示策略(首个错误、全部错误、通过/失败)是否会显著影响性能?
  • RQ4迭代提示中的任何观察到的改进是来自反馈内容还是仅仅来自更多尝试/top-k 次数?
  • RQ5外部、保证正确的验证者相较于自我验证对成功率有何影响?

主要发现

  • GPT-4 在直接模式下解决图着色实例的表现较差。
  • GPT-4 的验证能力也较弱,使自我批评无效甚至有时有害。
  • 在外部验证者的帮助下,迭代提示可带来适度的改进(约 40%),但回提示的内容与简单增加尝试次数相比影响不大。
  • 改进主要出现在正确解恰好出现在 top-k 完成中的情况,外部验证器随后选择了该解。
  • 不同的回提示策略(首个错误、完整错误列表、简单通过/失败)产生的增益相似,表明内容不如迭代次数重要。
  • 自我验证在出现最优着色时常常无法停止,表明对正确性的犹豫或判断错误。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。