Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Probing Language Models for Pre-training Data Detection

About

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).

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

Related benchmarks

TaskDatasetResultRank
Contamination DetectionWikiMIA
AUC74.3
23
Membership Inference AttackWikiMIA
TPR@5%FPR19.6
16
Pre-training Data DetectionArxivMIA CS
AUC67.3
16
Membership Inference AttackArxivMIA
TPR@5%FPR8.6
15
Pre-training Data DetectionArxivMIA Math
AUC57.4
15
Pre-training Data DetectionArxivMIA
AUC0.603
14
Pre-training data contamination detectionPubMedQA (PMQA) (test)
AUC0.54
7
Pre-training data contamination detectionCommonsenseQA (CQA) (test)
AUC51.9
7
Showing 8 of 8 rows

Other info

Code

Follow for update