Skip to main content
QUICK REVIEW

[论文解读] Don't Make Your LLM an Evaluation Benchmark Cheater

Kun Zhou, Yutao Zhu|arXiv (Cornell University)|Nov 3, 2023
Topic ModelingComputer Science被引用 16
一句话总结

本论文表明基准泄漏——使用或利用评估基准数据进行训练——可以显著提高LLM的性能并歪曲真实能力,提出遏制此类泄漏的指南。

ABSTRACT

Large language models~(LLMs) have greatly advanced the frontiers of artificial intelligence, attaining remarkable improvement in model capacity. To assess the model performance, a typical approach is to construct evaluation benchmarks for measuring the ability level of LLMs in different aspects. Despite that a number of high-quality benchmarks have been released, the concerns about the appropriate use of these benchmarks and the fair comparison of different models are increasingly growing. Considering these concerns, in this paper, we discuss the potential risk and impact of inappropriately using evaluation benchmarks and misleadingly interpreting the evaluation results. Specially, we focus on a special issue that would lead to inappropriate evaluation, \ie \emph{benchmark leakage}, referring that the data related to evaluation sets is occasionally used for model training. This phenomenon now becomes more common since pre-training data is often prepared ahead of model test. We conduct extensive experiments to study the effect of benchmark leverage, and find that it can dramatically boost the evaluation results, which would finally lead to an unreliable assessment of model performance. To improve the use of existing evaluation benchmarks, we finally present several guidelines for both LLM developers and benchmark maintainers. We hope this work can draw attention to appropriate training and evaluation of LLMs.

研究动机与目标

  • 激励并界定在LLMs评估基准中的数据泄漏风险。
  • 以实证方式量化不同泄漏情景在多种模型和任务上的基准化性能提升。
  • 评估泄漏对超出泄漏基准的任务以及模型适应性的潜在不利影响。
  • 为开发者和基准维护者提出切实可行的建议,以提高评估的公正性和可靠性。

提出的方法

  • 定义三种泄漏设置:仅使用 MMLU 训练集、使用来自多个基准的所有训练集,以及使用所有训练集并附带测试提示(以及最大泄漏变体)。
  • 在每种泄漏设置下训练小到中等规模的LLM(1.3B–7B),并在 MMLU 及 QA/推理/阅读理解基准上进行评估。
  • 评估对非泄漏任务(LAMBADA、XSum、HumanEval)的泄漏影响以研究副作用。
  • 检验泄漏如何影响后续的指令微调及适应性任务。
  • 讨论并总结污染分析与公平评估的报告实践。

实验结果

研究问题

  • RQ1基准泄漏如何影响跨多样基准和模型的LLM评估性能?
  • RQ2哪种泄漏类型(训练数据、测试提示、测试集)对基准结果的偏差最大?
  • RQ3泄漏对超出泄漏基准的任务以及适应/微调的副作用是什么?
  • RQ4哪些指南能帮助开发者和基准维护者降低泄漏风险?

主要发现

  • 基准泄漏可以显著提升评估结果,甚至使较小的模型在某些任务上超过较大模型。
  • 来自训练集的泄漏会显著提高基准分数,但可能降低在无关任务上的表现,表明泛化能力下降。
  • 来自测试提示的泄漏可以让较小的模型在某些基准上超越较大的模型,揭示基于提示的泄漏的脆弱性。
  • 泄露所有测试数据会在各任务中抬高结果,显示的是“基准作弊”而非真实能力提升。
  • 泄漏往往会降低对非泄漏任务(如 LAMBADA、XSum、HumanEval)的表现,暗示对普遍能力的负面副作用。
  • 使用泄漏数据训练的指令微调模型显示适应提升减弱,阻碍通过微调进一步改进。

阅读本论文

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

在 Nubint 中阅读本论文

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