Catching Cloaked Benchmark Contamination Through Model Family Ties

Open language models are rarely trained from scratch. Most are fine-tuned, merged, distilled, or further trained with reinforcement learning from a handful of base models, and they share fine-tuning datasets and synthetic data with one another. Benchmark contamination means a model saw test questions during training, so its score reflects memory instead of skill. It is inherited along these same family ties: a contaminated parent passes leaked items to its children, and a contaminated synthetic dataset passes them to every model trained on it. Today's detectors judge each model alone. Recent work shows they can be blinded. A short round of reinforcement learning on clean data, or training on leaked chain-of-thought solutions, pushes every standard detector to near chance. The model's score stays inflated anyway (On The Fragility of Benchmark Contamination Detection in Reasoning Models).

We propose to stop judging models in isolation. We treat the model ecosystem as a multilayer network: one set of nodes (models and datasets) joined by several kinds of edges, one kind per "layer" (weight inheritance, shared fine-tuning data, distillation, merging). Contamination is a hidden state that spreads along these edges with a different transmission strength on each layer. A model whose own signal has been erased can still be flagged, because its parents, siblings, and students carry signals that were not erased. The two-sentence version: reinforcement learning hides contamination from the model's own outputs, but it does not hide where the model came from. Combining weak per-model evidence with a cascade model fitted to the ecosystem graph should recover contamination that single-model detectors miss.

Core Claim

Cloaking acts on what we observe, not on what was inherited. The fragility paper shows that clipped policy-gradient training collapses the gap in log-probability between seen and unseen questions. Membership-style detectors (LiRA, plain loss) then fall from about 89% AUROC (area under the ROC curve, where 50% is chance) toward chance after one epoch of clean GRPO, a common reinforcement-learning recipe for reasoning models. Under chain-of-thought contamination, all ten detectors sit at 50–58% AUROC while scores rise 11.7% (On The Fragility of Benchmark Contamination Detection in Reasoning Models). In a model family, though, the cloaked model is usually not the only carrier. Its supervised parent, a sibling fine-tuned on the same data, or a student distilled from it before or without the RL stage often still carries a detectable signal. We claim that a network model of how contamination spreads across layers will raise detection on cloaked models well above the single-model ceiling, without white-box access to the cloaked model itself.

The multilayer view matters in a specific way, not just as "use a graph." Conjoining Speeds up Information Diffusion in Overlaying Social-Physical Networks shows that two layers that each cannot carry a cascade alone can carry one when joined. The ecosystem analogue is a model that receives a low dose of leaked items through distillation from one parent and another low dose through a shared dataset from a different lineage. Neither path alone produces measurable inflation. Together they do. A detector that looks along one kind of edge, such as weight lineage only, will miss these cases by construction. Testing whether such joint cases exist and can be recovered is the sharpest test of whether the multilayer framing earns its keep.

Model

For one benchmark, let $z_v \in \{0,1\}$ say whether node $v$ (a model or dataset) is contaminated. Let $N_\ell(v)$ be its upstream neighbours on layer $\ell$. Let $\beta_\ell$ be the probability that contamination passes along one edge of layer $\ell$, and $\pi_v$ the chance that $v$ was contaminated directly. In the style of an independent cascade:

$$P(z_v = 1 \mid z_{N(v)}) = 1 - (1-\pi_v)\prod_{\ell}\prod_{u \in N_\ell(v)} (1 - \beta_\ell z_u).$$

Each model also yields a per-node detector score $s_v$, such as a ConStat-style inflation estimate or a choice-confusion drop. Its likelihood $p(s_v \mid z_v, r_v)$ depends on a recorded post-training type $r_v$, for example "had clean RL after the last supervised stage." This lets the model learn that scores from cloaked nodes are nearly uninformative. We fit $\beta_\ell$, $\pi$, and the likelihood parameters by expectation-maximization and infer posteriors $P(z_v = 1 \mid s)$ by loopy belief propagation over the whole graph.

Separate $\beta_\ell$ per layer directly addresses a known gap in multilayer influence work. Most formulations, including Least Cost Influence Maximization Across Multiple Social Networks, assume the same diffusion dynamics on every layer. We expect distillation and weight inheritance to transmit contamination at very different rates, and this is directly measurable.

Research Program

The work has three parts.

A controlled ecosystem with planted ground truth. Starting from two or three small open bases, we build roughly 150–250 derivative models. The derivation operations are supervised fine-tuning on shared instruction datasets, weight merging, logit and chain-of-thought distillation, continued pretraining, and GRPO on clean data. We plant contamination at chosen nodes and dataset layers using test items from GSM8K, MATH, MMLU, ARC-Challenge, and MathQA, in three forms: verbatim, paraphrased, and translated. The translated form follows Data Contamination Can Cross Language Barriers, where French MathQA contamination moved LLaMA3-8B from 42.01% to over 95% while staying invisible to n-gram checks. We deliberately include "joint" nodes that receive sub-threshold doses through two layers. Because we know every $z_v$, we can score detection exactly.

Fitting and auditing. We fit the cascade model on part of the ecosystem and evaluate it on held-out nodes. We also add a budgeted audit step, borrowing from influence maximization. The question is which $k$ nodes deserve an expensive check, such as white-box membership inference or influence tracing in the style of Test of Time, so that the posterior over the rest of the ecosystem improves the most. MIM-Reasoner learns to allocate seeds across layers while avoiding redundant cross-layer activations. We reuse that budget-allocation idea for audit selection rather than for spreading influence.

Application to a real hub. We apply the fitted model to declared lineage on public model hubs, where edges come from model cards and configuration files. There is no full ground truth here. We treat this part as a demonstration and calibration exercise, anchored on cases ConStat has already flagged (ConStat), not as the main evidence.

Relation to Prior Work

The contamination literature supplies both the problem and the per-node signals. The survey Benchmark Data Contamination of Large Language Models: A Survey catalogues detection methods that all score one model against one benchmark. Benchmarking Benchmark Leakage in Large Language Models found leakage in about half of 31 open models on GSM8K and MATH. Together these motivate the work: contamination is widespread, so many derivative models will inherit it. ConStat, Data Contamination Quiz, and choice confusion supply the per-node observations we propagate, and we do not try to replace them. The fragility paper motivates the core claim and also constrains it: we assume nothing useful can be read from a cloaked model's own probabilities. Test of Time constrains the design in a second way. Influence-function hit rates fall from 77.5% to 17.5% on transformed questions, and temporal-decay signals vanish under rephrasing, so neither can serve as the main signal.

On the network side, Model Lineage Closeness Analysis identifies parent–child relations among vision classifiers with 97% accuracy, falling to 64% under distillation. It recovers edges but says nothing about contamination, and its distillation weakness tells us inferred edges will be noisy. We therefore test robustness to missing and spurious edges. Information Diffusion of Topic Propagation in Social Media supplies the methodological precedent of estimating hidden states over coupled layers from partial observation. Observing 25% of hub nodes there substantially tightened error bounds, which is the intuition behind our audit-selection step. We use a discrete cascade instead of their continuous supra-Laplacian filter because contamination is closer to an on/off inheritance than a smooth topic intensity.

Baselines

The naive reference point is a per-node detector run alone on every model, with no graph. We run LiRA, loss-based membership inference, and ConStat on each model with the same query budget the full method uses. The fragility paper reports LiRA at 89.1% AUROC before RL, dropping by about 14% after one epoch of GRPO, and all ten detectors at 50–58% AUROC under chain-of-thought contamination. The strongest existing black-box method is ConStat, which reports detecting 89% of syntax-contaminated and 98% of sample-contaminated models (ConStat). No reported result was found on Lacuna for ConStat on RL-cloaked or chain-of-thought-contaminated reasoning models. We will measure it on our cloaked nodes using its own 20-reference-model protocol. That makes ConStat both the strongest competitor and the source of our node evidence, so any gain must come from the graph. Beating it means a statistically clear improvement in AUROC on held-out cloaked nodes, with no loss on uncloaked nodes and the same per-model queries.

The second baseline is a metadata audit. It follows declared training datasets from model cards and runs n-gram and MinHash overlap between those datasets and the benchmark, giving each model the maximum overlap among its ancestors. This is cheap, uses the same graph, and is a serious competitor whenever data is declared and verbatim. Beating it requires wins on paraphrased, translated, and synthetic-distillation contamination, plus at least parity on verbatim cases.

Three ablations isolate our ingredients. The first is single-layer propagation over weight inheritance only. The second keeps all layers but forces one shared transmission rate. The third removes the post-training-type term from the likelihood. Finally, a learned graph neural network takes node scores and multi-relational edges and is trained on the same labelled nodes with a matched tuning budget. This tests whether the explicit cascade model adds anything beyond flexible graph learning.

Why not just…?

Why not just improve the single-model detector? The fragility paper's result is not a tuning failure. Clipped policy updates remove the very likelihood gap that membership-style detectors read, so the information is absent from the cloaked model's outputs. Behavioral probes like choice confusion may survive better. We include them as node evidence and report them standalone. If one of them already exceeds about 85% AUROC on our cloaked nodes, the graph's marginal value shrinks, and we will report that plainly.

Why not just read the model cards and check the declared datasets? This is the most serious threat. Where lineage is fully declared and contamination is verbatim, it may match us at a fraction of the cost. It fails in three situations. Datasets may be undeclared or synthetic. Leakage may be paraphrased or translated, which n-gram checks miss by construction (Data Contamination Can Cross Language Barriers). And contamination may arrive through distillation, which leaves no dataset to inspect. Our planted ecosystem varies the fraction of declared edges and the contamination form, so the experiment shows exactly where the metadata audit stops being enough.

Why not just propagate along weight lineage, or use a generic graph neural network? Weight-lineage-only propagation cannot see contamination that arrives through shared data or distillation from a different family. The joint-dose nodes are designed to expose this gap. A graph neural network could in principle learn the same structure. With a few hundred labelled nodes, though, we expect the explicit cascade model, with a handful of interpretable per-layer rates, to be better calibrated and to transfer to a real hub where labels are absent. If the neural network matches it on held-out ecosystems built from a different base model, we will prefer the simpler story it tells.

Proposed Experiments

The decisive check is AUROC on held-out nodes whose last stage was clean GRPO or chain-of-thought distillation, compared against ConStat and LiRA run alone. These are exactly the conditions where reported single-model detection is 50–58%. A second check targets the joint-dose nodes. If the multilayer model recovers them while every single-layer ablation and the metadata audit do not, that supports the conjoining claim. If no such nodes show measurable inflation in the first place, the multilayer framing reduces to a convenience, and we will say so.

A calibration control places contamination at random, independent of graph structure. Here the method should fall back to node-level performance and not invent spread. We also stress-test robustness by deleting or adding 10–40% of edges, to mimic lineage that is missing or wrongly inferred, given the 64% distillation accuracy in Model Lineage Closeness Analysis. For the audit step, we compare posterior error after $k$ audits chosen by our allocation, by node degree, and at random.

Benchmarks are GSM8K, MATH, MMLU, ARC-Challenge, and translated MathQA, with AIME and GPQA Diamond for the reasoning-model branch. Metrics are AUROC, calibration error of the posteriors, and the error of the estimated inflation magnitude against planted ground truth.