Skip to content

Detecting pretraining data of large language models

Detecting Pretraining Data from Large Language Models

arXiv· arXiv:2310.16789· Weijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang, Daogao Liu, Terra Blevins, Danqi Chen, Luke Zettlemoyer·Indexed by this site · 13 days ago· Originally publishedAttacks
AI summary

The researchers propose a pretraining data detection method, Min-K% Prob, which can determine whether a given text was used for pretraining with only black-box access to a large language model, improving over prior methods by 7.4% on the WIKIMIA benchmark. WIKIMIA is a dynamic benchmark also introduced in the paper, which constructs ground truth using data created before and after model training. Min-K% Prob is based on a simple assumption: unseen text often contains several outlier words with extremely low probability under the model, whereas seen text contains fewer such words; unlike existing methods that require training a reference model on similar data, it requires no knowledge of the pretraining corpus or additional training. The authors apply the method to three real-world scenarios—copyrighted book detection, downstream evaluation sample contamination detection, and machine unlearning privacy auditing—and find it consistently effective in all of them.

Related events and news

1 events · 1 news mentions

News that mentions this paper

Mindgard发布成员推理攻击技术指南

Read originalarxiv.org