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

探针语言模型用于预训练数据检测

Probing Language Models for Pre-training Data Detection

OPPO AI Center(OPPO人工智能中心)

Zhenhua Liu, Tong Zhu, Chuanyuan Tan, Haonan Lu, Bing Liu, Wenliang Chen

AI总结:

针对大型语言模型预训练数据污染检测问题,提出利用探针技术检查模型内部激活的简单有效方法,并构建新基准ArxivMIA,在WikiMIA和ArxivMIA上达到SOTA性能。

摘要:

大型语言模型(LLMs)展示了令人印象深刻的能力,同时也因隐私问题和基准数据集在预训练阶段的泄露引发了数据污染问题的担忧。因此,通过检查LLM是否在目标文本上进行了预训练来检测污染至关重要。最近的研究侧重于生成文本并计算困惑度,这些是表面特征,并不可靠。在本研究中,我们提出利用探针技术,通过检查模型的内部激活来进行预训练数据检测。我们的方法简单有效,能带来更可靠的预训练数据检测。此外,我们提出了ArxivMIA,一个包含计算机科学和数学类别arxiv摘要的新挑战性基准。我们的实验表明,我们的方法优于所有基线,并在WikiMIA和ArxivMIA上均达到了最先进的性能,额外的实验证实了其有效性(我们的代码和数据集可在https://github.com/zhliu0106/probing-lm-data获取)。

英文摘要:

Large Language Models (LLMs) have shown their impressive capabilities, while also raising concerns about the data contamination problems due to privacy issues and leakage of benchmark datasets in the pre-training phase. Therefore, it is vital to detect the contamination by checking whether an LLM has been pre-trained on the target texts. Recent studies focus on the generated texts and compute perplexities, which are superficial features and not reliable. In this study, we propose to utilize the probing technique for pre-training data detection by examining the model's internal activations. Our method is simple and effective and leads to more trustworthy pre-training data detection. Additionally, we propose ArxivMIA, a new challenging benchmark comprising arxiv abstracts from Computer Science and Mathematics categories. Our experiments demonstrate that our method outperforms all baselines, and achieves state-of-the-art performance on both WikiMIA and ArxivMIA, with additional experiments confirming its efficacy (Our code and dataset are available at https://github.com/zhliu0106/probing-lm-data).

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

↑