[Paper Review] GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
The paper empirically analyzes iterative prompting for Graph Coloring with GPT-4, showing LLMs struggle to solve and verify colorings and that improvements from backprompting mainly come from top-k completions rather than critique content.
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.
Motivation & Objective
- Assess GPT-4’s ability to solve and verify graph coloring instances.
- Evaluate iterative prompting where GPT-4 critiques its own outputs vs. an external verifier.
- Analyze whether the content of criticisms affects performance.
- Determine whether improvements come from feedback content or simply from more attempts.
Proposed method
- Construct a dataset of 100 random graph coloring instances (10–17 nodes, ~24 edges) with precomputed chromatic numbers.
- Implement an iterative prompting framework with two modes: self-critique by GPT-4 and verification by a guaranteed-correct verifier.
- Compare direct generation, self-critiquing iterations, and external verifier backprompting across multiple strategies (pass/fail, first error, all errors, etc.).
- Test verification of LLM-proposed colorings using a separate verification task with several coloring types (optimal, ablated, non-optimal, random, LLM-derived).
- Examine top-k sampling effects by requesting multiple outputs and allowing a verifier to select a correct solution.
Experimental results
Research questions
- RQ1Can GPT-4 effectively solve graph coloring instances in direct and iterative modes?
- RQ2Does GPT-4 reliably verify solutions, enabling effective self-critiquing in iterative prompting?
- RQ3Do different backprompt strategies (first error, all errors, pass/fail) meaningfully impact performance?
- RQ4Is any observed improvement in iterative prompting due to the content of feedback or simply due to having more attempts/top-k chances?
- RQ5How does an external, guaranteed verifier influence the success rate compared to self-verification by GPT-4?
Key findings
- GPT-4 performs poorly on solving graph coloring instances in direct mode.
- GPT-4’s verification ability is also weak, making self-critiquing ineffective and sometimes detrimental.
- With an external verifier, iterative prompting yields modest improvements (around 40%), but the content of backprompts has little impact compared to simply increasing the number of attempts.
- The improvements largely arise when the correct solution happens to appear among the top-k completions, which the external verifier then selects.
- Different backprompt strategies (first error vs. full error lists vs. simple pass/fail) produce similar gains, suggesting content is less critical than iteration count.
- Self-verification often fails to stop when an optimal coloring appears, indicating hesitancy or misjudgment in recognizing correctness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.