When a language model has seen a test question during training, it usually has not memorized just a string of words. It has memorized a particular configuration of concepts: this chemical, this organism, these distractor options, this story about a baker and her loaves. Rephrasing the question changes the words and leaves that configuration intact. This explains why today's contamination detectors fail on rephrased or reinforcement-learned leakage. Those detectors look for unusually confident token probabilities or overlapping word sequences, and rephrasing and reinforcement learning erase exactly those traces. We propose to probe the concept configuration directly. We generate variants of each benchmark item in which the key concepts are swapped for others at controlled distances in a concept hierarchy (a taxonomy such as WordNet, where "Labrador" and "Golden Retriever" are close siblings and "Labrador" and "toaster" meet only near the root). For each variant we choose swaps that should not change the correct answer. We then plot the model's accuracy against that distance.
The claim is simple. A model that genuinely solves the task should be flat across taxonomic distance, because the swaps leave the reasoning unchanged. A model that memorized the item should score well near the original and fall off as the variants drift away from what it saw. The slope of this "drift curve" measures contamination. It depends only on whether answers are right or wrong, not on token probabilities, so it should survive both surface rephrasing and the reinforcement-learning step that has been shown to flatten probability-based signals. A second, sharper claim links the two literatures. The accuracy decay should follow information-content-weighted similarity, which rates a shared ancestor as more meaningful the more specific it is, better than it follows raw path length or embedding cosine. If it does, that tells us what grain of detail contaminated models actually store.
What the two literatures give us
The contamination literature supplies the motivation and the negative results that constrain the design. Test of Time shows that rephrasing launders contamination. The post-cutoff accuracy drop disappears on rephrased problems (+2.19 pp on post-cutoff physics, against −3.83 pp on verbatim cloze questions), and influence-function attribution to the leaked document falls from 77.5% to 17.5%. That paper treats rephrasing as an unmodeled black box. We instead parameterize the transformation by position in a concept hierarchy.
On The Fragility of Benchmark Contamination Detection in Reasoning Models shows why probability-based detection is a dead end after reinforcement learning. Clipping in GRPO, a policy-gradient reinforcement learning method, contracts the log-probability gap between seen and unseen questions. One epoch removes about 14% of LiRA's AUROC (area under the ROC curve), starting from 89.1%. After reasoning-trace distillation, ten detectors average 50–58% AUROC. This result pushes our design toward behavioral signals and away from likelihood signals.
Benchmarking Benchmark Leakage compares perplexity and 5-gram accuracy between original and GPT-3.5-paraphrased items. It flags roughly half of 31 open models on GSM8K and MATH, and its authors concede that the method fails if the model was trained on paraphrases. Our method is closest in spirit to this paper. The difference is that we replace a single, uncontrolled paraphrase with a graded family of concept swaps and read the shape of the response, not a two-point gap. PAC also perturbs inputs, but it swaps tokens at random and reads token confidence. We control the semantic distance of each swap and read accuracy. The contamination survey names a "semantic level" of contamination but gives no way to measure it. Our drift slope is one concrete operationalization.
The hierarchical similarity literature supplies the measuring instrument. Work on depth and density (Wanyin Li et al., Yangyang Wu et al., Heyan Huang et al.) shows that one step deep in a taxonomy means much less than one step near the root. The information-content coefficient of Bo Li et al. takes Lin similarity (a standard score based on how much information two concepts share) and down-weights it when the most informative shared ancestor is generic. Bhattacharya et al. show how to compare sets of hierarchical labels with earth mover's distance, the minimum total cost of moving one set onto the other over the tree. We reuse both methods to assign each variant a single distance from its original. GeoBench is the only prior work in the file that pairs hierarchy with contamination. Its hierarchy is a ladder of reasoning skills, and it avoids contamination through synthetic generation instead of measuring it. Our work audits existing benchmarks and existing models.
Core Claim
Let $x$ be a benchmark item, and let $C(x)$ be the set of taxonomy concepts it mentions in answer-irrelevant roles. For a variant $x'$, define
$$d(x, x') = \mathrm{EMD}_{c}\big(C(x), C(x')\big), \qquad c(u,v) = 1 - Sim_{IC}(u,v),$$
where $\mathrm{EMD}_c$ is earth mover's distance with ground cost $c$, and $Sim_{IC}$ is the information-content-weighted similarity of Bo Li et al., computed on WordNet with information content estimated from corpus frequencies. For a model $M$, the drift slope $\beta_M(x)$ is the fitted slope of correctness against $d$ across the item's variants, measured relative to a pool of reference models that the leakage study reports as clean. The claim is that $\beta_M(x)$ is near zero for unseen items and clearly negative for seen items. We further claim this holds when the model saw only paraphrases of $x$ and after clean GRPO. Finally, we claim that under the $Sim_{IC}$ distance, $\beta$ separates members from non-members better than it does under path length or sentence-embedding distance.
Research Program
The first component is a variant generator whose swaps provably preserve the answer. On GSM8K, the swaps target people, objects, and units whose identity does not enter the arithmetic. On the word-problem subset of MATH, the same applies to narrative entities. On MMLU, the swaps target wrong answer options: one incorrect option is replaced with another concept from the same broad category but at a controlled taxonomic distance, while the correct option and the question stem stay fixed. We will use roughly 20 variants per item, spread across five distance bins. An LLM rewrites each sentence for grammar, and every variant is checked by a solver or a human spot-check to confirm the answer is unchanged.
The second component is the statistic and its calibration. Swaps can change difficulty in ways unrelated to contamination; for example, an obscure noun may confuse any model. We therefore subtract the mean drift curve of reference models. These are Llama-3-8B and Mistral-7B-v0.1, which Benchmarking Benchmark Leakage reports as having near-zero train–test disparity, together with models whose cutoffs predate the benchmark.
The third component is a controlled contamination study, where we know the ground truth. We will take an open model of around 8B parameters and follow the Stage I protocol of the Fragility paper. We fine-tune on a known half of the GSM8K and MATH test items in three conditions: verbatim, GPT-paraphrased (the laundering condition from Test of Time), and paraphrased-then-GRPO on clean data. The other half serves as non-members. The fourth component applies the calibrated statistic to public models, where no ground truth exists, as an audit.
Baselines
The naive reference point is a do-nothing check: accuracy on the original items compared with accuracy on one random, distance-uncontrolled paraphrase. This is essentially the disparity score of Benchmarking Benchmark Leakage, and it should beat chance on verbatim contamination. We will compute it on exactly the same items and models. We will also give it the same total number of variant queries (20 paraphrases averaged), so that our method gains nothing from simply spending more model calls.
The strongest existing competitors are the likelihood detectors evaluated in On The Fragility of Benchmark Contamination Detection, namely LiRA, Loss, and Min-K%++, along with PAC. They matter because they are the tools people actually use. The number to beat is the Fragility paper's result: LiRA reaches 89.1% AUROC before reinforcement learning, loses about 14 points after one GRPO epoch, and reference-free detectors fall to about 50% AUROC. For Min-K%++ and PAC specifically on GSM8K under paraphrase laundering, no reported result was found on Lacuna. The published figures are on WikiMIA and StackMIA and are stated as relative gains (6.2–10.5% and 4.5–5.9% respectively), so we will run both ourselves with their published hyperparameters, on the same member and non-member splits. We will count our method as beating these baselines if it holds above 75% item-level AUROC in the paraphrased-then-GRPO condition, where the likelihood detectors are near chance, and if it is not worse than they are in the verbatim condition.
The key ablation keeps the variant budget and the calibration unchanged and swaps only the distance function. The alternatives are uncontrolled random swaps, raw path length, depth-and-density weighting, sentence-embedding cosine, and $Sim_{IC}$. This isolates whether the hierarchy contributes anything beyond "perturb many times."
Why not just…?
Why not just use paraphrase disparity with more paraphrases? Its authors state that it fails when training data were themselves paraphrased. It reads perplexity and n-gram accuracy, which are the signals that GRPO flattens. Our matched-budget comparison runs exactly this alternative. If averaging many uncontrolled paraphrases performs as well as graded swaps in the laundered condition, our specific contribution is refuted.
Why not just measure distance with sentence embeddings instead of a curated taxonomy? This is the most serious threat. Embeddings cover every concept, while WordNet has gaps and multi-parent ambiguities. The distance ablation settles the question. If embedding cosine separates members as well as $Sim_{IC}$, we will report that the hierarchy is unnecessary for detection, and the remaining contribution is the drift-curve protocol itself. Our prior that $Sim_{IC}$ will win rests on the "shallow annotation" result of Bo Li et al.: generic shared ancestors inflate similarity, and embeddings plausibly have the same inflation.
Why not just test on far-away counterfactuals, as EvoEval does, or switch to live benchmarks? A two-point comparison between originals and distant rewrites already detects contamination at the level of a whole benchmark; the survey reports a 39.4% average drop from HumanEval to EvoEval. What it cannot do is flag individual items or show where the memorized neighborhood ends. Live benchmarks cannot audit the static benchmarks that models are still ranked on. Test of Time also shows that live benchmarks' temporal signal breaks under rephrasing. We will report the two-point version as a nested special case of our curve. If it matches the full curve at item level, we will say so.
Proposed Experiments
The decisive check is the controlled condition in which the model was fine-tuned on paraphrased items and then trained with clean GRPO. We will report item-level AUROC for the drift slope, the naive disparity check, LiRA, Loss, Min-K%++, and PAC. Success means the drift slope stays well above chance while the likelihood detectors fall toward the 50–58% range the Fragility paper reports. Stage II of that paper, where contamination enters through distilled reasoning traces, is the harder extension.
The second check is the distance ablation, scored by member/non-member AUROC and by how closely the contaminated model's accuracy decay tracks each distance, measured with rank correlation. The third check is a falsification test on clean reference models. Their calibrated slopes must be indistinguishable from zero on MMLU distractor swaps and GSM8K entity swaps. If they are not, the swaps are changing difficulty and the statistic is confounded.
Only after these three checks pass will we audit public open models on GSM8K, MATH, and MMLU. We will compare per-model slopes against the leakage flags reported by Benchmarking Benchmark Leakage. The most informative cases are models that paraphrase disparity calls clean but that show steep drift. For those cases, we will test agreement with influence-function attribution on an open model where training data are available, following the method of Test of Time.
References
- Test of Time: Rethinking Temporal Signal of Benchmark Contamination
- On The Fragility of Benchmark Contamination Detection in Reasoning Models
- Benchmarking Benchmark Leakage in Large Language Models
- Data Contamination Calibration for Black-box LLMs
- Benchmark Data Contamination of Large Language Models: A Survey
- Using Synonym Relations in Chinese Collocation Extraction
- Chinese-English Bilingual Word Semantic Similarity Based on Chinese WordNet
- An English-Chinese Cross-lingual Word Semantic Similarity Measure Exploring Attributes and Relations
- Effectively Integrating Information Content and Structural Relationship to Improve the GO-based Similarity Measure Between Proteins
- Finding Top-k Similar Pairs of Objects Annotated with Terms from an Ontology
- GeoBench: Rethinking Multimodal Geometric Problem-Solving via Hierarchical Evaluation
- Min-K%++: Improved Baseline for Pre-Training Data Detection from Large Language Models