[論文レビュー] Chain-of-Thought Reasoning Without Prompting
事前学習済みのLLMは、代替の top-k デコード経路を探索することによって prompting なしでチェイン・オブ・思考(CoT)推論を示すことができる。CoT 経路は最終回答の信頼度の向上と相関し、複数のモデルやタスクで推論性能を高めるために抽出できる。
In enhancing the reasoning capabilities of large language models (LLMs), prior research primarily focuses on specific prompting techniques such as few-shot or zero-shot chain-of-thought (CoT) prompting. These methods, while effective, often involve manually intensive prompt engineering. Our study takes a novel approach by asking: Can LLMs reason effectively without prompting? Our findings reveal that, intriguingly, CoT reasoning paths can be elicited from pre-trained LLMs by simply altering the extit{decoding} process. Rather than conventional greedy decoding, we investigate the top-$k$ alternative tokens, uncovering that CoT paths are frequently inherent in these sequences. This approach not only bypasses the confounders of prompting but also allows us to assess the LLMs' extit{intrinsic} reasoning abilities. Moreover, we observe that the presence of a CoT in the decoding path correlates with a higher confidence in the model's decoded answer. This confidence metric effectively differentiates between CoT and non-CoT paths. Extensive empirical studies on various reasoning benchmarks show that the proposed CoT-decoding effectively elicits reasoning capabilities from language models, which were previously obscured by standard greedy decoding.
研究の動機と目的
- 事前学習済み LLM が明示的な prompting なしで効果的に推論できるかを評価する。
- グリーディデコーディングを超えるデコーディング軌道に、CoT 推論経路が本質的に存在するかを特定する。
- 回答の信頼度を用いて CoT 経路を確実に抽出するデコードベースの手法(CoT-デコーディング)を開発する。
- 数学、常識、シンボリックなど、複数のモデルと推論ベンチマークで手法を評価する。
- CoT-デコーディングを prompting ベースのアプローチと比較し、モデルの内在的能力を分析する。
提案手法
- 最初のステップでグリーディデコードと代替の top-k トークンデコードを比較し、CoT 経路を明らかにする。
- 確信度に基づく指標(Δ)を定義・計算し、上位2語が確率的に異なる CoT 経路を特定する。
- CoT-デコーディングを導入:回答の信頼度でデコード経路をランク付けして CoT 経路を選択する。
- 複数のモデル(PaLM-2 系列、Mistral-7B、Gemma-7B)を GSM8K、year parity、MultiArith、Web-of-Lies などのタスクで実験する。
- Δ による重み付き集約など、プロンプトなしで出力を安定化する経路の集約を評価する。
- 必要に応じて CoT-デコーディングとゼロショット CoT プロンプトを組み合わせて結果を向上させる。
実験結果
リサーチクエスチョン
- RQ1非グリーディデコード経路を探索することによって、事前学習済み LLM は prompting なしで推論能力を示すことができるか?
- RQ2CoT 推論経路はデコード軌道に本質的に存在するのか、そしてそれらは回答の信頼度とどのように関連するのか?
- RQ3CoT-デコーディングは CoT 経路を確実に抽出し、異なるモデルやタスクで推論性能を改善できるか?
- RQ4CoT-デコーディングは prompting アプローチ(ゼロショット CoT プロンプト)とどのように相互作用して性能に影響を与えるか?
- RQ5さまざまな難易度のタスクで CoT 経路を発見する際のデコードパラメータ k(top-k)の役割は何か?
主な発見
- 最初のステップで代替の top-k デコード経路を探索することにより、事前学習済み LLM で CoT 推論経路が現れることがある。
- デコードに CoT 経路が存在することは、最終回答の信頼度の高さと相関する。
- CoT-デコーディングはCoT経路を確実に抽出し、推論ベンチマークでグリーディデコードより顕著な改善をもたらす。
- CoT-デコーディングは事前学習済みモデルと指示調整済みモデルの両方を改善し、追加データなしで指示調整の性能に近づける。
- モデルファミリー(PaLM-2、Mistral-7B、Gemma-7B)に渡って、CoT-デコーディングは数学と常識タスクで一貫した精度向上をもたらす。
- CoT-デコーディングと prompting の組み合わせは、どちらのアプローチ単独よりも推論性能をさらに高める。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。