[論文レビュー] PINTO: Faithful Language Reasoning Using Prompt-Generated Rationales
PINTOは凍結された中規模 LM に対して選択肢ごとの推論根拠を生成させる2段階のパイプラインを提案し、その後、より小さな推論 LM を微調整してそれらの根拠を用いて回答させ、反事実正則化を通じて根拠の忠実な利用を保証し、IDおよびOOD一般化を改善する。
Neural language models (LMs) have achieved impressive results on various language-based reasoning tasks by utilizing latent knowledge encoded in their own pretrained parameters. To make this reasoning process more explicit, recent works retrieve a rationalizing LM's internal knowledge by training or prompting it to generate free-text rationales, which can be used to guide task predictions made by either the same LM or a separate reasoning LM. However, rationalizing LMs require expensive rationale annotation and/or computation, without any assurance that their generated rationales improve LM task performance or faithfully reflect LM decision-making. In this paper, we propose PINTO, an LM pipeline that rationalizes via prompt-based learning, and learns to faithfully reason over rationales via counterfactual regularization. First, PINTO maps out a suitable reasoning process for the task input by prompting a frozen rationalizing LM to generate a free-text rationale. Second, PINTO's reasoning LM is fine-tuned to solve the task using the generated rationale as context, while regularized to output less confident predictions when the rationale is perturbed. Across four datasets, we show that PINTO significantly improves the generalization ability of the reasoning LM, yielding higher performance on both in-distribution and out-of-distribution test sets. Also, we find that PINTO's rationales are more faithful to its task predictions than those generated by competitive baselines.
研究の動機と目的
- 暗黙知タスクにおける言語モデルの明示的で忠実な推論を喚起する。
- プロンプトベースの推論付けを用いて高価な推論根拠の注釈への依存を減らす。
- 推論と根拠の質を結びつける反事実正則化により、IDおよびOODの一般化を向上させる。
- 推論根拠生成モジュールを凍結しつつ、より小さな推論LMを微調整することで効率的な学習を可能にする。
- 生成された根拠がベースラインより忠実であることを示し、性能向上のために精練できることを示す。
提案手法
- Rationalizing module: 小規模のインコンテキストデモンストレーションセットで促された凍結済みの20B GPT-Neox風LMを用い、金標本の根拠を必要とせずに、各回答オプションに対して選択肢特有の根拠を生成する。
- Reasoning module: 220M T5-base LMをファインチューニングして各(q, A, r)三つ組の説得力スコアを計算し、最適な回答を選択する。
- Counterfactual regularization: 根拠に摺動を加える(トークンマスキングまたはトークン置換)等の摂動を適用し、推論モジュールをソフト化された(ノイズのある)ターゲット分布で訓練して、誤って摺動された根拠への依存を抑制する。
- Training objective: 正解に対する標準的なクロスエントロピーと、摂動された根拠を用いて根拠の忠実な利用を促す反事実正則化損失を組み合わせる(Equation 2)。
- Perturbation strategies: 訓練中にランダムにトークンマスキング(根拠の注目を削除)またはトークン置換(根拠トークンを置換)を適用し、置換率を30%に設定する。
- Evaluation: IDおよびOODの精度、LASによる根拠の忠実性、4つのCSRベンチマークに跨るNormalized Relative Gain (NRG)総合指標を評価する。
実験結果
リサーチクエスチョン
- RQ1PINTOはベースラインと比較して、in-distributionデータで最終タスクの精度を改善するか。
- RQ2PINTOは生成された根拠のモデル予測への忠実性(LAS)をベースラインより改善するか。
- RQ3根拠の反事実的摂動は、特にリソース不足およびOODシナリオでより良い一般化につながるか。
- RQ4Commonsense QA、StrategyQA、OpenBookQA、QASC にまたがる推論根拠の質は、タスク性能と一般化にどのような影響を与えるか。
- RQ5さまざまな摂動戦略に対して改善は頑健か、より高品質な根拠でアプローチを改良できるか。
主な発見
- PINTOはCSQA、StrategyQA、OpenBookQA、QASCの多くのベースラインよりID精度と忠実性(LAS)を高く達成している。
- PINTOは根拠生成ベースの手法の中で最も強いOOD精度を示し、より良い一般化を示唆する。
- 反事実正則化は精度と忠実性の両方を向上させ、トークン置換がマスキングより通常大きな向上を提供する。
- 根拠摂動分析は、PINTOの忠実性が摂動された根拠への感度と相関することを示し、正則化手法の妥当性を検証している。
- 低リソース設定ではPINTOが有利で、訓練データの減少に伴いベースラインを上回る一貫した性能を示す。
- 推論根拠の質(人手によるECQA根拠を含む)はさらなる向上を提供し、精練の価値を強調している。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。