Auditing Benchmark Contamination Where Computation Fails

When a language model scores well on a public test, we usually cannot tell whether it worked the answer out or remembered it from training data that happened to include the test. That problem is called benchmark contamination. Current detectors look for signs of memory, such as unusually confident or unusually rigid outputs. Their difficulty is statistical: on test items a model can also solve honestly, a memorized answer looks almost the same as a computed one. This proposal flips the question. Rather than searching for a subtler signature of memory, we choose where to look. We send audit probes to the places where honest computation is known to fail, because the only way to score well there is to have seen the answer.

Two bodies of work mark out those places. Computational-hardness studies show that language models fall to near-floor accuracy at sharp, predictable boundaries, such as the 3-SAT phase transition. Computability theory shows that some problem families admit no algorithm that is correct in general, not even a trivial bounding one. The two directions play different roles here. Hardness and computability limits supply the mechanism. Contamination auditing is the application. The main practical constraint is tool use, which can lift a clean model off the floor.

Core Claim

Contamination audits gain statistical power when their probes are placed at the "native-computation floor", meaning the region where an uncontaminated system, possibly with tools, answers correctly almost never. Chance-level answers do not qualify as a floor; the floor must sit close to zero. At the floor, the gap between clean and contaminated behaviour is widest, so an auditor needs far fewer black-box queries to reach a given detection power.

The claim can be checked against an existing theory of audit detectability. When Is Benchmark Contamination Detectable? models audit outputs as a mixture $Q_\alpha=(1-\alpha)P_0+\alpha P_1$. Here $P_0$ is clean behaviour, $P_1$ is behaviour on seen items, $\alpha$ is the contaminated fraction, and $m$ is the number of probes. That paper shows detectability is governed by $\alpha\rho\sqrt{m}$, where $\rho$ is a chi-square separability between the clean and seen distributions. For a correct/incorrect statistic with clean accuracy $p_0$ and memorized accuracy $p_1$, the separability is

$$\rho=\frac{(p_1-p_0)^2}{p_0(1-p_0)}.$$

This quantity grows sharply as $p_0$ falls toward zero. With $p_1=0.9$, $\rho$ is about 0.64 at $p_0=0.5$ and about 7.1 at $p_0=0.1$. The required probe count falls correspondingly, since it scales as $(\alpha\rho)^{-2}$ under that paper's law.

That paper treats $\rho$ as a fixed property of a task family. Our claim is that $\rho$ can be engineered by selecting probes according to computational hardness. The contrast is sharpest on answer-only and paraphrased leakage, which are the regimes where that paper found the signal weakest.

Research Program

The first strand uses hardness boundaries that are already measured. Can Large Language Models Reason? A Characterization via 3-SAT generates satisfiability formulas indexed by $\alpha_c$, the ratio of constraints to variables. (We write the ratio as $\alpha_c$ to keep it distinct from the contamination fraction $\alpha$.) That paper shows that models exploit shortcuts far from the hard region and collapse to roughly 10% on search at $\alpha_c\approx 4.27$. This is our motivating evidence: search at the transition gives a natural, answer-verifiable floor with near-zero chance accuracy, because the answer is a satisfying assignment rather than a yes/no label.

We build a floor-weighted audit. For each candidate test item, we estimate its clean accuracy $\hat p_0$. For synthetic items, we get this from the item's hardness parameter. For natural benchmarks, we get it from reference models trained before the benchmark existed, together with regenerated twin items. We then weight each item's audit statistic by its estimated separability. The same idea yields a design rule for benchmark builders: include a floor-stratum of items whose leakage would be conspicuous.

The second strand confronts tool use. A tool can compute the answer at a hard region: SAT-Translate restores near-100% accuracy in the 3-SAT study. Once a tool closes the gap, the floor disappears for tool-augmented API models, and so does the audit's power. This is where the computability direction serves as the method-supplying lens.

On the Arithmetic Complexity of the Bandwidth of Bandlimited Signals proves two relevant facts about continuous bandlimited signals. First, computing a signal's bandwidth (the highest frequency it contains) is equivalent to the Totality Problem, which asks whether a program halts on every input. Second, any algorithm that is always correct for this class must return trivial bounds. On the Need of Neuromorphic Twins shows a similar barrier for deciding whether a jammed channel is vulnerable. Both results say that no digital tool succeeds uniformly on these families.

We build a small instance generator on this basis. The generator uses a Böck-style reduction and embeds programs whose totality it knows by construction. From these it produces symbolic signal descriptions whose bandwidth is a planted rational number. Uniform undecidability does not make individual instances hard: a finite instance's answer is always computable by someone who knows the construction. So this arm must survive an explicit cracking attempt, described below. We treat it as exploratory. If it fails, the fallback floor is cryptographic-style hardness, namely the hard discrete-logarithm tier of P⁴Bench.

This strand does not attempt what P⁴Bench leaves open. P⁴Bench cannot prove that the model itself produced an answer. We do not try to prove that either. Instead, we aim to make outsourcing useless for a clean system, which is enough to keep the audit's floor intact.

Baselines

The naive reference point is a uniform-probe audit. It uses the same black-box correctness statistic and the same probe budget, but draws probes uniformly across hardness levels, as dynamic generators like DyVal and BeyondBench naturally do. This is also the ablation that isolates our key ingredient: everything is held fixed except probe placement. Beating it means reaching 0.80 detection power with at least half as many probes at matched false-positive rate.

The strongest existing baseline is the power-calibrated audit of Shihab et al.. It is the only method in the file that plans sample size against a detectability law. That paper reports that its two-stage planner delivered 0.785–0.92 power when targeting 0.80, and that predicted versus observed power reached $R^2$ up to 0.98. We run their planner on the same contaminated models and query budget, feeding it the uniform-probe statistic. Our method gets the identical planner plus floor weighting. It wins if it reaches target power at contamination fractions where their planner, given the same budget, falls below 0.80. The answer-only and paraphrase regimes are the primary test.

We also compare against two output-distribution detectors that are black-box compatible. The first is CDD from Generalization or Memorization, which reports 21.8% to 30.2% relative improvement in accuracy and AUC over prior baselines on DETCON. The second is consistency amplification from CAP; no reported power-versus-sample-size result was found on Lacuna for CAP. Both receive the same sampling budget, measured in model calls, and both are tuned on the same held-out calibration split.

A second ablation checks that the effect comes from low clean accuracy rather than from structural complexity. It uses probes matched on formula size and prompt length but moved off the transition.

Why not just…?

Why not just perturb or paraphrase items and look for inconsistency? Methods like CAP and the probing agents of Meta Probing Agents are cheap and black-box. However, Shihab et al. show that paraphrase and surface-level exposure shrink separability, which is exactly the regime where perturbation audits lose power. DyVal also shows that a simple reordering of the problem description drops GPT-4 by 13.6% on reachability. That drop means perturbation effects mix parsing sensitivity with memory. Floor placement is complementary rather than competing. We run CAP on floor probes and on uniform probes to test whether the gains stack.

Why not just give the model a solver and stop caring about native reasoning? Tool use is a real threat to this proposal. The 3-SAT study and BeyondBench, where disabling tools dropped GPT-5 by as much as 43%, both show tools lifting clean systems off hardness floors. That is why the second strand exists. Our cracking experiment directly measures whether a tool-augmented clean agent stays near the floor on the planted-bandwidth and hard-discrete-log families. If it does not, we report that the floor-weighted audit applies only to tool-free evaluation.

Why not just inspect model internals? RADAR separates recall from reasoning at 93.0% accuracy on 100 examples. It requires white-box access, however, and drops to 76.7% on ambiguous cases. Our audit needs only output strings, so it applies to commercial APIs.

Why not just keep the test set private? P⁴Bench argues that private sets demand blind trust in whoever organizes them, and that they leak through public endpoints over time. A floor-stratum is a publishable design rule that raises the cost of leakage even for public benchmarks.

Proposed Experiments and Decisive Checks

The controlled study follows Shihab et al.'s injection design on Pythia and GPT-Neo models. We continue pretraining these models on mixtures containing 3-SAT search items with their assignments, drawn from the 3-SAT generator at $\alpha_c$ from 1 to 11. Contamination fractions are swept downward from verbatim-heavy to sparse. All four exposure types are covered: verbatim, paraphrase (the natural-language SAT-Menu phrasing), surface perturbation, and answer-only. We measure detection power as a function of probe count $m$ for each audit. We also check whether the measured $\rho$ per hardness stratum matches the Bernoulli prediction above.

The first decisive check tests the hardness curve. Floor-stratum probes should cut the probe count needed for 0.80 power by at least a factor of two relative to uniform probes. The effect should peak at the transition and vanish at matched-size probes away from it. A null here falsifies the core claim.

The second check transfers the method to natural benchmarks. We apply floor weighting to the HumanEval and HumanEval_R audit setting of Generalization or Memorization, and to the DETCON tasks, with $\hat p_0$ estimated from pre-release reference models. The test is whether floor weighting raises AUC over unweighted CDD.

The third check is the cracking test for the undecidability-derived family. A tool-equipped agent with code execution and a fixed compute budget attacks 500 planted-bandwidth instances. We compare its accuracy with a contaminated model's accuracy on the same instances. The arm survives only if the clean agent stays within a few points of zero while the contaminated model does not.