mlsanityData to 14 Oct 2026

Fine-tuning can Help Detect Pretraining Data from Large Language Models

arXiv 2410.10880 ↗First posted 9 Oct 2024cs.CL cs.AI cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

In the era of large language models (LLMs), detecting pretraining data has been increasingly important due to concerns about fair evaluation and ethical risks. Current methods differentiate members and non-members by designing scoring functions, like Perplexity and Min-k%. However, the diversity and complexity of training data magnifies the difficulty of distinguishing, leading to suboptimal performance in detecting pretraining data. In this paper, we first explore the benefits of unseen data, which can be easily collected after the release of the LLM. We find that the perplexities of LLMs shift differently for members and non-members, after fine-tuning with a small amount of previously unseen data. In light of this, we introduce a novel and effective method termed Fine-tuned Score Deviation(FSD), which improves the performance of current scoring functions for pretraining data detection. In particular, we propose to measure the deviation distance of current scores after fine-tuning on a small amount of unseen data within the same domain. In effect, using a few unseen data can largely decrease the scores of all non-members, leading to a larger deviation distance than members. Extensive experiments demonstrate the effectiveness of our method, significantly improving the AUC score on common benchmark datasets across various models.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 35 of its 44 references that are in the map. First posted on arXiv 9 Oct 2024.

Builds on

35 of 44 references.

References · 35

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  9. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
  10. 2020Extracting Training Data from Large Language Modelscited by 2,189
  11. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  12. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
23 more
  1. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
  2. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 498
  3. 2023Detecting Pretraining Data from Large Language Modelscited by 387
  4. 2023AdaLoRA: Adaptive Budget Allocation for Parameter-Efficient Fine-Tuningcited by 357
  5. 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 348
  6. 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
  7. 2022Data Contamination: From Memorization to Exploitationcited by 236
  8. 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
  9. 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 229
  10. 2024Do Membership Inference Attacks Work on Large Language Models?cited by 195
  11. 2023Don't Make Your LLM an Evaluation Benchmark Cheatercited by 194
  12. 2023Time Travel in LLMs: Tracing Data Contamination in Large Language Modelscited by 177
  13. 2024Benchmark Data Contamination of Large Language Models: A Surveycited by 147
  14. 2024LLM Dataset Inference: Did you train on my dataset?cited by 110
  15. 2024Benchmarking Benchmark Leakage in Large Language Modelscited by 106
  16. 2024Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Modelscited by 103
  17. 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 82
  18. 2024DE-COP: Detecting Copyrighted Content in Language Models Training Datacited by 74
  19. 2024Blind Baselines Beat Membership Inference Attacks for Foundation Modelscited by 69
  20. 2024ReCaLL: Membership Inference via Relative Conditional Log-Likelihoodscited by 64
  21. 2023Estimating Contamination via Perplexity: Quantifying Memorisation in Language Model Evaluationcited by 48
  22. 2023Privacy Side Channels in Machine Learning Systemscited by 40
  23. 2024Data Contamination Calibration for Black-box LLMscited by 24

Built on by

Cited by year (2026 to 14 Oct)

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

8 papers.