Skip to main content
QUICK REVIEW

[論文レビュー] The Unreliability of Explanations in Few-shot Prompting for Textual Reasoning

Xi Ye, Greg Durrett|arXiv (Cornell University)|May 6, 2022
Topic ModelingComputer Science被引用数 52
ひとこと要約

本論文は、説明付きのプロンプトがQAとNLIにおけるfew-shotのテキスト推論に有効かを検討し、ほとんどのモデルで得られる改善は限定的である一方、顕著な例外があることを示し、説明は必ずしも事実に基づくものではない可能性があるが、事後校正には有用である可能性があることを示す。

ABSTRACT

Does prompting a large language model (LLM) like GPT-3 with explanations improve in-context learning? We study this question on two NLP tasks that involve reasoning over text, namely question answering and natural language inference. We test the performance of four LLMs on three textual reasoning datasets using prompts that include explanations in multiple different styles. For these tasks, we find that including explanations in the prompts for OPT, GPT-3 (davinci), and InstructGPT (text-davinci-001) only yields small to moderate accuracy improvements over standard few-show learning. However, text-davinci-002 is able to benefit more substantially. We further show that explanations generated by the LLMs may not entail the models' predictions nor be factually grounded in the input, even on simple tasks with extractive explanations. However, these flawed explanations can still be useful as a way to verify LLMs' predictions post-hoc. Through analysis in our three settings, we show that explanations judged by humans to be good--logically consistent with the input and the prediction--more likely cooccur with accurate predictions. Following these observations, we train calibrators using automatically extracted scores that assess the reliability of explanations, allowing us to improve performance post-hoc across all of our datasets.

研究の動機と目的

  • In-context promptsにおける説明が、テキスト推論タスク(QAとNLI)のfew-shot学習を改善するかを評価する。
  • モデル生成の説明の事実性と一貫性を特徴づける。
  • 説明を活用した校正技術を探求し、in-context learningの改善を図る。
  • 校正を通じて説明が役立つ時と方法について実務的な指針を提供する。

提案手法

  • 4つのLLM(OPT-175B、GPT-3 davinci、InstructGPT text-davinci-001、text-davinci-002)を3つのデータセット(Synth synthetic multi-hop QA、AdvHotpot、E-SNLI)で評価する。
  • Explain-then-Predict (E-P) および Predict-then-Explain (P-E) プロンプトスタイルを貪欲デコードとともに使用する。
  • 説明を伴わない標準的なFew-Shotプロンプトと比較する。
  • 説明の事実性(入力に基づく根拠)と一貫性(予測を含意するか)を分析する。
  • 自動的な信頼性スコアを用いた軽量キャリブレータを訓練し、事後予測を改善する。
  • 複数のショット群で平均と標準偏差を報告し、適用可能な場合は複数のシードを実行する。

実験結果

リサーチクエスチョン

  • RQ1プロンプト内の説明は、LLM間でテキスト推論タスクのin-context学習精度を有意に改善するか。
  • RQ2LLMが生成する説明は、一般に事実的か、それとも予測ラベルと整合しているだけか。
  • RQ3説明の信頼性を自動的に評価して予測を校正し、性能を改善できるか。
  • RQ4少数ショットおよびデータ不足の状況下で、QAとNLIタスクに対する説明ベースのキャリブレータはどう機能するか。

主な発見

  • Explanations yield small to moderate gains for OPT, GPT-3, and InstructGPT; text-davinci-002 shows the most substantial improvements with explanations.
  • LLM explanations tend to be consistent with predictions but are often not factual with respect to the input context.
  • Factuality of explanations correlates with prediction accuracy; nonfactual explanations frequently accompany incorrect predictions.
  • Calibration using automatically extracted factuality scores improves in-context learning across all datasets, with explanation-based calibrators outperforming probability-based baselines.
  • On AdvHotpot, explanation-based calibration (E-P+ExplCal) achieves higher AUC in selective-answer scenarios than baselines, effective even with limited extra data.
  • On Synth, a simple post-hoc check of explanation factuality can dramatically boost accuracy (from 52.4% to 74.8%).

この論文を読む

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

Nubintでこの論文を読む

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