When a benchmark leaks into a model's training data, the usual worry is memorization: the model has seen the answer and repeats it. Reasoning models break that picture. If they are fine-tuned on worked solutions to test problems, they learn the solution method. Their scores then rise on the leaked items and also on unseen problems that resemble them. Membership detectors that look for unusual confidence on seen items fall to chance, because seen and nearby unseen items now look the same. We propose to stop asking "was this item seen?" and ask "how far from the benchmark does the score inflation extend?" Concretely, we generate fresh problems at controlled structural distances from each benchmark item, holding difficulty fixed, and trace accuracy as a function of distance. An uncontaminated model gives a flat curve. A contaminated model gives a bump centered on the benchmark that decays with distance. The height of the bump estimates how inflated the score is, and its width, which we call the contamination radius, tells evaluators how different a "fresh" test must be before it is actually clean.
This connects the two directions in a specific way. Contamination becomes a generalization question run in reverse: the leaked benchmark sits inside a neighborhood the model was trained to cover. The small-sample generalization literature warns that validation pools drawn from a narrow distribution give inflated estimates no matter how they are resampled. Rephrased or renumbered "clean" benchmark variants are exactly such narrow pools. The audit inherits that literature's second lesson too: finite-sample power has to be planned empirically, not assumed.
Core Claim
Training on worked solutions to benchmark items raises accuracy on a region around those items, not just on the items themselves. If we build families of test variants whose difficulty is matched by construction but whose structural distance from the original grows, then three things follow. The difference in accuracy between near and far variants is a contamination signal that survives reinforcement learning and chain-of-thought fine-tuning, which is where likelihood-based detectors fail. The far-shell accuracy is a less biased estimate of true capability. The distance at which the curve flattens is a measurable property of a contamination type. We expect answer-only leakage to have near-zero radius and solution-trace leakage to have a radius extending through surface and partial-structure rewrites.
The motivating evidence is On The Fragility of Benchmark Contamination Detection in Reasoning Models. That paper contaminated reasoning models during supervised fine-tuning and evaluated 10 detectors. One epoch of clean GRPO, a reinforcement learning method, pushed reference-free detectors to about 50% AUROC. Fine-tuning on chain-of-thought benchmark data gave DeepSeek-R1-Distill-Llama-8B an 11.7 point pass@1 boost while the detectors averaged 50–58% AUROC, because the model's confidence rose on distributionally similar unseen questions too. The paper treats this spillover as the reason detection fails. We treat it as the signal to measure. The paper never asks how far the spillover reaches, and that is the gap this proposal fills.
Research Program
The first component is a shell generator: a procedure that maps each benchmark item to sets of variants at increasing distance. The main testbed is the DAG generator from DyVal. DyVal builds reasoning problems from directed acyclic graphs, so depth and width can be controlled exactly. Its own results show that depth, not width, drives difficulty, and that reversing presentation order changes difficulty, so both can be held fixed. We define four shells. Shell 0 is the original item. Shell 1 keeps the same graph and operators but changes leaf values and variable names. Shell 2 keeps the graph topology but resamples the operators. Shell 3 is a new random graph with the same depth, width and operator distribution. We deliberately exclude reversed ordering and greater depth from the shell sequence, because DyVal shows they change difficulty. They become separate difficulty probes rather than distance steps.
A second testbed is GSM8K. Here shell 1 resamples the numbers within each problem's template, shell 2 adds a model-written paraphrase in the style of the transformations in Test of Time, and shell 3 is a templated new problem with the same number of steps. The GSM8K shells are less exactly difficulty-matched than DyVal's, so flatness on clean models must be verified rather than assumed. That verification is itself a result.
The second component is the audit statistic. For benchmark item $i$, let $y_i(s,k)\in\{0,1\}$ be correctness on the $k$-th of $K$ variants in shell $s$. The per-item contrast is
$$\Delta_i(s) = y_i(0) - \frac{1}{K}\sum_{k=1}^{K} y_i(s,k),$$
and the inflation estimate at shell $s$ is $\hat I(s) = \frac{1}{m}\sum_{i=1}^{m}\Delta_i(s)$ over $m$ audited items. The radius is the smallest $s$ beyond which $\hat I$ is statistically indistinguishable from the next shell. For black-box models, an alternative statistic replaces $y_i(0)$ with the shell-1 mean. This detects inflation that has already spread into shell 1, which is the regime where rephrase tests fail. The pairing within each item removes item difficulty from the comparison, and averaging over $K$ variants shrinks the shell term's variance.
Detectability should still follow the scaling proved in When Is Benchmark Contamination Detectable?. That paper shows that detecting a contaminated fraction $\alpha$ with behavioral separation $\rho$ requires $\alpha\rho\sqrt{m}$ to be large. It also shows that Gaussian budget formulas fail at small $m$. We reuse its two-stage resampling planner to choose $m$ and $K$. Our expectation is that the shell contrast keeps $\rho$ large in exactly the settings where likelihood gaps drive it to zero, because accuracy differences on held-out variants are not compressed by the policy-ratio clipping that the Fragility paper identifies.
The third component is the null check. On models with no contamination, the curve must be flat. This means pre-contamination checkpoints of the same models and models fine-tuned on equal amounts of same-distribution non-benchmark data. Without this check, a slope could mean that the shells differ in difficulty rather than that the model was contaminated.
Baselines
The naive reference point is to report benchmark accuracy as is and attribute nothing to contamination. In controlled experiments the true inflation is known by construction, so this baseline's error equals the full injected inflation. Any method must recover a meaningful share of that gap to be useful.
The strongest existing detectors are the likelihood-based membership tests, LiRA in particular, as evaluated in On The Fragility of Benchmark Contamination Detection in Reasoning Models. That paper reports 89.1% AUROC for LiRA after contaminated fine-tuning and before reinforcement learning, a drop of about 14% after one GRPO epoch, and 50–58% AUROC for nearly all 10 detectors under chain-of-thought contamination. We will rerun LiRA, Loss and Min-K% on the same contaminated checkpoints and the same item splits as our audit, using the paper's reference-model protocol. Beating LiRA means two things: shell-contrast AUROC at or above 0.75 in the chain-of-thought regime, where LiRA is reported near chance, and no loss of more than a few points relative to LiRA in the pre-RL regime where LiRA already works.
The strongest black-box baseline is CDD from Generalization or Memorization. CDD samples many outputs per prompt and flags contamination when they collapse to near-identical strings. The paper reports a 21.8% to 30.2% relative gain in accuracy and AUC over n-gram and LLM-based detectors. To make the comparison fair, CDD gets the same number of model calls per item as our audit spends across shells: $K$ variants times three shells plus one. Because CDD assumes collapsed outputs, we expect it to fail where solutions stay diverse. If it does not fail there, that is informative too.
We include the activation-geometry signature from A Narrowing Geometry in Contaminated Reasoning as a white-box competitor. That paper finds that leaked math samples run through a squashed, low-dimensional subspace of feed-forward activations, measured by an eigenspectrum concentration index. It is the one existing signal that might survive RL clipping, since it does not rely on output probabilities. We compute it on the same checkpoints.
The key ablation is the two-point rephrase test: shell 0 versus shell 1 only, which is the logic behind rephrased benchmarks like HumanEval_R. No reported AUROC for a rephrase-gap detector was found on Lacuna, so we measure it ourselves. If the full curve adds nothing over this two-point contrast, the radius idea is not earning its cost.
Why not just…?
Why not just evaluate on freshly generated or post-cutoff problems and ignore the leaked benchmark? This is the most serious alternative. If the goal is only an honest score, far-shell items alone might suffice, and LiveBench takes exactly this approach with monthly replacement (LiveBench). The problem is that "fresh" is not the same as "far." Test of Time shows that renaming variables in LiveCodeBench erases the post-cutoff drop. The Fragility results show that chain-of-thought leakage lifts similar unseen items. A fresh set built from the same templates may therefore sit inside the contamination radius. Our experiment settles this directly. If shell-1 and shell-2 accuracies on contaminated models match shell 3, then freshness alone is enough and our method reduces to a cheaper recommendation. If they are inflated, fresh-but-similar benchmarks overstate capability by a measurable amount.
Why not just use rephrased variants, as in HumanEval_R? A single rephrase is one point on our curve. When contamination teaches a method rather than a string, the rephrase is also inflated, and the two-point gap shrinks toward zero even though the score is inflated. The ablation above tests whether this happens. We predict the two-point test works for answer-only leakage and fails for chain-of-thought leakage, while the shell 1-versus-3 contrast does not.
Why not just fine-tune or improve membership detectors? The Fragility paper attributes their failure to clipping in reinforcement learning compressing the log-probability gap, and shows that removing clipping restores separability. Better thresholds cannot recover a gap that training has erased. Item-level membership is also the wrong target when unseen neighbors are equally inflated: a perfect membership detector would still miss the inflation on shells 1 and 2.
Why not just use activation geometry? It may work, and if it matches the shell contrast in the chain-of-thought regime that is a real threat to the proposal's practical value for open-weight models. The geometry signal has only been shown for grade-school arithmetic and requires weights, so the shell audit would still be the only option for closed models. We report both on identical checkpoints.
Proposed Experiments
The controlled study replicates both regimes of the Fragility paper on DyVal arithmetic, Boolean logic and reachability at depth tiers D2 and D3, and on GSM8K. In the first regime, Qwen2.5-7B-Instruct is fine-tuned on a benchmark subset with answers or with solution traces and then given one clean GRPO epoch. In the second, DeepSeek-R1-Distill-Llama-8B is fine-tuned on chain-of-thought solutions. Contamination fractions $\alpha$ are 0.1, 0.3 and 1.0 across three seeds. Each regime has an equal-data control trained on same-distribution non-benchmark items, which separates "learned the skill" from "learned these items." Ground-truth inflation is the contaminated-minus-control accuracy on shell 0, against which $\hat I$ is scored by absolute error. Item-level AUROC comes from per-item contrasts, and set-level power and false-positive rate come from the planner-chosen $m$.
The decisive checks are four. First, on clean and equal-data control models, the DyVal shell curves must be flat within sampling error, with a false-positive rate of 5% or less at the planned budget. If they are not flat, the shells are not difficulty-matched and the method fails at its foundation. Second, in the chain-of-thought regime, shell-contrast AUROC must clearly exceed the 50–58% reported for existing detectors, and $\hat I$ must recover most of the injected inflation. Third, the radius must differ by contamination type: near zero for answer-only leakage and extending to at least shell 2 for trace leakage. If the radius is the same regardless of what leaked, the "radius" concept adds nothing beyond a single gap. Fourth, the planner's power predictions must hold at $m<50$ on held-out seeds, where the Gaussian formulas failed in all nine cases in When Is Benchmark Contamination Detectable?.
A final exploratory study applies the GSM8K shells to public open-weight models, reporting estimated inflation and radius with confidence intervals. Since no ground truth exists there, we frame these results as estimates rather than verdicts.
References
- On The Fragility of Benchmark Contamination Detection in Reasoning Models
- DyVal: Dynamic Evaluation of Large Language Models for Reasoning Tasks
- Test of Time: Rethinking Temporal Signal of Benchmark Contamination
- Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Models
- A Narrowing Geometry in Contaminated Reasoning
- LiveBench: A Challenging, Contamination-Limited LLM Benchmark