Skip to main content
QUICK REVIEW

[論文レビュー] Active Prompting with Chain-of-Thought for Large Language Models

Shizhe Diao, Pengcheng Wang|arXiv (Cornell University)|Feb 23, 2023
Topic ModelingComputer Science被引用数 44
ひとこと要約

This paper introduces Active-Prompt, an uncertainty-based method to select task-specific questions annotated with chain-of-thought reasoning, improving LLM reasoning across eight datasets.

ABSTRACT

The increasing scale of large language models (LLMs) brings emergent abilities to various complex tasks requiring reasoning, such as arithmetic and commonsense reasoning. It is known that the effective design of task-specific prompts is critical for LLMs' ability to produce high-quality answers. In particular, an effective approach for complex question-and-answer tasks is example-based prompting with chain-of-thought (CoT) reasoning, which significantly improves the performance of LLMs. However, current CoT methods rely on a fixed set of human-annotated exemplars, which are not necessarily the most effective examples for different tasks. This paper proposes a new method, Active-Prompt, to adapt LLMs to different tasks with task-specific example prompts (annotated with human-designed CoT reasoning). For this purpose, we propose a solution to the key problem of determining which questions are the most important and helpful ones to annotate from a pool of task-specific queries. By borrowing ideas from the related problem of uncertainty-based active learning, we introduce several metrics to characterize the uncertainty so as to select the most uncertain questions for annotation. Experimental results demonstrate the superiority of our proposed method, achieving state-of-the-art on eight complex reasoning tasks. Further analyses of different uncertainty metrics, pool sizes, zero-shot learning, and accuracy-uncertainty relationship demonstrate the effectiveness of our method. Our code will be available at https://github.com/shizhediao/active-prompt.

研究の動機と目的

  • 注釈付けに最も情報価値の高い質問を選択してCoT promptingにおける人手の労力を削減する動機づけ。
  • CoT注釈の高価値質問を特定するための不確実性ベースの指標を提案する。
  • タスク特異的に注釈付けされた標本を用いて、8つの複雑な推論ベンチマークで最先端の性能を示す。

提案手法

  • 各質問につき複数の回答を生成するために k-shot prompting を用い、質問ごとの不確実性を計算する。
  • 上位n件の不確実性を持つ質問を人の注釈に選択し、根拠と回答を含む新たなCoT標本を作成する。
  • 新たに注釈付けされた標本をテストプロンプトの先頭に追加し、推論時に自己整合性を適用する。
  • 複数の不確実性指標(不一致、エントロピー、分散、自己信頼)を用いてその効果を研究する。
  • 8つのデータセットで、CoT、Self-Consistency、Auto-CoT、Random-CoT のベースラインと Active-Prompt を比較する。
  • プールサイズ、ゼロショット設定、注釈者の影響を分析してロバスト性を検証する。

実験結果

リサーチクエスチョン

  • RQ1CoT標本の不確実性ベースの選択は、注釈コストを削減しつつ推論性能を維持または向上させることができるか?
  • RQ2CoT prompting において、最も情報価値の高い質問を識別するのに最適な不確実性指標はどれか?
  • RQ3算術、常識、記号推論タスクで、既存のベースラインと比べて Active-Prompt はどのように性能を示すか?
  • RQ4プールサイズと注釈者のバリエーションが Active-Prompt の有効性に与える影響は何か?

主な発見

  • Active-Prompt(Disagreement)および Active-Prompt(Entropy)は、8データセット全体で最先端の性能を達成します。
  • 平均して、不確実性ベースの選択を用いる Active-Prompt は Self-Consistency を 7.0% (text-davinci-002) および 1.8% (code-davinci-002) 上回る。
  • 不一致とエントロピーは効果的な不確実性指標である。Self-Confidence はこの設定で性能が劣る。
  • ゼロショットの Active-Prompt は few-shot 版と競合する、初期の標本への依存を減らすことを示唆している。
  • Random-CoT は Active-Prompt より劣っており、不確実性主導の質問選択の価値を裏付けている。
  • プールサイズの分析では、不確実性推定のために k を約 10 まで大きくすると精度が向上することを示している。

この論文を読む

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

Nubintでこの論文を読む

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