Skip to main content
QUICK REVIEW

[論文レビュー] Long-form factuality in large language models

Jerry Wei, Chengrun Yang|arXiv (Cornell University)|Mar 27, 2024
Topic Modeling被引用数 8
ひとこと要約

この論文は、長形式の事実性ベンチマークのための LongFact、Google検索を用いた自動事実性評価ツール SAFE、長形式の事実性を F1@K 指標で評価する新しい指標、および 4 ファミリーにわたる 13 モデルを 38 トピックでベンチマークすることを紹介します。

ABSTRACT

Large language models (LLMs) often generate content that contains factual errors when responding to fact-seeking prompts on open-ended topics. To benchmark a model's long-form factuality in open domains, we first use GPT-4 to generate LongFact, a prompt set comprising thousands of questions spanning 38 topics. We then propose that LLM agents can be used as automated evaluators for long-form factuality through a method which we call Search-Augmented Factuality Evaluator (SAFE). SAFE utilizes an LLM to break down a long-form response into a set of individual facts and to evaluate the accuracy of each fact using a multi-step reasoning process comprising sending search queries to Google Search and determining whether a fact is supported by the search results. Furthermore, we propose extending F1 score as an aggregated metric for long-form factuality. To do so, we balance the percentage of supported facts in a response (precision) with the percentage of provided facts relative to a hyperparameter representing a user's preferred response length (recall). Empirically, we demonstrate that LLM agents can outperform crowdsourced human annotators - on a set of ~16k individual facts, SAFE agrees with crowdsourced human annotators 72% of the time, and on a random subset of 100 disagreement cases, SAFE wins 76% of the time. At the same time, SAFE is more than 20 times cheaper than human annotators. We also benchmark thirteen language models on LongFact across four model families (Gemini, GPT, Claude, and PaLM-2), finding that larger language models generally achieve better long-form factuality. LongFact, SAFE, and all experimental code are available at https://github.com/google-deepmind/long-form-factuality.

研究の動機と目的

  • LongFact の提案、38 トピックにまたがる大規模な長形式の事実性プロンプトセット。
  • SAFE の導入、回答を分解して事実を検証し、Google 検索を用いて自己完結的な事実を検証する LLM ベースの自動評価者。
  • 長形式の事実性を測定するための F1@K の定義、長形式の事実性に対してリコールを考慮した集約指標。
  • 4 ファミリー横断で 13 モデルをベンチマークし、事実性のスケーリング効果を評価。

提案手法

  • LongFact プロンプトを GPT-4 を用いて作成し、38 トピックにわたる長形式の事実探索質問(LongFact-Concepts および LongFact-Objects)をカバー。
  • SAFE を開発:自己完結的な事実に回答を分割し、関連性を評価し、Google 検索を用いた多段階推論で事実を正/不支持/関連なしとしてラベル付けする LLM エージェント。
  • F1@K で事実性を集計する:長形式の事実性を正確度・再現率のハイブリッドで表し、再現率はユーザー指定の理想的な長さ K に結びつける。
  • 固定のプロンプトセットを用いて SAFE で 13 モデル(Gemini、GPT、Claude、PaLM-2)をベンチマークし、K=64 および K=178 での F1@K を報告。
Figure 1: Our automatic factuality evaluator, SAFE, uses a large language model to rate the factuality of a long-form response to a given prompt using Google Search. We empirically demonstrate that SAFE outperforms human annotators while being more than 20 times cheaper ( Section 4 ).
Figure 1: Our automatic factuality evaluator, SAFE, uses a large language model to rate the factuality of a long-form response to a given prompt using Google Search. We empirically demonstrate that SAFE outperforms human annotators while being more than 20 times cheaper ( Section 4 ).

実験結果

リサーチクエスチョン

  • RQ1長い形式のプロンプトセット(LongFact)は、さまざまなトピックにわたって長形式の事実性をどの程度検出できるのか。
  • RQ2LLM ベースの自動評価者(SAFE)は、人間のアノテータと比較して長形式の回答の事実性を信頼性高く評価できるのか。
  • RQ3モデルのサイズ/アーキテクチャは、Gemini、GPT、Claude、PaLM-2 の主要ファミリーにおける長形式の事実性にどのような影響を与えるのか。
  • RQ4Recall 成分をハイパーパラメータ K を通じて組み込むことは、長形式の回答の事実性指標の有用性を向上させるのか。

主な発見

モデルS (サポート済み)NS (サポートされていない)I (関連なし)精度R64R178F1@64F1@178
Gemini-Ultra83.413.17.686.298.346.991.760.3
Gemini-Pro66.612.15.582.088.537.483.750.4
GPT-4-Turbo93.68.36.191.799.052.695.066.4
GPT-459.17.02.489.488.333.288.048.0
GPT-3.5-Turbo46.94.51.290.872.426.479.640.5
Claude-3-Opus63.88.12.888.591.435.989.350.6
Claude-3-Sonnet65.48.42.688.591.436.789.451.4
Claude-3-Haiku39.82.81.392.862.022.473.535.8
Claude-2.138.36.51.984.859.821.567.933.7
Claude-2.038.56.31.385.560.021.668.734.0
Claude-Instant43.98.11.384.468.424.673.837.6
PaLM-2-L-IT-RLHF72.98.74.389.194.041.091.055.3
PaLM-2-L-IT13.21.80.188.820.67.431.113.2
  • LongFact は 38 トピックにわたる広範な長形式の事実性ベンチマークを 2,280 プロンプトで提供する。
  • SAFE は 個々の事実の 72% で人間の注釈と一致し、意見の相違があるケースでは人間の評価者よりも優れる(サンプルサブセットで正確性 76%)。
  • SAFE は 1 回の回答あたりおよそ $0.19 のコストで、クラウドソーシングの人間注釈より約 20 倍安い。
  • 13 モデル全体で、より大きなモデルは一般的に長形式の事実性が高く、固定の K 値でのランキングでは GPT-4-Turbo、Gemini-Ultra、PaLM-2-L-IT-RLHF が上位。
  • F1@K 指標は、長形式の事実性を一貫して定量化するための、精度とリコール(人間が好む長さ K を介して)を捉える。
Figure 3: SAFE is able to accurately rate factual claims that require multi-step evaluation by leveraging an LLM to iteratively issue Google Search queries and reason with search results.
Figure 3: SAFE is able to accurately rate factual claims that require multi-step evaluation by leveraging an LLM to iteratively issue Google Search queries and reason with search results.

より良い研究を、今すぐ始めましょう

論文設計から論文執筆まで、研究時間を劇的に削減しましょう。

クレジットカード登録不要

このレビューはAIが作成し、人間の編集者が確認しました。