When a language model scores well on a public benchmark, we cannot tell whether it solved the questions or remembered them from its training data. The tools available today give only partial answers. Overlap counts against the training corpus need that corpus. Detectors that score how "familiar" a question looks to the model cannot separate questions the model memorized from questions that are simply easy. Neither tool says how many accuracy points memorization is worth. This proposal borrows the logic of k-fold cross-validation, the standard practice of splitting data into k parts and rotating which part is held out. We split a benchmark into k folds and train k copies of an open model. Each copy has a different fold deliberately mixed into its training data. Every question is therefore seen by exactly one copy and unseen by the other k−1 copies, with everything else held fixed.
This rotation produces a per-question measurement that does not exist at scale today: the accuracy gain from having seen that exact question, measured within the same question, so question difficulty cancels out. We use these measurements to fit a calibration that maps any contamination signal, such as a detector score or an overlap count, to an expected accuracy gain. The calibration is cross-fitted, meaning it is always evaluated on folds it was not fit on. We then apply it to models whose training data is unknown, which yields a contamination-adjusted benchmark score with an uncertainty interval. In two sentences: rotate deliberate contamination across benchmark folds so every item has a seen and an unseen version. Then use that contrast to learn, and honestly validate, how much a given contamination signal inflates the score.
Core Claim
The central claim is that within-item contrast is the missing ingredient in contamination measurement. A detector built and validated this way should predict real score inflation much better than raw detector scores or overlap counts. The reason is that it is calibrated against the effect itself rather than against a proxy label like "appeared in the corpus." Existing evidence motivates the gap but does not close it. Snoopy built an interface over the 800GB Pile corpus that relates term and co-occurrence frequencies to few-shot performance. That work is correlational across items, so frequency is confounded with how common, and therefore how easy, a topic is. Back to Square One argued that classic Winograd schema instances in scraped corpora let models bypass the intended reasoning. Several later studies point the same way. Putting GPT-3's Creativity to the (Alternative Uses) Test showed creativity tests can be passed by retrieval. Unveiling Causal Reasoning in Large Language Models: Reality or Mirage? found that proficiency collapses on material after the training cutoff. Can Large Language Models Reason? A Characterization via 3-SAT found that it collapses at structural difficulty transitions. All of these show that inflation exists. None quantifies it per item in a way that transfers to a new model. We supply that quantity. We also use the cross-validation idea a second time, as cross-fitting, so the inflation estimate is never scored on the items used to fit it.
A caveat on novelty: the related-work section of the research file was truncated. I could not check it for prior controlled-injection or cross-fitted contamination studies. The claim of difference therefore rests on the material visible here. None of it combines rotated injection with a calibration that transfers to models whose training data is unknown.
Research Program
The core object is a set of k "fold models" per benchmark. We start from an open base model whose pretraining corpus is public. Using a Pile-trained model lets the Snoopy-style overlap statistics serve as one of the signals. We continue pretraining k copies on an identical stream of general text. Copy j also receives fold j of the benchmark, inserted at a controlled exposure count and in a controlled form. We default to k=5. The forms are verbatim question plus answer, question only, and paraphrased question plus answer. The exposure counts are one, four and sixteen repetitions. For item $i$ in fold $j$, the inflation is defined as
$$\Delta_i = a_i^{(j)} - \frac{1}{k-1}\sum_{m \neq j} a_i^{(m)},$$
where $a_i^{(m)}$ is the correctness of fold model $m$ on item $i$, averaged over sampling seeds and answer-option orderings. Because the same item appears on both sides of the difference, its intrinsic difficulty cancels.
Next we compute candidate contamination signals for every item under every fold model. These include corpus overlap counts, the model's likelihood of the item text relative to paraphrases of it, and completion of truncated questions. We then fit a calibration function $g$ that maps a signal vector $s_i$ to an expected inflation. The fitting uses cross-fitting: $g$ is trained on four folds' worth of items and evaluated on the fifth, rotating through all five folds. The adjusted benchmark score for any target model is the raw accuracy minus $\frac{1}{N}\sum_i g(s_i)$, where $N$ is the number of items. Its uncertainty interval comes from bootstrapping over items and fold models. The analysis has two questions. The first is when $g$ transfers across model scale, across contamination form, and across benchmarks. The second is which signals carry the information once difficulty is controlled.
Baselines
The naive reference point is the raw benchmark score with no adjustment. It is what leaderboards report, and it is what A benchmark of expert-level academic questions to assess AI capabilities reacts to when it notes that modern models exceed 90% accuracy on MMLU. Any adjustment must move the score closer to clean accuracy than this does.
The strongest existing method is the uncalibrated contamination detector, in two variants. One is corpus overlap counting in the style of Snoopy. The other is likelihood-based familiarity scoring, which flags items the model finds unusually probable compared with paraphrases. Both are run on exactly the same items, fold models and target models as our method. Their score threshold, or the linear mapping from score to inflation, is tuned with the same cross-fitted budget we give $g$. Any gain therefore comes from the rotated-injection labels, not from extra tuning. I found no reported result on Lacuna for detection accuracy or inflation-estimation error of either detector on these benchmarks, so the comparison numbers will be produced in this study. Our method beats them if it lowers the error between predicted and measured per-item inflation on held-out folds. It must also lower the error between the adjusted score and the clean fold-model accuracy, and do so under transfer to an unseen contamination form.
The key ablation replaces rotation with a single random split. Half the benchmark is injected into one model and the other half is left clean. The calibration is then fit on between-item differences, as most contamination studies implicitly do. This isolates whether the within-item contrast matters. If the single-split version calibrates equally well at equal compute, the k-fold rotation is unnecessary and the proposal reduces to a simpler injection study.
Why not just…?
Why not just evaluate on a fresh benchmark written after the training cutoff? Temporal holdouts, as in Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?, and new expert sets like A benchmark of expert-level academic questions to assess AI capabilities are the cleanest fix going forward. They do not tell us how much existing scores on old benchmarks were inflated. They also change difficulty and topic at the same time as they remove contamination, so a score drop mixes the two effects. We treat fresh parallel items as an external check rather than a competitor. If adjusted old-benchmark scores predict fresh-item scores no better than raw scores do, our method has failed.
Why not just count n-gram overlap with the training corpus? Overlap needs the corpus, which closed models do not release. It also misses paraphrased contamination. Its correlation with performance is confounded by topic frequency, which is exactly the difficulty confound that within-item contrast removes. The paraphrase-injection condition directly tests how much inflation overlap counts miss.
Why not just fine-tune on the benchmark once and compare to the base model? This is a real threat because it is cheaper. It gives the seen condition but measures the unseen condition on a different model that has not received the same extra training. It therefore conflates contamination with the general effect of continued training. The single-split ablation and a "general text only" control model quantify how large that conflation is. If it is negligible, we will recommend the cheaper design.
Proposed Experiments
The primary benchmarks are MMLU, which is large, widely contaminated and subject-stratified, and the Winograd schemas discussed in Back to Square One, where contamination is documented. The radiation oncology physics exam from Evaluating large language models on a highly-specialized topic, radiation oncology physics serves as a small, specialized, likely-clean set for testing transfer. Fold models are trained at two scales, roughly 1B and 7B parameters, across the three injection forms and three exposure counts. Metrics are per-item inflation estimation error, rank correlation between predicted and measured inflation, and absolute error of the adjusted score against clean accuracy. Clean accuracy is the mean accuracy of the k−1 models that did not see each item. Uncertainty intervals are checked for coverage.
The first decisive check is transfer: fit $g$ on verbatim injection at 1B and evaluate it on paraphrase injection at 7B. A useful method must stay calibrated across that shift. The second decisive check is external. For released open and API models, we build paraphrased and answer-reordered parallel versions of MMLU items. We then test whether the adjusted MMLU score predicts accuracy on these parallel items better than the raw score. If both checks pass, contamination-adjusted scores with honest intervals become a practical reporting standard. If transfer fails, the per-item inflation data still shows which contamination forms and exposure levels matter. It also shows how badly current detectors confuse easy items with memorized ones.
References
- Snoopy: An Online Interface for Exploring the Effect of Pretraining Term Frequencies on Few-Shot LM Performance
- Back to Square One: Artifact Detection, Training and Commonsense Disentanglement in the Winograd Schema
- Putting GPT-3's Creativity to the (Alternative Uses) Test
- Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?
- Can Large Language Models Reason? A Characterization via 3-SAT
- A benchmark of expert-level academic questions to assess AI capabilities
- Measuring Massive Multitask Language Understanding
- Evaluating large language models on a highly-specialized topic, radiation oncology physics