Does Data Contamination Detection Work (Well) for LLMs? A Survey and Evaluation on Detection Assumptions

Yujuan Fu, Ozlem Uzuner, Meliha Yetisgen, Fei Xia
10/24/2024
cs.CL

No official code found. Best implementation: velvinnn/LLM_MIA (0 stars, last commit 2025-05-07).

Abstract

Large language models (LLMs) have demonstrated great performance across various benchmarks, showing potential as general-purpose task solvers. However, as LLMs are typically trained on vast amounts of data, a significant concern in their evaluation is data contamination, where overlap between training data and evaluation datasets inflates performance assessments. Multiple approaches have been developed to identify data contamination. These approaches rely on specific assumptions that may not hold universally across different settings. To bridge this gap, we systematically review 50 papers on data contamination detection, categorize the underlying assumptions, and assess whether they have been rigorously validated. We identify and analyze eight categories of assumptions and test three of them as case studies. Our case studies focus on detecting direct, instance-level data contamination, which is also referred to as Membership Inference Attacks (MIA). Our analysis reveals that MIA approaches based on these three assumptions can have similar performance to random guessing, on datasets used in LLM pretraining, suggesting that current LLMs might learn data distributions rather than memorizing individual instances. Meanwhile, MIA can easily fail when there are data distribution shifts between the seen and unseen instances.

View on arXivView PDF

Code Implementations(1)

velvinnn/LLM_MIACommunity69%

Papers and case study for the paper, "Does Data Contamination Detection Work (Well) for LLMs? A Survey and Evaluation on Detection Assumptions"

00Python, Jupyter NotebookJan 28, 20251 years ago

Similar Papers

Cite this paper

@article{fu2024does,
  title  = {Does Data Contamination Detection Work (Well) for LLMs? A Survey and Evaluation on Detection Assumptions},
  author = {Yujuan Fu and Ozlem Uzuner and Meliha Yetisgen and Fei Xia},
  year   = {2024},
  eprint = {2410.18966},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.18966v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.18966.svg)](https://codeofpaper.com/paper/2410.18966)

Discussion