mlsanityData to 7 Oct 2026

Adaptive Pre-training Data Detection for Large Language Models via Surprising Tokens

arXiv 2407.21248 ↗First posted 30 Jul 2024cs.CL cs.CR cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

While large language models (LLMs) are extensively used, there are raising concerns regarding privacy, security, and copyright due to their opaque training data, which brings the problem of detecting pre-training data on the table. Current solutions to this problem leverage techniques explored in machine learning privacy such as Membership Inference Attacks (MIAs), which heavily depend on LLMs' capability of verbatim memorization. However, this reliance presents challenges, especially given the vast amount of training data and the restricted number of effective training epochs. In this paper, we propose an adaptive pre-training data detection method which alleviates this reliance and effectively amplify the identification. Our method adaptively locates textitsurprising tokens of the input. A token is surprising to a LLM if the prediction on the token is "certain but wrong", which refers to low Shannon entropy of the probability distribution and low probability of the ground truth token at the same time. By using the prediction probability of surprising tokens to measure textitsurprising, the detection method is achieved based on the simple hypothesis that seeing seen data is less surprising for the model compared with seeing unseen data. The method can be applied without any access to the the pre-training data corpus or additional training like reference models. Our approach exhibits a consistent enhancement compared to existing methods in diverse experiments conducted on various benchmarks and models, achieving a maximum improvement of 29.5%. We also introduce a new benchmark Dolma-Book developed upon a novel framework, which employs book data collected both before and after model training to provide further evaluation.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 38 of its 46 references that are in the map. First posted on arXiv 30 Jul 2024.

Builds on

38 of 46 references.

References · 38

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  4. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  5. 2020Extracting Training Data from Large Language Modelscited by 2,144
  6. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  7. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  8. 2021Membership Inference Attacks From First Principlescited by 839
  9. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  10. 2023A Watermark for Large Language Modelscited by 667
  11. 2024OLMo: Accelerating the Science of Language Modelscited by 599
  12. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
26 more
  1. 2021Differentially Private Fine-tuning of Language Modelscited by 392
  2. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  3. 2023Detecting Pretraining Data from Large Language Modelscited by 375
  4. 2020Label-Only Membership Inference Attackscited by 371
  5. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
  6. 2023Visual Adversarial Examples Jailbreak Aligned Large Language Modelscited by 307
  7. 2021Membership Inference Attacks on Machine Learning: A Surveycited by 306
  8. 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 278
  9. 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 249
  10. 2022Data Contamination: From Memorization to Exploitationcited by 234
  11. 2023Proving Test Set Contamination in Black Box Language Modelscited by 227
  12. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
  13. 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
  14. 2024Do Membership Inference Attacks Work on Large Language Models?cited by 188
  15. 2023Time Travel in LLMs: Tracing Data Contamination in Large Language Modelscited by 175
  16. 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 168
  17. 2021On the Importance of Difficulty Calibration in Membership Inference Attackscited by 137
  18. 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 127
  19. 2023Speak, Memory: An Archaeology of Books Known to ChatGPT/GPT-4cited by 123
  20. 2022Pretrained Language Models for Text Generation: A Surveycited by 121
  21. 2023On Provable Copyright Protection for Generative Modelscited by 97
  22. 2022Language Contamination Helps Explain the Cross-lingual Capabilities of English Pretrained Modelscited by 90
  23. 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 76
  24. 2023Free-Bloom: Zero-Shot Text-to-Video Generator with LLM Director and LDM Animatorcited by 74
  25. 2023FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answeringcited by 51
  26. 2023How to Protect Copyright Data in Optimization of Large Language Models?cited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 5.

10 papers.