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を用いたGraph Coloringに対する反復 prompting を経験的に分析し、LLMが着色の解決と検証に苦戦すること、バックプロンプトによる改善が主にトップ-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が自分の出力を批評する反復 promptingと、外部検証者による検証を比較評価する。
  • 批評内容がパフォーマンスに影響を与えるかを分析する。
  • 改善がフィードバック内容によるものか、それとも単に試行回数の増加によるものかを判断する。

提案手法

  • 事前計算済みクロマティック数を持つ、100個のランダムなグラフ着色インスタンスのデータセットを構築する(ノード数10–17、辺数約24)。
  • GPT-4による自己批評と、保証済み正解の検証者による検証を備えた反復 prompting フレームワークを実装する。
  • 直接生成、自己批評を伴う反復、外部検証バックプロンプトを含む複数の戦略(パス/フェイル、最初のエラー、全エラーなど)で比較する。
  • 複数の着色タイプ(最適、アブレート、非最適、ランダム、LLM由来)を含む別個の検証タスクを用いて、LLM提案着色の検証をテストする。
  • 複数の出力を要求してトップ-kサンプリングの効果を検証者が正解解を選択できるようにすることで検討する。

実験結果

リサーチクエスチョン

  • RQ1GPT-4は直接モードと反復モードの両方で、グラフ着色インスタンスを効果的に解くことができるか?
  • RQ2GPT-4は解の検証を信頼性高く行い、反復 prompting における自己批評を効果的に機能させるか?
  • RQ3異なるバックプロンプト戦略(最初のエラー、全エラー、パス/フェイル)がパフォーマンスに意味のある影響を与えるか?
  • RQ4反復 prompting で観察される改善は、フィードバック内容によるものなのか、それとも単に試行回数/トップ-kの機会が増えたことによるものか?
  • RQ5外部の保証された検証者が、GPT-4による自己検証と比較して成功率にどのような影響を与えるか?

主な発見

  • GPT-4 は直接モードでグラフ着色インスタンスを解く能力が低い。
  • GPT-4の検証能力も低く、自己批評を非効果的にし、時には有害になる。
  • 外部検証者を用いると、反復 prompting は控えめな改善(約40%程度)をもたらすが、バックプロンプトの内容は単に試行回数を増やすことに比べてほとんど影響を与えない。
  • 正解の解が top-k の出力の中に現れるときに改善が大きく生じ、それを外部検証者が選択する場合に起こる。
  • 異なるバックプロンプト戦略(最初のエラー、エラー一覧全体、単純なパス/フェイル)は同様の利益を生み、内容よりも反復回数が重要であることを示唆している。
  • 自己検証は最適な着色が現れても停止することが多く、正解を認識する際のためらいまたは誤判断を示している。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。