Skip to main content
QUICK REVIEW

[論文レビュー] Conformal Language Modeling

Victor Quach, Adam Fisch|arXiv (Cornell University)|Jun 16, 2023
Topic ModelingComputer Science被引用数 7
ひとこと要約

論文は、生成言語モデルのためのサンプリングベースの整合予測フレームワークを提案し、統計的保証を伴う予測集合を生じさせるとともに、長い生成内の独立して正確な要素を特定する方法を提供します。

ABSTRACT

We propose a novel approach to conformal prediction for generative language models (LMs). Standard conformal prediction produces prediction sets -- in place of single predictions -- that have rigorous, statistical performance guarantees. LM responses are typically sampled from the model's predicted distribution over the large, combinatorial output space of natural language. Translating this process to conformal prediction, we calibrate a stopping rule for sampling different outputs from the LM that get added to a growing set of candidates until we are confident that the output set is sufficient. Since some samples may be low-quality, we also simultaneously calibrate and apply a rejection rule for removing candidates from the output set to reduce noise. Similar to conformal prediction, we prove that the sampled set returned by our procedure contains at least one acceptable answer with high probability, while still being empirically precise (i.e., small) on average. Furthermore, within this set of candidate responses, we show that we can also accurately identify subsets of individual components -- such as phrases or sentences -- that are each independently correct (e.g., that are not "hallucinations"), again with statistical guarantees. We demonstrate the promise of our approach on multiple tasks in open-domain question answering, text summarization, and radiology report generation using different LM variants.

研究の動機と目的

  • 出力空間全体を列挙することを避けつつ、整合予測の概念を生成言語モデルへ橋渡しする。
  • サンプル候補出力を形成するのに十分な予測集合を生じるよう、サンプリング停止規則をキャリブレーションする。
  • カバレッジを維持しつつ低品質または冗長なサンプルを削除する拒否機構を導入する。
  • 長い生成内の独立して正確な要素を識別するために整合法を拡張する。
  • オープンドメインQ&A、テキスト要約、放射線報告生成といった多様なLMを用いて、有効性と実用性を実証する。

提案手法

  • 言語モデルpθ(y|x)から候補出力yをサンプルする。
  • 最小品質Q(x,y)を満たし、既存集合と類似性Sを用いて多様であればサンプルを受け入れ、そうでなければ却下する。
  • 集合ベースの信頼度F(Cλ)が閾値λ3に達するまで候補集合Cλを拡大し、止める。
  • Learn Then Test (LTT) を用いてλ=(λ1,λ2,λ3) のハイパーパラメータ設定をキャリブレーションし、高い確率でリスクを制御する。
  • 各λに対して有効なp値を計算するためにLTTを用い、FWERを制御する選択手続きを適用して有効な構成を選ぶ。
  • 入場関数Aと保守的なĀを割り当てる;テスト時の最終集合Cλが、少なくとも1つの適格なyを確率≥1−εで含むことを証明する(式( Eq. 1 ))。
  • 長い生成内の自信を持つ要素を識別するために、出力をEで分割し、要素レベルの admissions A^c と confidences F^c を関連付け、γをキャリブレーションして自信を持つ要素を最大化しつつ保証を維持する。
Figure 1 : Our procedure samples candidate reports from a trained language model until a stopping rule is reached. Each sample is added to the output conformal set if it meets both a minimum estimated quality and a diversity criterion. The procedure is calibrated such that at least one candidate $y$
Figure 1 : Our procedure samples candidate reports from a trained language model until a stopping rule is reached. Each sample is added to the output conformal set if it meets both a minimum estimated quality and a diversity criterion. The procedure is calibrated such that at least one candidate $y$

実験結果

リサーチクエスチョン

  • RQ1生成言語モデルの出力に対して全文を列挙せずにカバレッジ保証を提供できるか。
  • RQ2サンプリングベースの生成をキャリブレーションして、少なくとも1つの適格な出力を確率的に高く受け入れられる、小さく精密な予測集合を生み出せるか。
  • RQ3長いLM生成内で独立して正確な要素(例:語句や文)を統計的保証の下で信頼性高く識別できるか。
  • RQ4放射線報告生成、ニュース要約、オープンドメイン質問応答など、多様なタスクでアプローチはどのように機能するか。

主な発見

  • この手法は、出力集合が高い確率で少なくとも1つの適格な応答を含むという形式的保証を提供する。
  • キャリブレーションの下で、出力集合は経験的に精密(平均的に小さい)になる。
  • 長い生成内の自信を持つ要素を統計的保証の下で識別できる。
  • フレームワークはモデルに依存せず、放射線報告生成、CNN/DM要約、TriviaQA QA で異なるLMを用いてデモンストレーションされた。
  • Learn Then TestとPareto Testingを介したキャリブレーションにより、ハイパーパラメータ探索とリスク制御が効率的になる。
  • 実験は、ベースラインと比較して意味のある、キャリブレーションされた不確かさ集合を示し、タスクを跨いで有意義である。
Conformal Language Modeling

この論文を読む

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

Nubintでこの論文を読む

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