Skip to main content
QUICK REVIEW

[論文レビュー] ConStat: Performance-Based Contamination Detection in Large Language Models

Jasper Dekoninck, Mark Niklas Müller|arXiv (Cornell University)|May 25, 2024
Topic ModelingComputer Science被引用数 3
ひとこと要約

ConStatは、大規模言語モデルにおけるデータ汚染をパフォーマンスに基づく定義で導入し、元のベンチマークとリファレンスベンチマークの間の統計的比較を通じて、汚染の検出と定量的評価を実施する。この手法は、Mistral、Llama、Yi、およびトップ・オープン・LLM・リーダーボード・モデルなど、主要なモデルにおける顕著な汚染を、一般化しないパフォーマンスの向上を測定することで特定する。

ABSTRACT

Public benchmarks play an essential role in the evaluation of large language models. However, data contamination can lead to inflated performance, rendering them unreliable for model comparison. It is therefore crucial to detect contamination and estimate its impact on measured performance. Unfortunately, existing detection methods can be easily evaded and fail to quantify contamination. To overcome these limitations, we propose a novel definition of contamination as artificially inflated and non-generalizing benchmark performance instead of the inclusion of benchmark samples in the training data. This perspective enables us to detect any model with inflated performance, i.e., performance that does not generalize to rephrased samples, synthetic samples from the same distribution, or different benchmarks for the same task. Based on this insight, we develop ConStat, a statistical method that reliably detects and quantifies contamination by comparing performance between a primary and reference benchmark relative to a set of reference models. We demonstrate the effectiveness of ConStat in an extensive evaluation of diverse model architectures, benchmarks, and contamination scenarios and find high levels of contamination in multiple popular models including Mistral, Llama, Yi, and the top-3 Open LLM Leaderboard models.

研究の動機と目的

  • パブリックベンチマークの信頼性の欠如を是正すること。これは、データ汚染がモデルパフォーマンスを誇張するためである。
  • 訓練データへの包含に依存する従来の汚染検出手法の限界を克服すること。これらの手法は容易に回避可能である。
  • ベンチマーク間でのパフォーマンス一般化に基づいた、堅牢で定量的な汚染検出手法の開発。
  • 多様なモデルアーキテクチャーやベンチマークシナリオにおける汚染レベルの評価。
  • 高性能モデルが一般化しない行動を示す可能性があることの実証。これは汚染の兆候である。

提案手法

  • データの包含ではなく、元のベンチマーク上で人工的に誇張され、一般化しないパフォーマンスの向上によって汚染を定義する。
  • パフォーマンスのベースラインを確立するため、リファレンスモデルとリファレンスベンチマーク(再表現化、合成的、または類似タスク)を選択する。
  • リファレンスベンチマークと元のベンチマークのパフォーマンス関係をモデル化するため、難易度補正関数 $ H_{D_{\text{ref}}} $ を適合させる。
  • ターゲットモデルがリファレンスベンチマークで示すパフォーマンスを用いて、元のベンチマークでの期待パフォーマンスを予測する。
  • 予測されたパフォーマンスと実際のパフォーマンスとの差 $ \delta $ を計算する。ブートストラップを用いて $ \delta $ とp値を推定する。
  • p値を用いて、帰無仮説(モデルは汚染されていない)を検定し、統計的検出と定量的評価を可能にする。
Figure 2 : Estimated $\hat{\delta}$ as a function of the true $\delta$ for the finetuned models. $2$ -sigma intervals are shown.
Figure 2 : Estimated $\hat{\delta}$ as a function of the true $\delta$ for the finetuned models. $2$ -sigma intervals are shown.

実験結果

リサーチクエスチョン

  • RQ1訓練データへの包含を仮定せずに、大規模言語モデルにおける汚染を信頼性を持って検出できるか?
  • RQ2ベンチマークにおけるパフォーマンスが、同じタスクの再表現化または合成的生成バージョンに一般化する程度はどの程度か?
  • RQ3汚染は、一般的なオープンソースおよびプロプライエタリなLLMにどの程度広がっているか?
  • RQ4統計的手法は、従来の検出技術を回避する汚染を検出できるか?
  • RQ5Llama、Mistral、Yi などの最先端モデルにおける汚染の大きさはどの程度か?

主な発見

  • Mistral-7b-v0.1では、汚染の程度 $ \hat{\delta} = 35.1\% $、p値 $ 0.01\% $ が検出され、一般化しないパフォーマンスの強力な統計的証拠が示された。
  • Llama-3-70b および Llama-2-Instruct-70b は複数のベンチマークで顕著な汚染を示し、$ \hat{\delta} $ 値が20%を超えていた。
  • Yi-34b はARCで $ \hat{\delta} = -20.29\% $ を示し、リファレンスベンチマークへの一般化のない顕著なパフォーマンスの誇張が確認された。
  • StableLM-2-Instruct-12b および Falcon モデルは複数のベンチマークで汚染を示し、ベンチマーク固有の汚染に対してp値が95%を超えていた。
  • オープン・LLM・リーダーボード上位3モデルは、一般化の不確実性を示す $ \hat{\delta}_{0.95} $ 値が高く、強い汚染シグナルを示した。
  • 従来の手法が失敗する状況でも、この手法は汚染を効果的に検出でき、回避試行に対しても堅牢であることが示された。
((a)) A simple scenario where all tests should return a CDF close to the identity line.
((a)) A simple scenario where all tests should return a CDF close to the identity line.

この論文を読む

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

Nubintでこの論文を読む

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