When a language model scores well on a benchmark, we want to know whether the score reflects skill or prior exposure to the test. A family of tools called contamination detectors claims to answer this. Some check whether the model finds test text unusually predictable. Some compare confidence on original and reworded questions. Some check whether the model's sampled answers become rigid. Some plant a statistical watermark in the benchmark text before release. Many of these tools come with theoretical guarantees, such as a p-value or a mechanism proof. Almost none have been checked against the quantity practitioners actually care about: how many accuracy points a specific exposure added. Detectors are validated against a membership label ("was this item in training?"). But the later training stages that real models go through can separate membership from inflation. An item can be seen and give no benefit. An item can also be unseen but benefit from training on its near-duplicates.
This note proposes a controlled testbed built from twin items. Each benchmark problem is generated in two copies with identical structure and difficulty but different surface content, and exactly one copy is exposed during training. The accuracy gap between the exposed item and its unexposed twin is a direct, item-level measurement of score inflation. Against that ground truth, we evaluate every major detector family across the pipeline stages where their guarantees were never tested: pretraining, supervised fine-tuning, reinforcement learning, and distillation. We ask three things of each detector. Does its score predict inflation? Does it falsely flag models that saw only a problem's neighbors? Do its stated p-values hold on clean models after reinforcement learning? The contamination literature supplies the objects. The "lack of empirical validation" direction supplies the lens: theoretically motivated procedures whose assumptions were never stress-tested in the regime where they are used.
Core Claim
The field currently scores detectors on the wrong target. The recent evidence shows that membership and inflation come apart in ways that change which detector looks best.
On The Fragility of Benchmark Contamination Detection in Reasoning Models shows three things:
- Supervised fine-tuning (SFT) contamination inflates pass@1 by 8.8%.
- The LiRA detector catches that contamination at 89.1% AUROC before reinforcement learning.
- After one epoch of clean GRPO (group relative policy optimization, a PPO-style RL method with ratio clipping), reference-free detectors fall to roughly chance.
Its analysis attributes the collapse to clipping compressing the loss spread of unseen items. It also finds that contaminating a reasoning model with chain-of-thought data makes unseen but similar items look as familiar as seen ones. In that case a "false positive" on an unseen item may in fact be a true measurement of inflated skill on that problem family.
Test of Time finds a similar split for temporal signals. When questions are transformed, influence tracing to the source document drops from 77.5% to 17.5% of cases, and post-cutoff decay disappears.
We claim that a detector should be judged by how well its score predicts measured, twin-controlled inflation, and separately by whether it distinguishes item-specific exposure from exposure to neighbors. We expect the ranking of detectors under this criterion to differ from the ranking by membership AUROC. We expect behavioral detectors in particular to trade specificity for robustness.
Research Program
Building twin items. Items come from generators whose difficulty knobs are explicit:
- DyVal-style directed-acyclic-graph problems in arithmetic, boolean logic, and reachability (DyVal builds multi-step problems from random graphs with controlled depth, width, and distractors).
- Random 3-SAT at controlled clause-to-variable ratios (Can Large Language Models Reason? A Characterization via 3-SAT shows accuracy collapsing to about 10% near the phase transition).
- Bijective abstract-reasoning rules verified by cycle consistency, in the style of A²RBench.
Each item gets a twin with the same graph, formula, or rule structure and the same difficulty parameters, but fresh values, variable names, and narrative. We reuse these generators only as a source of structure-matched pairs, not as contamination-resistant benchmarks in themselves. Before any contamination is injected, clean models must show a twin gap statistically indistinguishable from zero. That check is what licenses reading later gaps as inflation.
Injecting exposure. One twin per pair is randomly assigned for exposure. Exposure follows the four levels of Benchmark Data Contamination of Large Language Models: A Survey, which distinguishes semantic, information, data, and label exposure:
- Label-level exposure means the question with its answer, optionally with a worked chain of thought.
- Data-level exposure means the question alone.
- Semantic-level exposure means training only on neighbors: other instances of the same template, excluding both twins. This is the condition that separates item-specific detectors from distribution-level ones.
Exposure is injected at one of three stages:
- Continued pretraining of OLMo2-7B, chosen because its pretraining data is documented, as exploited in Test of Time.
- SFT of Qwen2.5-7B-Instruct.
- GRPO on DeepSeek-R1-Distill-Llama-8B.
The second and third models match the Fragility setup so that result can be replicated. Each exposure is then followed by standard clean downstream stages: clean SFT, clean GRPO, and distillation into a smaller student. Optionally, we "launder" the exposed text before injection with paraphrase, symbol remapping, or theorem-to-word-problem rewriting.
The full cross product is too large to run, so we run a prioritized slice. The primary slice covers all four exposure levels at the SFT stage, each followed by clean GRPO. The secondary slices vary the stage and the laundering. Each twin is scored with 64 samples to estimate pass rates tightly enough to resolve gaps of a few points.
What we measure. For each exposed item $i$, inflation is
$$\Delta_i = \hat p_i^{\text{exposed}} - \hat p_i^{\text{twin}},$$
where $\hat p$ is the sampled pass rate on that item. Each detector outputs a score $s_i$. We report four quantities:
- Membership AUROC, the conventional metric.
- Spearman correlation between $s_i$ and $\Delta_i$, which is the target metric.
- The flag rate on semantic-level (neighbor-only) items.
- For dataset-level tests, the empirical false-positive rate at nominal $\alpha = 0.05$ on fully clean models after clean GRPO and after distillation.
Baselines
The naive reference point is to trust the score. It amounts to predicting zero inflation for every item, or equivalently a constant detector at 0.5 AUROC and zero correlation with $\Delta_i$. The second naive reference is the temporal split: comparing accuracy on items dated before and after the cutoff. Test of Time shows this can show no decay, and even a +2.19 point post-cutoff gain on transformed arXiv questions, so we include it to measure how often it misses measured inflation.
The likelihood family consists of Min-$k$% and LiRA. The strongest reported number here is from Fragility: 89.1% AUROC for LiRA before reinforcement learning, falling to roughly 50–58% AUROC across detectors after chain-of-thought contamination of reasoning models. We run these with the reference models and thresholds used in that paper, on identical items.
PaCoST compares the model's probability that a given answer is correct on original versus reworded questions, using a paired t-test. It is the representative dataset-level significance test. I found no reported result on Lacuna for PaCoST's AUROC or false-positive rate, so we treat its nominal 0.05 level as the claim to check.
Detecting Benchmark Contamination Through Watermarking reports p < 10⁻¹² after 16 exposures and p = 10⁻³ for a +5% ARC-Easy inflation. Those results come from 1B-parameter models pretrained from scratch. We watermark the exposed twins before continued pretraining and ask whether the signal survives the clean GRPO that Fragility showed erases likelihood gaps. Nobody has tested that combination.
The strongest existing method for reinforcement-learned models is Min-$k$NN Distance from Detecting RLVR Training Data via Structural Convergence of Reasoning. It samples 32 completions and treats near-identical reasoning paths as a sign of training exposure. It reports an average AUC of 0.70 across models of 1.5B to 32B parameters, and 0.76 on a distilled student. We run it with N = 32 on the same items and the same sampling budget.
Our own estimator is the calibrated twin gap, used as a black-box audit. It is a paired test of original-versus-twin accuracy whose null distribution is estimated from clean models. The ablation that isolates its key ingredient removes the calibration. That leaves an uncalibrated perturbation gap, which is essentially the EvoEval-style comparison that the survey reports as a 39.4% average drop across 51 models. Beating the strongest baseline means one of two things. Either a higher Spearman correlation with $\Delta_i$ than Min-$k$NN Distance on the post-GRPO slice, with a bootstrap confidence interval excluding zero difference, or equal correlation with a lower neighbor-only flag rate.
Why not just…?
Why not just use fresh, post-cutoff benchmarks like LiveBench? LiveBench refreshes questions monthly and scores them programmatically. That protects future measurements, but it says nothing about how inflated an existing score is. It also relies on the temporal signal that Test of Time showed can be erased by transforming the questions. The temporal-split baseline tests this directly by counting the measured inflation it misses.
Why not just extend the Fragility study with more detectors? That study labels items only by membership. It therefore cannot tell whether a detector's "failure" on unseen but similar items is an error or a correct report of generalized inflation. The neighbor-only condition and the $\Delta_i$ target are exactly what it lacks. Replicating its numbers is our first sanity check, not our contribution.
Why not just use the perturbation gap, as in EvoEval or A²RBench's symbol remapping? This is the real threat, because our estimator is a refinement of it. The uncalibrated version confounds contamination with difficulty differences between original and perturbed items; A²RBench's remapping drop of 17.7% mixes both. If the no-calibration ablation matches the calibrated twin gap on inflation correlation, the calibration adds nothing. In that case we will report the simple method as sufficient and restrict our claim to the detector-evaluation findings.
Why not just watermark every benchmark? Watermarking only protects benchmarks released from now on. Its authors note that rephrasing the scraped data could strip the watermark. Its guarantees were also measured only on models pretrained from scratch. The post-GRPO watermark slice either shows the signal survives, which would be strong support for the method, or shows it inherits the reinforcement-learning cloaking.
Proposed Experiments and Decisive Checks
The first decisive check is calibration. On clean models, the twin gap must center on zero, and PaCoST and the watermark test must stay near their nominal 5% false-positive rate after clean GRPO. If they do not, their stated guarantees fail in exactly the regime where they are used. That would itself be the kind of empirical-validation gap Direction 2 documents in theory papers.
The second check is the neighbor-only condition. We predict that Min-$k$NN Distance flags neighbor-trained items at rates close to those for truly exposed ones, because entropy collapse under reinforcement learning spreads across a template. If so, its 0.70 AUC measures distributional familiarity rather than item-level inflation.
The third check is the central ranking comparison. After GRPO, we compare detectors by correlation with $\Delta_i$ and by membership AUROC. We expect the likelihood detectors to be near chance on both. We expect Min-$k$NN Distance to correlate moderately with inflation at the level of the whole problem family but poorly at the level of the item. We expect the calibrated twin gap to correlate best, within the structured domains where twins exist.
Two outcomes would falsify the proposal's premise. One is that the membership-AUROC ranking matches the inflation ranking across all slices. The other is that Min-$k$NN Distance's correlation with $\Delta_i$ matches the calibrated twin gap's. Either would mean current practice already targets the right quantity, and we would report that plainly.
The main limitation is scope. Twins require problem generators, so results apply directly to math, logic, and algorithmic tasks. Transfer to open-ended question sets such as MMLU is tested only indirectly, through the watermark slice.
References
- On The Fragility of Benchmark Contamination Detection in Reasoning Models
- Test of Time: Rethinking Temporal Signal of Benchmark Contamination
- DyVal: Dynamic Evaluation of Large Language Models for Reasoning Tasks
- Can Large Language Models Reason? A Characterization via 3-SAT
- A²RBench: An Automatic Paradigm for Formally Verifiable Abstract Reasoning Benchmark Generation
- Benchmark Data Contamination of Large Language Models: A Survey
- PaCoST: Paired Confidence Significance Testing for Benchmark Contamination Detection in Large Language Models
- Detecting Benchmark Contamination Through Watermarking
- Detecting RLVR Training Data via Structural Convergence of Reasoning
- LiveBench: A Challenging, Contamination-Limited LLM Benchmark