[論文レビュー] Progressive-Hint Prompting Improves Reasoning in Large Language Models
Progressive-Hint Prompting (PHP) は、以前の LLM 出力をヒントとして用い、後続の回答を洗練させる反復的な相互作用を可能にし、推論精度を向上させ、強力なプロンプトとモデル(例:GPT-4)と組み合わせたときに、いくつかの数学推論ベンチマークで最先端の結果を達成します。
The performance of Large Language Models (LLMs) in reasoning tasks depends heavily on prompt design, with Chain-of-Thought (CoT) and self-consistency being critical methods that enhance this ability. However, these methods do not fully exploit the answers generated by the LLM to guide subsequent responses. This paper proposes a new prompting method, named Progressive-Hint Prompting (PHP), that enables automatic multiple interactions between users and LLMs by using previously generated answers as hints to progressively guide toward the correct answers. PHP is orthogonal to CoT and self-consistency, making it easy to combine with state-of-the-art techniques to further improve performance. We conducted extensive and comprehensive experiments on seven benchmarks. The results show that PHP significantly improves accuracy while remaining highly efficient. For instance, with text-davinci-003, we observed a 4.2% improvement on GSM8K with greedy decoding compared to Complex CoT, and a 46.17% reduction in sample paths with self-consistency. With GPT-4 and PHP, we achieve state-of-the-art performances on SVAMP (89.1% -> 91.9%), GSM8K (92% -> 95.5%), AQuA (76.4% -> 79.9%) and MATH (50.3% -> 53.9%).
研究の動機と目的
- 従来の CoT および self-consistency を超えて、以前の回答をヒントとして再利用することにより、LLMs における多段階推論の改善を促す。
- 解が安定するまで(連続して2つの同じ回答)繰り返す2段階の prompting パイプラインを導入する。
- 標準の CoT、Complex CoT、self-consistency と複数のモデルで組み合わせた場合の互換性と効果の加算を示す。
提案手法
- Two-stage prompting pipeline: (1) 基底プロンプトを用いて基底回答を生成(例:CoT または Complex CoT);(2) Progressive-Hint Prompts (PHP-CoT または PHP-Complex CoT) を用いて安定化するまで後続の回答を生成する。
- Progressive-Hint Prompt design: 質問と前回の回答をヒントとして連結し、回答への近さを伝え、ヒントをリハーサルする2文の PHP フレームワークを加える。
- 停止条件: 連続して2つの回答が同一になると停止。
- プロンプトは正しいヒントと誤ったヒントの双方をサポートし、モデルの頑健性と適応性を検証する。
- 複数の LLM(text-davinci-002/003、GPT-3.5-Turbo、GPT-4)を用いた7つの数学推論データセットにわたる広範な評価。
- PHP が利益をもたらす時を理解するための相互作用回数とヒントの質の分析。
実験結果
リサーチクエスチョン
- RQ1以前のモデル出力に導かれた反復的なヒント付与は、標準の prompting を超えてLLMsの多段階推論を改善できますか?
- RQ2PHP は異なる prompting 戦略(Standard、CoT、Complex CoT)およびモデル機能(GPT-3.5、GPT-4)とどのように相互作用しますか?
- RQ3ヒントの質(正解 vs 不正解)がデータセット全体での PHP の性能に与える影響は何ですか?
- RQ4PHP は self-consistency 経路の必要性を減らすのか、self-consistency と組み合わせたときに効率を高めますか?
主な発見
- PHP はいくつかのデータセットで精度を向上させ、より強力なプロンプトとモデルと組み合わせた場合により大きな利得を得る。
- text-davinci-003 を用いると、PHP-Complex CoT は顕著な改善を示す(例:GSM8K +4.6%、SVAMP/他のデータセットは特定の設定で最大71.6%)
- GPT-4 と Complex CoT + PHP は SVAMP (91.9%)、GSM8K (95.5%)、AQuA (79.9%)、MATH (53.9%) で最先端を達成。
- 自己整合性の下で必要な推論経路の数を削減し、精度を維持または向上させつつコスト削減を実現できる。
- PHP からの性能向上は、より高品質なプロンプト(CoT、Complex CoT)およびより高性能なモデル(GPT-4)でより顕著である。
- アブレーション研究は、PHP プロンプトの P1 と P2 の両方の文が最良の結果に必要であることを示しており、特により強力なプロンプトではそうである。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。