arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.01790cs.CLcs.AI
收藏

在基准上训练并非全部所需

Training on the Benchmark Is Not All You Need

Shenzhen Institutes of Advanced Technology, CAS(中国科学院深圳先进技术研究院);Key Laboratory of Intelligent Education Technology and Application of Zhejiang Province, Zhejiang Normal University(浙江师范大学浙江省智能教育技术与应用重点实验室);University of Science and Technology of China(中国科学技术大学);Shenzhen MSU-BIT University(深圳北理莫斯科大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))

Shiwen Ni, Xiangtao Kong, Chengming Li, Xiping Hu, Ruifeng Xu, Jia Zhu, Min Yang

AI总结:

提出一种基于选项打乱的对数概率分布检测LLM基准数据泄漏的方法,无需训练数据或权重,实验验证有效,并评估35个开源模型发现Qwen泄漏最严重。

摘要:

大型语言模型(LLMs)的成功在很大程度上依赖于预训练阶段学习的大量预训练数据。预训练过程和训练数据的不透明性导致许多基准测试的结果变得不可靠。如果任何模型在基准测试集上训练过,这会严重阻碍该领域的健康发展。为了自动化和高效地测试大型语言模型的能力,许多主流基准采用多项选择格式。由于多项选择选项内容的交换不影响问题本身的意义,我们基于这一特性提出了一种简单有效的数据泄漏检测方法。具体来说,我们打乱数据中选项的内容以生成相应的派生数据集,然后基于模型在派生数据集上的对数概率分布来检测数据泄漏。如果对数概率集合中存在最大值和异常值,则表明数据已泄漏。我们的方法能够在灰盒条件下工作,无需访问模型训练数据或权重,有效识别模型预训练数据中来自基准测试集的数据泄漏,包括正常场景和选项可能被有意或无意打乱的复杂场景。通过基于两个LLM和基准设计的实验,我们证明了我们方法的有效性。此外,我们评估了35个主流开源LLM在四个基准数据集上的数据泄漏程度,并给出了每个基准的泄漏LLM排名,我们发现Qwen系列的LLM数据泄漏程度最高。

英文摘要:

The success of Large Language Models (LLMs) relies heavily on the huge amount of pre-training data learned in the pre-training phase. The opacity of the pre-training process and the training data causes the results of many benchmark tests to become unreliable. If any model has been trained on a benchmark test set, it can seriously hinder the health of the field. In order to automate and efficiently test the capabilities of large language models, numerous mainstream benchmarks adopt a multiple-choice format. As the swapping of the contents of multiple-choice options does not affect the meaning of the question itself, we propose a simple and effective data leakage detection method based on this property. Specifically, we shuffle the contents of the options in the data to generate the corresponding derived data sets, and then detect data leakage based on the model's log probability distribution over the derived data sets. If there is a maximum and outlier in the set of log probabilities, it indicates that the data is leaked. Our method is able to work under gray-box conditions without access to model training data or weights, effectively identifying data leakage from benchmark test sets in model pre-training data, including both normal scenarios and complex scenarios where options may have been shuffled intentionally or unintentionally. Through experiments based on two LLMs and benchmark designs, we demonstrate the effectiveness of our method. In addition, we evaluate the degree of data leakage of 35 mainstream open-source LLMs on four benchmark datasets and give a ranking of the leaked LLMs for each benchmark, and we find that the Qwen family of LLMs has the highest degree of data leakage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑