When a test question leaks onto the web, it rarely appears only once. It gets mirrored on GitHub, copied onto test-prep sites with small edits, translated, and discussed on forums. Current detectors for this "benchmark contamination" (evaluation data ending up in a model's training corpus) mostly compare one test item against one web passage at a time. Exact word matching misses rewrites. Rewrites are caught only by a costly pairwise GPT-4 judge. This proposal treats the web copies of a question as a group of documents and borrows a lesson from multi-document summarization: facts that many independent sources repeat can be separated statistically from one-off details. We then invert that lesson. For ordinary content, cross-source agreement marks common knowledge. For a benchmark item, the telling event is agreement across independent sites on the item's idiosyncrasies: its exact numbers, its particular set of wrong answer options, its odd phrasing. Common facts recur on the web for innocent reasons. A specific distractor set recurring on five unrelated domains does not.
The auditor works on the corpus, not on a model. It decomposes each benchmark item into small factual statements, weights each statement by how rare it is on the background web, and builds a graph over retrieved web passages. In that graph, links between different websites count more than links within one site. Contamination evidence then spreads outward from the test item, so a heavily reworded or translated copy can be reached through a chain of intermediate, partially edited copies even when it looks nothing like the original. The same graph yields a per-item count of independent exposures. We test whether that count predicts how much a model's score on that item is inflated.
Core Claim
We make two claims. First, combining rarity weighting with cross-site propagation finds rephrased and translated leaks that pairwise similarity misses, especially copies far from the original in embedding space, and does so without a proprietary judge. Second, the number of distinct, reworded copies on independent sites predicts per-item accuracy inflation better than the raw copy count. This bears on an unexamined tension in the literature. Using only cross-document relationships for both generic and topic-focused multi-document summarizations found that discarding within-document links entirely gave its best ROUGE-1 of 0.38668 on DUC 2002. Proving Test Set Contamination in Black-Box Language Models found that memorized within-file ordering is the most sensitive contamination signal, detectable after only 2 to 4 exposures. We hypothesize that the two signals measure different things. Same-string repetition produces rote sequence memory, which the ordering test catches. Diverse cross-site rewrites produce semantic memorization, which it cannot catch, because rewriting and scattering the items destroys the canonical ordering.
Positioning Against Prior Work
The motivating evidence comes from three papers that show the lexical gap is where contamination now hides. Rethinking Benchmark and Contamination for Language Models with Rephrased Samples fine-tuned LLaMA-2-13B on rephrased MMLU test items and raised its score from about 55 to about 86 without triggering n-gram matching. It also found 8–18% of HumanEval hidden in StarCoder and RedPajama. Its fix, the LLM Decontaminator, uses dense retrieval followed by a GPT-4 judgment on each candidate pair. Data Contamination Can Cross Language Barriers showed that training on translated benchmarks inflates English MMLU by 5–10% and moves MathQA from 42.01% to over 95% on LLaMA3-8B. Its Choice Confusion test works only on multiple-choice formats. CAP and Data Contamination Calibration for Black-box LLMs detect contamination from model behavior under artificial perturbations.
All of these treat each item or each item-passage pair in isolation. None uses the fact that leaks recur across independent sites. Our proposal differs from the Decontaminator specifically in replacing pairwise judgment with group-level evidence. It differs from CAP, PAC and the ordering test by auditing the corpus rather than the model.
The methods come from multi-document summarization and lexical-gap retrieval. Improved Affinity Graph Based Multi-Document Summarization made two moves we reuse. It weighted cross-document links above within-document links, so that one verbose author cannot "vote for itself." It also used multi-step diffusion to connect sentences that share no surface words. Its own ablation contains a constraining detail: diffusion added only +0.00043 ROUGE-1. We therefore do not assume chains help; we measure it.
Proposition-Level Clustering for Multi-Document Summarization supplies the unit of comparison. It extracts propositions, meaning short predicate-argument statements obtained with open information extraction, and clusters them with a paraphrase model, so that recurring facts can be tracked across wording. It was built for news summaries. Its known weakness, dropping negations and numerical bounds, is dangerous here, since numbers are exactly the idiosyncrasies we rely on. We therefore extract numbers and answer-option sets separately rather than trusting the extractor. Bridging Knowledge Gaps in Neural Entailment via Symbolic Models supports combining exact-token matching with neural matching. On SciTail, removing its symbolic matcher cost 3.2% accuracy.
For finding candidate pages at all, we adapt two retrieval methods, running them upstream on the corpus. The first is multi-view expansion in the spirit of Synergistic Interplay between Search and Large Language Models for Information Retrieval, which reports MAP 50.0 against BM25's 30.1 on TREC DL'19. The second is RaFe-style rewriting trained with reranker feedback. In both cases each benchmark item is turned into several search queries: its paraphrases, its translations, and its answer-plus-distractor signature.
Research Program
For each benchmark item $q$, we extract propositions, numeric constants, and the answer/distractor signature. Each unit $u$ receives an idiosyncrasy weight $w(u) = -\log \hat p(u)$. Here $\hat p(u)$ is the fraction of independent web domains in a held-out background sample of FineWeb that express a paraphrase of $u$, with that sample decontaminated by exact match. The expected effect of this weighting is that "water boils at 100°C" earns almost nothing, while "a train leaves at 3:47 carrying 238 passengers" earns a great deal.
Candidate passages come from the multi-query retrieval above. We build a graph whose nodes are $q$ and the candidates. An edge between two passages carries the rarity-weighted mass of the units they share, measured with a multilingual paraphrase encoder plus exact-number matching. The edge is multiplied by $\lambda < 1$ when both passages come from the same registered domain. Contamination evidence for passage $d$ is the personalized-PageRank mass reaching $d$ from $q$:
$$s(d) = \Big[(1-\alpha)\,(I - \alpha W)^{-1} e_q\Big]_d$$
Here $W$ is the column-normalized weighted edge matrix, $e_q$ is the indicator vector of the test item, and $\alpha$ controls how far evidence travels. The item's independent-exposure count is the number of distinct domains among passages with $s(d)$ above a threshold. A further quantity, the lexical diversity of those passages, is the average embedding distance among them.
Baselines
The naive reference is 13-gram overlap against the item, the kind of matching that corpus pipelines such as FineWeb's apply. It shows how much of each rewrite type is invisible to current practice.
The strongest existing method is the LLM Decontaminator of Rethinking Benchmark and Contamination for Language Models with Rephrased Samples, which reports F1 of 0.94–1.0 on HumanEval. That figure is pairwise judgment on candidate pairs already retrieved. There is no reported result on Lacuna for recall on a web-scale corpus with planted multi-site leaks, so its end-to-end recall is an open question we measure. We run it with the same candidate pool as our method and the same top-$k$ from the same embedding model. We run it once with a frontier judge and once with an open judge of matched cost. That isolates whether any gap comes from the graph or from retrieval. We beat it if we match its precision while recovering significantly more leaks in the bins far from the original in embedding space, at a small fraction of its judge calls.
The second strong competitor is embedding nearest-neighbour thresholding followed by an open cross-encoder or small judge. This is the cheap version of the same pipeline, and we tune its threshold on the same development split as ours.
Three ablations isolate the key ingredients: uniform unit weights instead of rarity weights; $\lambda = 1$, removing the same-site discount; and $\alpha \to 0$, which reduces the graph to direct item-to-passage similarity. If the $\alpha \to 0$ version matches the full method, the graph is unnecessary.
Model-side detectors are compared only in the inflation study, since they answer a different question. These are the sharded ordering test of Proving Test Set Contamination in Black-Box Language Models, Choice Confusion from Data Contamination Can Cross Language Barriers, and CAP.
Why not just…?
Why not just use n-gram deduplication? Both Rethinking Benchmark and Contamination for Language Models with Rephrased Samples and Data Contamination Can Cross Language Barriers report large score inflation that n-gram checks never flag. We still include it, to measure how much of the planted and naturally occurring leakage is verbatim. If real web leaks turn out to be overwhelmingly verbatim, the case for this work weakens, and we will say so.
Why not just take embedding nearest neighbours and verify with a small judge? This is the real threat. It is cheap, and if most rewrites stay close to the original in embedding space it will do as well as we do. Our answer is empirical. We stratify recall by the embedding distance of each leaked copy from the original, and by whether that copy has a partially edited intermediate on another site. The claim holds only if the graph wins in the far, chain-connected bins without losing precision on topical near-misses. The rarity weights are meant to reject those near-misses, and the uniform-weight ablation tests whether they do.
Why not just ask GPT-4 about every candidate pair? Cost is part of the answer: RaFe measured LLM feedback at 78 hours for 30,000 instances against 0.67 hours with a reranker. Circularity is the other part. The same paper that proposes the Decontaminator found 12.8% of CodeAlpaca to be rephrased HumanEval generated by a teacher LLM, so a possibly contaminated judge ruling on its own benchmark's leaks is uncomfortable. We report the judge's accuracy and cost side by side with ours rather than dismissing it.
Why not just test the model directly, with the ordering test, CAP or Choice Confusion? These tell you whether a model is contaminated, not which documents to remove before training. They also need model access. And the ordering test depends on canonical order, which scattered rewrites erase. We treat them as complements and test the prediction that they fire on verbatim exposure but miss diverse-rewrite exposure that our corpus count captures.
Proposed Experiments
Planted-leak detection. We take a multi-billion-token FineWeb sample and plant items from MMLU, GSM8K and HumanEval. The planted variants are verbatim, lightly edited, fully rephrased with an LLM, translated into French, German, Chinese and Japanese (following Yao et al.), and embedded in forum-style discussion. Each item appears on between 1 and 20 synthetic domains, and some are planted as chains of successive edits. Hard negatives are MMLU development items and web passages about the same fact that do not reproduce the item. Metrics are precision, recall and F1 per variant type and per embedding-distance bin, plus judge calls and GPU-hours.
Exposure and inflation. We continue pretraining a 1.4B model, the scale Shi et al. used, on corpora in which planted items vary independently in copy count, number of distinct domains, and lexical diversity. We then measure per-item accuracy gain over a clean control and fit the gain against each exposure statistic. The decisive check is whether diversity-weighted independent-domain count explains significantly more variance in per-item gain than raw copy count. A second check is whether the ordering test's p-value tracks verbatim copies but not diverse rewrites. If raw count explains the gain equally well, the second claim fails, and the auditor reduces to a better leak finder.
Real audit. We run the auditor on an untouched FineWeb shard for all three benchmarks. Humans annotate a stratified sample of flagged and unflagged high-similarity passages to estimate real precision and recall. We also report how often real leaks form multi-site chains. That statistic decides whether cross-site propagation matters outside our synthetic setting.
References
- Using only cross-document relationships for both generic and topic-focused multi-document summarizations
- Proving Test Set Contamination in Black-Box Language Models
- Rethinking Benchmark and Contamination for Language Models with Rephrased Samples
- Data Contamination Can Cross Language Barriers
- CAP: Data Contamination Detection via Consistency Amplification
- Data Contamination Calibration for Black-box LLMs
- Improved Affinity Graph Based Multi-Document Summarization
- Proposition-Level Clustering for Multi-Document Summarization
- Bridging Knowledge Gaps in Neural Entailment via Symbolic Models
- Synergistic Interplay between Search and Large Language Models for Information Retrieval
- RaFe: Ranking Feedback Improves Query Rewriting for RAG