Skip to main content
QUICK REVIEW

[論文レビュー] RAGBench: Explainable Benchmark for Retrieval-Augmented Generation Systems

Robert Friel, Masha Belyi|arXiv (Cornell University)|Jun 25, 2024
Topic Modeling被引用数 8
ひとこと要約

RAGBench は、取得強化生成(RAG)に対する大規模な100kサンプルのベンチマークと、 ground-truth アノテーションを用いて複数のドメインにわたる RAG システムを評価する TRACe 評価フレームワーク(Utilization, Relevance, Adherence, Completeness)を導入します。

ABSTRACT

Retrieval-Augmented Generation (RAG) has become a standard architectural pattern for incorporating domain-specific knowledge into user-facing chat applications powered by Large Language Models (LLMs). RAG systems are characterized by (1) a document retriever that queries a domain-specific corpus for context information relevant to an input query, and (2) an LLM that generates a response based on the provided query and context. However, comprehensive evaluation of RAG systems remains a challenge due to the lack of unified evaluation criteria and annotated datasets. In response, we introduce RAGBench: the first comprehensive, large-scale RAG benchmark dataset of 100k examples. It covers five unique industry-specific domains and various RAG task types. RAGBench examples are sourced from industry corpora such as user manuals, making it particularly relevant for industry applications. Further, we formalize the TRACe evaluation framework: a set of explainable and actionable RAG evaluation metrics applicable across all RAG domains. We release the labeled dataset at https://huggingface.co/datasets/rungalileo/ragbench. RAGBench explainable labels facilitate holistic evaluation of RAG systems, enabling actionable feedback for continuous improvement of production applications. Thorough extensive benchmarking, we find that LLM-based RAG evaluation methods struggle to compete with a finetuned RoBERTa model on the RAG evaluation task. We identify areas where existing approaches fall short and propose the adoption of RAGBench with TRACe towards advancing the state of RAG evaluation systems.

研究の動機と目的

  • 多様なドメインにわたる取得強化生成(RAG)システムの標準化評価を促進する。
  • 複数の産業をカバーする大規模で実世界の RAG ベンチマーク(100k サンプル)を提供する。
  • TRACe フレームワークを定義し、リトリーバーとジェネレーターの構成要素が RAG の品質に貢献する度合いを定量化する。
  • 粒度が高く説明可能なラベルを通じて、システム改善のための実用的なフィードバックを可能にする。

提案手法

  • 生物医薬、一般知識、法務、カスタマーサポート、金融など12のソースから構成要素データセットを収集し、RAG形式に統合する。
  • RAG パラメータ(コンテキスト長、取得文書数、ドメイン、生成モデル)を変化させ、実運用環境を模擬する。
  • チェーン・オブ・ソート思考技法を用いた GPT-4-turbo プロンプトを用いて、 ground-truth の関連性、利用度、適合性のトークンをアノテーションし、Completeness はスパンから導出する。
  • TRACe 指標を提案する:Context Relevance、Context Utilization、Completeness、Adherence、トークンスパンに基づく正式な定義を用いる。
  • 既存の RAG 評価手法(LLM 判定、RAGAS、TruLens)と、RAGBench 上の微調整済み DeBERTa ベースの評価器を評価する。
  • LLM 判定が、TRACe 指標で微調整済みの専門モデルにしばしば劣ることを示すベンチマーク比較を提供する。
Figure 1: RAG system workflow, with highlighted variable parameters: (1) Context format and length, (2) retriever model, (3) number of retrieved documents, and (4) generation model.
Figure 1: RAG system workflow, with highlighted variable parameters: (1) Context format and length, (2) retriever model, (3) number of retrieved documents, and (4) generation model.

実験結果

リサーチクエスチョン

  • RQ1大規模で多ドメインの RAG ベンチマークは、リトリーバーとジェネレーターの構成要素の一貫した評価を可能にするか。
  • RQ2説明可能な TRACe 指標(Utilization, Relevance, Adherence, Completeness)は、実運用RAGシステムの改善に実用的な指針を提供するか。
  • RQ3ゼロショット/ファショットの LLM 判定と、微調整された識別モデルを、ドメイン横断の RAG 評価で比較するとどうなるか。
  • RQ4RAGBench における文脈関連性と利用の予測難易度の相対的な差は何か。
  • RQ5小型モデル(例:DeBERTa-large)を微調整することは、多くのデータセットでLLMベースの評価器を上回るか。

主な発見

データセットHal_GPT3.5Rel_GPT3.5Util_GPT3.5Hal_RAGASRel_RAGASUtil_RAGASHal_TruLensRel_TruLensUtil_TruLensHal_DeBERTARel_DeBERTAUtil_DeBERTA
PubMedQA0.510.210.160.540.37-0.620.45-0.800.260.17
CovidQA-RAG0.570.180.110.580.17-0.620.58-0.770.190.11
HotpotQA0.590.110.080.620.14-0.640.73-0.850.110.08
MS Marco0.650.230.110.630.25-0.620.61-0.700.220.10
HAGRID0.580.220.150.620.22-0.670.69-0.810.200.13
ExpertQA0.550.310.230.570.28-0.700.60-0.870.180.11
DelucionQA0.570.180.100.700.22-0.550.64-0.640.150.10
EManual0.540.170.110.570.27-0.610.64-0.760.130.13
TechQA0.510.100.050.520.12-0.570.70-0.860.080.04
FinQA0.570.100.130.570.06-0.530.79-0.810.100.10
TAT-QA0.520.200.170.630.18-0.590.72-0.830.270.23
CUAD0.510.270.110.660.19-0.400.66-0.800.240.10
  • RAGBench は、長文コンテキスト CUAD および数値的に豊富な FinQA/TAT-QA を含む、5つのドメインにまたがる12のコンポーネントデータセットからなる100kサンプルを含む。
  • TRACe 指標は、生成回答のリトリーバー関連性、文脈利用、適合性、完結度を粒度の高い評価を可能にする。
  • 微調整済みの DeBERTa-large は、多くのデータセットでゼロショット LLM 判定を TRACe 指標で上回る。
  • 文脈関連性は予測が難しく(RMSE が高い)、正しい回答に必要な文脈を特定する難しさを反映している。
  • LLM 判定(GPT-3.5、RAGAS、TruLens)は、微調整済みの専門モデルに対して競争力はあるが、必ずしも普遍的な性能ではない。
  • GPT-4-turbo による RAGBench のアノテーションは、シミュレートデータでグラウンドトゥルースとの Kendall の tau 相関が高く、アノテーションの有効性を裏付けている。
Figure 2: Distributions of relevance, utilization, and completeness labels in RAGBench. Y-axis is normalized to visualize densities.
Figure 2: Distributions of relevance, utilization, and completeness labels in RAGBench. Y-axis is normalized to visualize densities.

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

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

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

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