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