NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Compressed Answers: Detecting Cloaked Benchmark Contamination by How Few Bits a Model Needs to Know the Answer

When a language model has seen a test question during training, it often "knows" the answer before it does any reasoning. The answer is already sitting in its internal state at the end of the question. For a question it has never seen, the answer has to be computed step by step. We propose to measure this directly, borrowing a tool from information bottleneck theory. The information bottleneck is a way of asking how little information about an input a representation can keep while still predicting a target. For each benchmark item, we ask how heavily the model's internal state at the last question token can be squeezed, by adding noise, before the model can no longer produce the correct final answer without writing out any reasoning. Memorized items should survive heavy compression. Genuinely solved items should not.

This matters because the usual contamination detectors have stopped working on reasoning models. Those detectors compare how likely the model finds seen versus unseen text. A recent study found that ordinary reinforcement learning after contamination hides that likelihood gap while keeping the inflated scores. Its detection accuracy fell to near chance even though benchmark performance stayed inflated (On The Fragility of Benchmark Contamination Detection in Reasoning Models). Our signal reads the model's internal state before any output token is generated. The clipping mechanism blamed for that cloaking acts on output token probabilities, so there is reason to hope our signal survives it. Whether it actually does is the main question this proposal tests.

Core Claim

Contamination shows up as an information-bottleneck anomaly at the position where the question ends. On a leaked item, the representation there carries enough information to predict the final answer (high $I(Z;Y)$) through a very narrow channel (low required $I(X;Z)$). On a clean item of matched difficulty, predicting the answer from that same position needs far more capacity or is impossible without generated reasoning. We claim that a per-item score built on this idea, which we call the answer-compression score, will separate seen from unseen items in models where likelihood-based detectors have collapsed. We specifically mean models that received contaminated fine-tuning on chain-of-thought (step-by-step reasoning) data followed by clean policy-gradient reinforcement learning of the GRPO type.

This connects two findings in the file. The first comes from A Narrowing Geometry in Contaminated Reasoning. That paper shows that contaminated models route leaked items through a few dominant low-rank "memorization directions" in their feed-forward layers. It detects this with an eigenspectrum concentration index and removes it with an inference-time projection it calls Top-Subspace Suppression. A low-rank route that carries the answer is exactly what our score should see as a cheap, noise-robust answer channel. The second finding, from Breaking Memorization Barriers in LLM Code Fine-Tuning via Information Bottleneck for Improved Generalization, is that a trained bottleneck layer shrinks the representation gap between memorized and non-memorized examples. That paper uses the bottleneck as a training-time cure. We use it as a measurement on a frozen model. We never add a loss or change weights, and we target detection after reinforcement learning, which neither paper evaluates.

Research Program

The measurement works as follows. Take a frozen model $M$ and a benchmark question $x$ whose reference answer is $y$. Let $h_\ell(x)$ be the residual-stream state (the running hidden vector each layer adds to) at layer $\ell$ and at the last question token. We replace it with $h_\ell(x) + \sigma \epsilon$, where $\epsilon$ is standard Gaussian noise scaled per dimension by the activation spread of layer $\ell$ over a calibration set. We then append a fixed direct-answer suffix such as "Final answer:" and compute the teacher-forced log-probability of $y$, with no reasoning allowed. Treating the perturbation as a Gaussian channel gives an information budget $R(\sigma) = \tfrac{d}{2}\log(1 + 1/\sigma^2)$ bits, where $d$ is the hidden width. This is the standard capacity of a Gaussian channel at that signal-to-noise ratio. The per-item score is the area under the answer-margin curve as the budget shrinks:

$$S_\ell(x) = \int \big[\log p_M(y \mid \tilde h_\ell^{\sigma}(x)) - \max_{y' \neq y}\log p_M(y' \mid \tilde h_\ell^{\sigma}(x))\big]_+ \, d\log\sigma,$$

Here $\tilde h_\ell^{\sigma}$ is the noised state. The bracket is the margin between the correct answer and the strongest wrong candidate, clipped at zero. The candidate set is the answer options for multiple-choice benchmarks and model-sampled alternatives for free-form answers. A memorized item keeps a positive margin out to large $\sigma$, so it has high $S$. A clean item has little margin even at $\sigma = 0$, because the answer is not yet computed. We record $S_\ell$ at every layer. This lets us ask where contamination lives, which is the layer-placement question the research file leaves open.

We add a learned variant only if the fixed-noise version is too blunt. In that variant, a small variational bottleneck (a learned noisy encoder) is trained on clean calibration items to find the noise directions that least damage answer prediction. This is closer to the variational bottleneck used by IB-FT, but applied as a probe on a frozen model rather than as a training loss.

Difficulty is the main confound, since easy clean items are also answerable without reasoning. We handle it by design. Following the controlled-injection protocol, we randomly split each benchmark into seen and unseen halves, so difficulty is matched in expectation. We also report the score conditioned on the uncontaminated base model's own no-reasoning accuracy.

The program then asks three things. First, does $S$ separate seen from unseen items across the contamination pipeline where likelihood detectors fail? Second, does the separation decay with the leakage type in the order that When Is Benchmark Contamination Detectable? Information Limits and Power-Calibrated Audits found for behavioral signals, namely verbatim, then paraphrase, then surface shuffling, then answer-only? Answer-only leakage is an interesting case. It might be the one regime where our score beats that ordering, because it measures exactly the answer being present without its derivation. Third, does $S$ agree with the eigenspectrum concentration signature, and does projecting out the top memorization subspace with Top-Subspace Suppression lower $S$ on leaked items? A drop would tie the bits-level and geometric accounts together causally.

Baselines

The naive reference point is random guessing, 50% AUROC. It is also the standard itself, because the fragility study reports reference-free detectors at about that level after one epoch of clean GRPO.

The strongest likelihood-based competitor is LiRA, a membership-inference attack that calibrates an item's loss against reference models. The fragility study reports 89.1% AUROC for LiRA before reinforcement learning, a drop of about 14 points after one clean GRPO epoch, and 50–58% AUROC averaged over ten methods in its second stage on DeepSeek-R1-Distill-Llama-8B (On The Fragility of Benchmark Contamination Detection in Reasoning Models). We rerun LiRA with the same reference-model budget on exactly our checkpoints and splits, rather than copying numbers across setups.

The strongest reference-free detector is Min-K%++. It scores the lowest-probability tokens after normalizing each token's log-probability against the mean and spread of the vocabulary distribution. It reports AUROC gains of 6.2 to 10.5 points over Min-K% on WikiMIA (Min-K%++: Improved Baseline for Pre-Training Data Detection from Large Language Models). The file gives no absolute Min-K%++ number on the reasoning-model benchmarks, so we will measure it ourselves.

The strongest geometric competitor is the eigenspectrum concentration index from A Narrowing Geometry in Contaminated Reasoning. It is computed on the same feed-forward projections that paper uses. The file gives no reported result on Lacuna for that index as a detector under reinforcement learning, which is precisely the gap. It is the most dangerous baseline, because it reads internal state just as we do.

Two ablations isolate the key ingredient. The first is the zero-noise margin, which is our score at $\sigma = 0$ only. It tells us whether the compression sweep adds anything beyond "is the answer already present." The second applies the same sweep to a random control position, such as a mid-question token, and asks whether the signal really sits at the question boundary.

All methods get identical checkpoints, item splits, and a matched hyperparameter search on a held-out calibration split. That search covers layer choice for the internal methods, $k$ for Min-K%++, and the reference count for LiRA. Beating the baselines means at least 10 AUROC points above the best competitor in the post-GRPO and post-distillation settings. It also means reaching a target audit power of 0.80 with fewer items under the power-calibrated planner.

Why not just…?

Why not just ask the model to answer without reasoning and compare seen versus unseen accuracy? This is the real threat. Our zero-noise ablation is close to it, and on verbatim leakage the two may tie. We expect the compression sweep to matter in two cases. One is when both seen and unseen items are sometimes answered directly, and the margin under noise separates memorized answers from lucky or easy ones. The other is on reasoning models trained to always reason, whose direct-answer behavior is unreliable. We run this behavioral test as a baseline. If it matches our score within noise across all four leakage types, we will report that the bottleneck adds nothing and fall back to the behavioral test.

Why not just use the eigenspectrum concentration index from the narrowing-geometry work? That index measures whether computation is funneled through few directions, but not whether those directions carry the answer. Chain-of-thought fine-tuning also concentrates computation on unseen items, since the fragility study found it raises confidence on items the model never saw. We therefore expect concentration alone to produce false positives there, while an answer-specific score should not. Running both on the same second-stage checkpoints settles this directly.

Why not just use a better likelihood detector such as Min-K%++ or LiRA? Their failure after reinforcement learning is documented rather than assumed: reference-free methods fall to about 50% AUROC after one clean GRPO epoch. The reason is that clipping narrows exactly the output log-probability gap they rely on. We still run both, since a new result could contradict that finding.

Why not just switch to live or zero-knowledge benchmarks? LiveBench and P⁴Bench prevent future leakage. They cannot tell anyone whether an existing model's reported score on an existing static benchmark is inflated, and that is the audit question here.

Proposed Experiments

The first experiment reproduces the fragility study's Stage I pipeline on AIME, AMC, GPQA Diamond, OlympiadBench and Minerva Math. That pipeline is contaminated fine-tuning on a random half of items, then clean GRPO. We compute all scores at the checkpoint before reinforcement learning and after one and several GRPO epochs. The decisive check is whether our AUROC stays above 75% where LiRA and Min-K%++ fall toward chance.

The second experiment repeats this in the Stage II setting, contaminated fine-tuning of DeepSeek-R1-Distill-Llama-8B, where ten detectors averaged 50–58%.

The third uses GSM8K with Qwen2.5-7B and Llama3.1-8B, following the narrowing-geometry setup. Here we inject leakage in verbatim, paraphrased, shuffled and answer-only forms, and plot AUROC against leakage type next to the ordering from the information-limits paper. Within this setting we apply Top-Subspace Suppression and test whether it lowers our score on leaked items but not clean ones. A layer-by-layer profile of $S_\ell$ answers where the answer-carrying channel forms.

The fourth reuses the controlled SQuAD-into-Pile injections from the information-limits study as a non-reasoning sanity check. There likelihood detectors still work, and our score should at least agree with them.

The proposal fails cleanly in two ways. GRPO could erase the answer-compression gap as thoroughly as it erases the likelihood gap, which would show that cloaking reaches internal state. Alternatively, the plain direct-answer test could match our score everywhere. Either outcome is informative and would be reported as the finding.