Skip to main content
QUICK REVIEW

[Paper Review] A Survey on Data Contamination for Large Language Models

Y.-H. Cheng, Yi Kuo Chang|ArXiv.org|Feb 20, 2025
Privacy-Preserving Technologies in DataComputer Science5 citations
TL;DR

This survey defines data contamination in LLMs, reviews contamination-free evaluation methods (data updating, data rewriting, prevention, dynamic evaluation, and LLM-based evaluators), and summarizes detection approaches (white-box, gray-box, black-box) with future directions.

ABSTRACT

Recent advancements in Large Language Models (LLMs) have demonstrated significant progress in various areas, such as text generation and code synthesis. However, the reliability of performance evaluation has come under scrutiny due to data contamination-the unintended overlap between training and test datasets. This overlap has the potential to artificially inflate model performance, as LLMs are typically trained on extensive datasets scraped from publicly available sources. These datasets often inadvertently overlap with the benchmarks used for evaluation, leading to an overestimation of the models' true generalization capabilities. In this paper, we first examine the definition and impacts of data contamination. Secondly, we review methods for contamination-free evaluation, focusing on three strategies: data updating-based methods, data rewriting-based methods, and prevention-based methods. Specifically, we highlight dynamic benchmarks and LLM-driven evaluation methods. Finally, we categorize contamination detecting methods based on model information dependency: white-Box, gray-Box, and black-Box detection approaches. Our survey highlights the requirements for more rigorous evaluation protocols and proposes future directions for addressing data contamination challenges.

Motivation & Objective

  • Define data contamination and its lifecycle and benchmark-based manifestations in LLMs.
  • Survey contamination-free evaluation strategies and dynamic evaluation frameworks for robust benchmarking.
  • Review contamination detection methods across white-box, gray-box, and black-box paradigms.
  • Identify challenges, open questions, and future directions for mitigating data contamination in LLM research.

Proposed method

  • Define phase-based and benchmark-based contamination with taxonomy for instance- and dataset-level contamination.
  • Classify and describe contamination-free evaluation strategies: data updating, data rewriting, prevention-based methods, dynamic evaluation, and LLM-as-a-evaluator.
  • Categorize contamination detection approaches into white-box, gray-box, and black-box, with references to specific techniques.
  • Synthesize future directions including LLM unlearning, improved black-box detection, and community-driven non-benchmark evaluation.

Experimental results

Research questions

  • RQ1What constitutes data contamination in LLMs across lifecycle stages and benchmarks?
  • RQ2What strategies exist to achieve contamination-free evaluation for static and dynamic benchmarks?
  • RQ3How can data contamination be detected, and what are the limitations of each detection paradigm?
  • RQ4What are the major future research directions to mitigate contamination and improve evaluation reliability?

Key findings

  • Data contamination inflates model performance and threatens evaluation validity across phase-based and benchmark-based dimensions.
  • Contamination-free evaluation can be achieved via data updating, data rewriting, prevention-based methods, dynamic evaluation, and LLM-as-a-evaluator.
  • Detection methods are categorized as white-box, gray-box, or black-box, each with distinct assumptions and limitations.
  • Dynamic evaluation and continuous benchmarking are recommended as the community standard to address contamination risks.
  • LLM unlearning, stronger black-box detection, and clearer distinction between contamination and generalization are important future directions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.