Skip to main content
QUICK REVIEW

[论文解读] Investigating Data Contamination in Modern Benchmarks for Large Language Models

Chunyuan Deng, Yilun Zhao|arXiv (Cornell University)|Nov 16, 2023
Topic ModelingComputer Science被引用 8
一句话总结

论文提出基于信息检索的污染检测和 TS-Guessing 协议,用于评估 LLM 基准中的潜在数据泄露,结果显示商业模型可能猜出缺失的基准信息,暗示数据污染的可能性。

ABSTRACT

Recent observations have underscored a disparity between the inflated benchmark scores and the actual performance of LLMs, raising concerns about potential contamination of evaluation benchmarks. This issue is especially critical for closed-source models and certain open-source models where training data transparency is lacking. In this paper we study data contamination by proposing two methods tailored for both open-source and proprietary LLMs. We first introduce a retrieval-based system to explore potential overlaps between evaluation benchmarks and pretraining corpora. We further present a novel investigation protocol named extbf{T}estset extbf{S}lot Guessing ( extit{TS-Guessing}), applicable to both open and proprietary models. This approach entails masking a wrong answer in a multiple-choice question and prompting the model to fill in the gap. Additionally, it involves obscuring an unlikely word in an evaluation example and asking the model to produce it. We find that certain commercial LLMs could surprisingly guess the missing option in various test sets. Specifically, in the TruthfulQA benchmark, we find that LLMs exhibit notable performance improvement when provided with additional metadata in the benchmark. Further, in the MMLU benchmark, ChatGPT and GPT-4 demonstrated an exact match rate of 52\% and 57\%, respectively, in guessing the missing options in benchmark test data. We hope these results underscore the need for more robust evaluation methodologies and benchmarks in the field.

研究动机与目标

  • 在对基准数据泄露进入预训练数据的担忧中,推动鲁棒的评估基准建设。
  • 发展检测污染的方法,适用于开源与闭源 LLM。
  • 量化预训练语料与流行基准之间的重叠度。
  • 评估额外的基准元数据如何影响模型在污染测试中的表现。

提出的方法

  • 构建基于 Pyserini 的 BM25 检索系统,识别预训练语料(The Pile、C4)与基准(MMLU、TruthfulQA、HellaSwag、WindoGrande、OpenbookQA、PIQA)之间的重叠。
  • 提出 TS-Guessing:(i)基于问题的猜测,通过屏蔽一个关键词并提示模型填充;(ii)基于多项选择的猜测,通过屏蔽错误选项并提示缺失信息。
  • 评估三组 top-k 检索设置(k=1、5、10),并使用 13-gram 分词来评估重叠。
  • 使用提示模板和元数据提示(如类型、类别、URL)来测试模型是否会利用基准数据。
  • 应用过滤以减少琐碎相关性(如是/否选项、Rouge-L 相似度阈值)。
  • 以 BM25、Avg. F1、SacreBLEU、Rouge-L、BLEURT、GPTscore 基于语义相似性的指标报告结果。

实验结果

研究问题

  • RQ1现代基准是否与预训练语料存在足够的重叠来污染评估?
  • RQ2开源和闭源的 LLM 在常见基准上的 TS-Guessing 是否存在污染?
  • RQ3添加基准元数据(类型、类别、URL)是否有助于模型在污染情境中的表现?
  • RQ4TS-Guessing 的结果与模型在基准任务上的实际表现之间是否存在相关性?

主要发现

  • 存在可检测的预训练语料与基准之间的重叠,且不能仅靠 n-gram 方法完全捕捉。
  • TS-Guessing 显示商业 LLM 常能猜出缺失的基准元素,提示潜在污染。
  • 在 TruthfulQA 中,元数据提升了模型的猜测性能,表明基准暴露丰富元数据时存在泄露风险。
  • 在 MMLU 中,ChatGPT 与 GPT-4 在某些设定下对缺失选项的精确匹配百分比分别达到 57%。
  • 基于 GPTscore 的文本相似性与人工判断更接近,而比传统表面指标更具相关性,但计算成本更高。
  • TS-Guessing 的结果显示不同模型版本之间存在小的性能差距(如 GPT-4 与 ChatGPT),表明污染并非严格随模型规模而线性增加。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。