Static public benchmarks face inevitable train-test leakage at web scale, and neither black-box prompting heuristics, perplexity checks, nor unlearning reliably eliminate or verify contamination on closed models. Surveying the field across lifecycle phases and evaluation protocols, Yuxing Cheng, Yi Chang, and Yuan Wu (Jilin University, 2025) map contamination into four benchmark overlap types, three mitigation strategies, and three detection tiers (white-box, gray-box, and black-box).

The central tension for evaluation teams is that leakage no longer means just pasting a public dataset into pre-training. Translated test sets, synthetic paraphrases, post-deployment chat logs, and preference leakage in LLM-as-a-judge pipelines all inflate scores while evading simple string checks like the GPT-4 50-character audit.

  • Four benchmark overlap modes: Contamination spans text-only inputs, text-label pairs (questions plus instructions and answers), augmentation-based edits (masking, synonym swaps, or distracting options), and benchmark-level inclusion of outdated versions or source corpora.
  • Five empirical behaviors: Larger models memorize more strongly; early-stage leakage decays over training while late-stage contamination drives sharper inflation; uniform leakage creates lasting gains without spikes; translated non-English test sets inflate English scores while bypassing English detectors; and low-resource languages show threshold effects with near-zero impact.
  • Three static-benchmark defenses: Teams mitigate exposure via continuous data updating (LatestEval, LiveBench, LiveCodeBench, EvoCodeBench), data rewriting (Clean-Eval, MMLU-CF, CLEVA), or access prevention (public-key encryption, rotation in C2LEVA, and Inference-Time Decontamination).
  • Unlearning fails as a cure: Auditing gradient-ascent and approximate unlearning with Min-K% shows memorized sequences persist under the surface, leaving unlearning unable to guarantee clean evaluation.
Three contamination-free evaluation strategies and their tradeoffs
1. Data updating
LatestEval, LiveBench, LiveCodeBench, EvoCodeBench, NPHardEval4V
Mechanism and measurement risk
Rotates in newly published problems and news after model cutoff dates, but new items can shift difficulty and break longitudinal comparisons.
2. Data rewriting
Clean-Eval, MMLU-CF, CLEVA, Bloom-level expansion
Mechanism and measurement risk
Paraphrases, back-translates, or shuffles MCQ options while keeping semantics intact, but rewrites can test a slightly different skill or remain recognizable.
3. Prevention & dynamic
C2LEVA, ITD, DYVAL, VarBench, S3Eval, LM-as-Examiner
Mechanism and measurement risk
Encrypts test sets, generates DAG/variable-perturbed items on the fly, or uses LLM judges, though judge models exhibit preference leakage toward similar model families.

Source: Cheng, Chang, and Wu (2025), Section 3.

How the survey organizes contamination and detection

The authors separate non-contamination scenarios (overlap that causes no measurable gain, or valid transductive task familiarity) from true contamination across pre-training, fine-tuning, post-deployment user interactions, and multimodal text-image-label triplets. On the detection side, they group methods by what model internals the evaluator can read:

Contamination detection tiers by model access
Access TierInputs RequiredRepresentative MethodsPrimary Failure Mode
White-BoxTraining corpus, weights, or hidden activationsN-grams (skip_budget, ConTAM), Sentence-BERT cosine, DICE layer probesUnavailable for closed APIs; n-grams miss paraphrases
Gray-BoxToken log-probabilities / logitsMin-K%, Min-K%++, PAC, DC-PDD, PaCoST paired paraphrase testSingle-epoch pretraining blurs member vs. non-member boundary
Black-BoxGenerated text outputs onlyGuided completion, DCQ, TS-Guessing, DE-COP, CDD/TED, canariesSafety filters block recall; heuristic rules break under rewrites

Open-source toolkits cataloged include llm-decontaminator, Overlapy, Deep-Contam, DICE, and Tabmemcheck. Source: Cheng et al. (2025), Section 4 and Appendix C.

Key findings across mitigation and auditing

Three empirical patterns recur across the surveyed studies. First, naive membership inference attacks fail on modern LLMs: Duan et al. (2024) show classic perplexity and Zlib-entropy MIAs degrade because massive single-epoch corpora blur member and non-member likelihoods. Calibration-based token tests (Min-K%++, DC-PDD corpus-frequency calibration, and PaCoST confidence comparisons against paraphrases) perform better, while requiring only constant forward passes.

Second, black-box detectors rely on fragile assumptions: multiple-choice probing (DCQ, DE-COP) and distribution-peakedness tests (CDD) assume memorized instances preserve surface phrasing or trigger concentrated outputs, yet positional MCQ biases, safety refusals against verbatim extraction, and augmentation-based training edits all break those assumptions.

Third, dynamic generation and LLM-as-a-judge shift rather than erase risk: algorithmic graph generators (DYVAL, DARG), parameterized code (VarBench, functionalization), and hierarchical adaptive questioning (TreeEval) avoid static test files altogether, but recent audits (Li et al., 2025) warn that LLM judges exhibit preference leakage, systematically favoring outputs from models trained on synthetic data from similar base architectures.

Caveats and builder takeaway

Because this is a qualitative taxonomy rather than a unified benchmark re-run across all detectors, the survey does not provide a single head-to-head accuracy table comparing white-box, gray-box, and black-box detectors on identical corpora. It also focuses on text and multimodal LLMs rather than training-corpus deduplication pipelines during pre-training, and leaves open the core theoretical problem of distinguishing genuine out-of-distribution generalization from subtle memorized patterns.

For evaluation engineers, treat contamination as a pipeline hygiene problem rather than a post-hoc detection trick: keep private holdout splits or dated contest streams (paired with stable anchor subsets to monitor difficulty drift), run corpus-level n-gram and embedding decontamination before training when you own the data, and never trust a single black-box detector to certify a third-party closed API as uncontaminated.