When someone asks whether a language model has seen a benchmark during training, the usual answer is a hypothesis test. If the p-value is small, the model is declared contaminated. If it is not, the model is often treated as clean. The second inference is unsound wherever the test has little power, meaning a low chance of firing even when contamination is real. Clinical research learned this the hard way. Small trials routinely see large raw differences that miss significance, for example 20% versus 51.6% aneurysm sac expansion at $P=0.472$ in a 46-patient comparison (Kim et al.), and those trials then get misread as showing equivalence. Contamination auditing is about to repeat this mistake in exactly the places it matters most: specialized exams of about 100 questions, such as the radiation oncology physics exam used to evaluate GPT-4 (Holmes et al.), and the many MMLU subjects that each hold a few hundred items.
We propose to measure, for each widely used black-box contamination detector, the smallest score inflation it can reliably detect at a given benchmark size and form of contamination. We would then turn that into a reporting rule. An audit that fails to reject would report a detection limit rather than a verdict of "clean": a statement of the form "inflation of $L$ points or more would have been caught with 80% probability, under this kind of leakage." We obtain the limits empirically. We deliberately contaminate open models at known duplication counts and in known forms, then measure both the true score inflation and each detector's hit rate across benchmark sizes.
Core Claim
The claim is that contamination audits should report detection limits, not just p-values. These limits differ sharply across detectors and across forms of leakage. We expect them to show that several published "little evidence of contamination" conclusions cannot rule out inflation of several accuracy points on small benchmarks.
Let $\Delta$ be the true score inflation on a benchmark. Concretely, $\Delta$ is the accuracy of a model fine-tuned on a mix containing the benchmark minus the accuracy of the same base model fine-tuned on a size-matched mix without it, measured on the same items. Let $\pi_D(\Delta; N, f)$ be the probability that detector $D$ rejects at level $\alpha$ on $N$ items under contamination form $f$ (verbatim canonical order, shuffled order, or paraphrased). The detection limit is
$$L_D(N, f) = \min\{\Delta : \pi_D(\Delta'; N, f) \ge 1-\beta \text{ for all } \Delta' \ge \Delta\},$$
with $\beta = 0.2$. We write the condition over all $\Delta' \ge \Delta$ so that the definition still makes sense if power turns out not to grow steadily with inflation. A non-rejecting audit then supports only the bounded statement $\Delta < L_D(N, f)$, and only for the forms $f$ it was calibrated against. If $L_D$ is effectively infinite for some form, the detector says nothing about that form. We expect this for order-based tests under shuffled ingestion.
This differs from the closest existing work in what it outputs. The sharded rank comparison test gives a p-value with a controlled false-positive rate. It was validated on 1,000-example sets, and it quantifies neither inflation nor its own false-negative rate at small $N$. ConStat estimates an inflation gap $\delta$ against a reference-model panel and reports detection rates, but it does not characterize how its power degrades as item counts and panel quality shrink. We reuse both as the detectors under study. What we add is the power function and the bounded "not detected" statement.
Research Program
Several papers motivate the program by documenting the gap. Test of Time shows that one family of detectors, post-cutoff accuracy decay, loses its signal under rephrasing. Rephrased physics questions even rose 2.19 points after the cutoff, and renaming variables erased LiveCodeBench's decay. Blackwell shows that 100-item benchmarks carry large measurement variance, enough that changing the hosting API alone produced a significant score difference ($t=2.51$, $p=0.013$). Neither paper connects the two observations into a statement about the false-negative rates of contamination tests.
The method for planting contamination comes from two sources. The canary-model design of the sharded rank paper injects known duplication counts into GPT-2. The model set of A Narrowing Geometry in Contaminated Reasoning (Qwen2.5-1.5B, Qwen2.5-7B, Llama3.1-8B) gives us open models in which leakage has already been induced and studied.
The build has three parts.
The first is a contamination generator. It continues training each base model on a neutral corpus into which benchmark items are inserted at duplication counts of 0, 1, 2, 4, 8 and 16. Items are inserted in one of three forms: canonical order, shuffled order, or GPT-rephrased in the style ConStat uses for its reference benchmarks. Each condition gets a matched control run in which the benchmark items are replaced by distractor text of the same length. This control separates inflation from the general effect of further training.
The second part is a subsampling harness. For each condition it draws benchmark subsets of $N \in \{50, 100, 250, 1000\}$ items, many times over, and runs every detector on each draw. The rejection rate over draws estimates $\pi_D$, and the control-model differences give $\Delta$.
The third part is a re-audit. We apply the resulting curves to the model/benchmark pairs that the source papers report as non-significant, and translate each of those findings into a detection limit.
The benchmarks are those the detectors were originally validated on: GSM8K, ARC-Challenge, HellaSwag and MMLU. For MMLU we use the per-subject splits, because their item counts naturally reproduce the small-$N$ regime. College Chemistry, where GPT-3 sat near chance at 26% (Hendrycks et al.), is a natural low-ceiling test case. We also use DyVal-generated items (DyVal) as a fresh negative control. This lets us check that the false-positive rate stays at $\alpha$ when $N$ is small.
Baselines
The naive reference point is the current practice. Each detector is run at its default settings, and a non-significant result is read as "no contamination." We score this practice by its miss rate: the fraction of planted conditions with true $\Delta \ge 3$ accuracy points that it calls clean. The proposal succeeds against this baseline if our detection limits correctly predict those misses. Concretely, for held-out conditions, the observed rejection rate should fall within the binomial confidence band of the predicted $\pi_D$.
The first strong competitor is the sharded rank comparison test (Proving Test Set Contamination). It is the only detector in the file with a formal false-positive guarantee. It reports detection at duplication counts of 2 to 4 on 1,000 examples, and p-values as low as $10^{-38}$ at 10 or more duplications. We run it with the authors' shard and permutation settings, and we also try the shard count that maximizes power at each $N$, so that it is not handicapped at small sizes.
The second strong competitor is ConStat (ConStat), which reports 98.4% detection of sample-specific contamination against 71% for the best prior baseline. Its reference panel is the obvious failure point at small $N$. We therefore run it with its full 20-model panel, and again with panels of 5 and 10 models. Every competitor gets the same items, the same planted models and the same number of subsample draws.
The third competitor is the item response theory anomaly detector from adaptive testing. Item response theory is the psychometric approach that fits a difficulty, discrimination and guessing parameter to each question. We include it because it claims contamination detection with 80% fewer items. If that claim holds up, it should have the best detection limits at $N=100$.
None of the source papers report power at $N \le 100$. We found no reported result on Lacuna for small-benchmark power of any of these detectors.
The key ingredient of the proposal is that power is calibrated separately for each form of contamination. To isolate it, we run an ablation that fits a single pooled power curve over all forms and test whether it mis-predicts misses under shuffled or paraphrased leakage. Such a failure would show that form-specific limits are necessary. We also report Fisher's method for combining the detectors' p-values as an engineering baseline, to see whether pooling several weak tests lowers $L$ at small $N$.
Why not just…?
Why not just report a bootstrap confidence interval on ConStat's inflation estimate? This is the most serious alternative. If the interval's upper end covered the true $\Delta$ at the nominal rate, it would give a bounded statement directly, and our calibration would add little beyond confirming it. We test this head on. For every planted condition we check whether the 95% upper bound covers the known $\Delta$, across panel sizes and benchmark sizes. Coverage could fail because the reference panel is itself contaminated or because rephrasing shifts difficulty, both of which ConStat's authors flag. If coverage does fail, the interval is not a valid substitute. If it holds, we will say so and recommend reporting the bootstrap interval, with our curves serving only as its validation.
Why not just run more repeats, or set temperature to zero? Repeated runs reduce sampling noise from the model, but item-sampling variance comes from having few questions, and repeats do not add questions. Blackwell shows that small benchmarks stay noisy across platforms even at temperature zero. Deterministic models also reproduce the same wrong answers across trials (Holmes et al.). Our harness tests this directly by comparing detection limits with 1 and 10 decoding repeats at fixed $N$.
Why not just evaluate on fresh post-cutoff questions, for example LiveBench? LiveBench limits contamination going forward, but it cannot audit an existing 100-item professional exam. A fresh specialized set would also be small. Comparing performance before and after the cutoff is itself a detector with poor power under rephrasing (Test of Time). We include it as a fourth detector so that its limit is measured rather than assumed.
Proposed Experiments
The first decisive check is that the power curves fall with $N$ in a predictable way. If detection depends mainly on the per-item signal-to-noise ratio, $L_D$ should shrink roughly as $1/\sqrt{N}$, the usual scaling of a mean-difference test. The specific question is whether the sharded rank test's limit at $N=100$ exceeds the 6.6 to 8.3 point inflations ConStat reports for real models (ConStat). If it does, current audits of small subjects could miss contamination of the size already documented in the wild.
The second check concerns contamination form. We expect the order-based test to have no finite limit under shuffled ingestion and the performance-based tests to degrade under paraphrase. Finding no form-dependence would refute the case for form-specific reporting.
The third check is predictive validity. We fit the curves on Qwen2.5-1.5B and 7B and test them on Llama3.1-8B, without refitting. The curves must predict that model's rejection rates within their binomial bands, or the detection limits do not transfer across models.
The final output is the re-audit: the published non-significant MMLU and GSM8K results for LLaMA2, Mistral and Pythia, each restated as a detection limit in accuracy points under each form of contamination.
References
- Comparison between Onyx and coil embolization for persistent type 2 endoleaks after endovascular aneurysm repair
- Evaluating large language models on a highly-specialized topic, radiation oncology physics
- Proving Test Set Contamination in Black-Box Language Models
- ConStat: Performance-Based Contamination Detection in Large Language Models
- Test of Time: Rethinking Temporal Signal of Benchmark Contamination
- Towards Reproducible LLM Evaluation: Quantifying Uncertainty in LLM Benchmark Scores
- A Narrowing Geometry in Contaminated Reasoning
- Measuring Massive Multitask Language Understanding
- DyVal: Dynamic Evaluation of Large Language Models for Reasoning Tasks
- Efficiently Measuring the Cognitive Ability of LLMs: An Adaptive Testing Perspective
- LiveBench: A Challenging, Contamination-Limited LLM Benchmark