[논문 리뷰] GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problems
이 논문은 GPT-4를 이용한 그래프 색칠에 대한 반복 프롬프트를 실증적으로 분석하여 LLM이 색칠 문제를 해결하고 검증하는 데 어려움을 겪고 있으며, 역프롬프트(backprompting)로부터의 개선은 주로 상위-k 완성에서 비롯된다는 것을 보여준다.
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가 자체 산출물을 비판하는 방식의 반복 프롬프트와 외부 검증자에 의한 검증의 두 가지 모드로 반복 프롬프트를 평가한다.
- 비판의 내용이 성능에 영향을 미치는지 분석한다.
- 개선이 피드백 내용으로부터인지 아니면 단순히 더 많은 시도에서 비롯되는지 판단한다.
제안 방법
- 사전에 계산된 색수(chromatic numbers)가 있는 100개의 무작위 그래프 색칠 인스턴스(노드 10–17개, 간선 약 24개) 데이터셋을 구성한다.
- GPT-4에 의한 자체 비판과 보장된 정답 검증기에 의한 검증의 두 가지 모드로 반복 프롬프트 프레임워크를 구현한다.
- 직접 생성, 자체 비판 반복, 외부 검증자 백프롬프트를 여러 전략(pass/fail, first error, all errors 등)으로 비교한다.
- 여러 색칠 유형(optimal, ablated, non-optimal, random, LLM-derived)을 포함한 별도의 검증 작업을 사용하여 LLM이 제안한 색칠의 검증을 테스트한다.
- 다수의 출력을 요청하고 검증기가 올바른 해를 선택하도록 함으로써 top-k 샘플링의 효과를 조사한다.
실험 결과
연구 질문
- RQ1직접 모드와 반복 모드에서 GPT-4가 그래프 색칠 인스턴스를 효과적으로 해결할 수 있는가?
- RQ2GPT-4가 솔루션을 신뢰성 있게 검증하여 반복 프롬프트에서 효과적인 자체 비판을 가능하게 하는가?
- RQ3다른 백프롬프트 전략(first error, all errors, pass/fail)이 성능에 의미 있게 영향을 미치는가?
- RQ4반복 프롬 prompting에서 관찰된 개선이 피드백 내용 때문인지 아니면 단순히 더 많은 시도/상위-k 기회 때문인지?
- RQ5외부의 보장된 검증기가 GPT-4의 자체 검증과 비교했을 때 성공률에 어떤 영향을 미치는가?
주요 결과
- GPT-4는 직접 모드에서 그래프 색칠 인스턴스를 해결하는 데에 성능이 저조하다.
- GPT-4의 검증 능력도 약해 자체 비판을 비효율적이고 때로 해로울 수 있다.
- 외부 검증기가 있을 때 반복 프롬 prompting은 약 40% 정도의 개선을 보이나, 백프롬프트의 내용은 단순히 시도 횟수를 늘리는 것에 비해 큰 영향을 주지 않는다.
- 개선은 주로 올바른 해가 상위-k 완성 중에 우연히 나타나고 이를 외부 검증기가 선택할 때 발생한다.
- 다른 백프롬프트 전략(first error vs. full error lists vs. simple pass/fail)은 유사한 이득을 만들어내어 내용보다는 반복 횟수가 더 중요하다는 것을 시사한다.
- 자체 검증은 최적의 색칠이 나타날 때 이를 중지하지 못하는 경우가 많아 정확성 인식에 주저하거나 판단이 잘못될 수 있음을 시사한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.