mlsanityData to 14 Oct 2026

Quantifying the Effect of Test Set Contamination on Generative Evaluations

arXiv 2601.04301 ↗First posted 7 Jan 2026cs.LG cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

As frontier AI systems are pretrained on web-scale data, test set contamination has become a critical concern for accurately assessing their capabilities. While research has thoroughly investigated the impact of test set contamination on discriminative evaluations like multiple-choice question-answering, comparatively little research has studied the impact of test set contamination on generative evaluations. In this work, we quantitatively assess the effect of test set contamination on generative evaluations through the language model lifecycle. We pretrain language models on mixtures of web data and the MATH benchmark, sweeping model sizes and number of test set replicas contaminating the pretraining corpus; performance improves with contamination and model size. Using scaling laws, we make a surprising discovery: including even a single test set replica enables models to achieve lower loss than the irreducible error of training on the uncontaminated corpus. We then study further training: overtraining with fresh data reduces the effects of contamination, whereas supervised finetuning on the training set can either increase or decrease performance on test data, depending on the amount of pretraining contamination. Finally, at inference, we identify factors that modulate memorization: high sampling temperatures mitigate contamination effects, and longer solutions are exponentially more difficult to memorize than shorter ones, presenting a contrast with discriminative evaluations, where solutions are only a few tokens in length. By characterizing how generation and memorization interact, we highlight a new layer of complexity for trustworthy evaluation of AI systems.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 90 of its 110 references that are in the map. First posted on arXiv 7 Jan 2026.

Builds on

90 of 110 references.

References · 90

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  7. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  8. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  9. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  10. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  11. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
  12. 2020Extracting Training Data from Large Language Modelscited by 2,189
38 more
  1. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  2. 2018Hierarchical Neural Story Generationcited by 1,193
  3. 2018Reconciling modern machine learning practice and the bias-variance trade-offcited by 927
  4. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
  5. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 812
  6. 2022Quantifying Memorization Across Neural Language Modelscited by 763
  7. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 498
  8. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 492
  9. 2023Scaling Data-Constrained Language Modelscited by 403
  10. 2023Detecting Pretraining Data from Large Language Modelscited by 387
  11. 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 348
  12. 2023Effective Long-Context Scaling of Foundation Modelscited by 303
  13. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 271
  14. 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
  15. 2017High-dimensional dynamics of generalization error in neural networkscited by 241
  16. 2022Data Contamination: From Memorization to Exploitationcited by 236
  17. 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
  18. 2020Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural Networkscited by 200
  19. 2023Rethinking Benchmark and Contamination for Language Models with Rephrased Samplescited by 195
  20. 2024Do Membership Inference Attacks Work on Large Language Models?cited by 195
  21. 2024A Careful Examination of Large Language Model Performance on Grade School Arithmeticcited by 191
  22. 2023Time Travel in LLMs: Tracing Data Contamination in Large Language Modelscited by 177
  23. 2021Towards Continual Knowledge Learning of Language Modelscited by 174
  24. 2023Beyond Chinchilla-Optimal: Accounting for Inference in Language Model Scaling Lawscited by 159
  25. 2022Scaling Laws and Interpretability of Learning from Repeated Datacited by 152
  26. 2023Emergent and Predictable Memorization in Large Language Modelscited by 148
  27. 2024Benchmark Data Contamination of Large Language Models: A Surveycited by 147
  28. 2023Investigating Data Contamination in Modern Benchmarks for Large Language Modelscited by 138
  29. 2024Simple and Scalable Strategies to Continually Pre-train Large Language Modelscited by 127
  30. 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 122
  31. 2024On Memorization of Large Language Models in Logical Reasoningcited by 117
  32. 2021Dataset Inference: Ownership Resolution in Machine Learningcited by 116
  33. 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 115
  34. 2024LLM Dataset Inference: Did you train on my dataset?cited by 110
  35. 2024Benchmarking Benchmark Leakage in Large Language Modelscited by 106
  36. 2024Investigating Data Contamination for Pre-training Language Modelscited by 91
  37. 2024Resolving Discrepancies in Compute-Optimal Scaling of Language Modelscited by 88
  38. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85

50 most cited of 90 All 90 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.