On The Fragility of Benchmark Contamination Detection in Reasoning Models

Han Wang, Haoyu Li, Brian Ko, Huan Zhang

TL;DR This paper reveals a critical vulnerability in how we evaluate Large Reasoning Models (LRMs): benchmark contamination is alarmingly easy to hide. The authors demonstrate that standard Reinforcement Learning (RL) steps can mathematically mask prior data contamination, and directly contaminating advanced LRMs with Chain-of-Thought (CoT) data leaves almost no detectable trace, rendering current state-of-the-art detection methods useless.

The Problem: Cheating on the Leaderboard

As Large Language Models (LLMs) evolve into Large Reasoning Models (LRMs) like OpenAI's o1 or DeepSeek-R1, leaderboards have become highly competitive arenas. A shortcut to the top is "benchmark contamination"—accidentally or deliberately including evaluation test sets in the model's training data to inflate performance.

To combat this, researchers have developed various contamination detection methods. These methods generally assume that contamination looks like rote memorization: a model will show noticeably lower loss (higher confidence) on data it saw during training compared to unseen data. However, LRMs undergo complex, multi-stage training pipelines (Supervised Fine-Tuning followed by RL) and rely on long Chain-of-Thought (CoT) reasoning. This paper asks a pressing question: Do existing memorization-based contamination detectors actually work on modern reasoning models?

Contamination Scenarios and Methods

The authors simulate two realistic contamination scenarios and evaluate 10 representative detection methods (including Min-K%, LiRA, Loss, and Verbatim) to see if they can distinguish between "members" (seen benchmark questions) and "non-members" (unseen questions).

Overview of Stage I and Stage II contamination pipelines
  • Stage I (Pre-LRM): A base model (e.g., Qwen2.5-7B-Instruct) is contaminated during Supervised Fine-Tuning (SFT), followed by a clean Reinforcement Learning (RL) phase using Group Relative Policy Optimization (GRPO).
  • Stage II (Post-LRM): An already advanced LRM (e.g., DeepSeek-R1-Distill) is contaminated in a final SFT stage using CoT benchmark data.

The authors combine empirical benchmarking with theoretical analysis, mathematically decomposing the loss functions of RL algorithms to understand how they affect the statistical signals used by detectors. They test across rigorous benchmarks including AIME, AMC, GPQA Diamond, OlympiadBench, and Minerva Math.

Key Insights: How LRMs Hide Contamination

RL Acts as a Cloaking Device If a model is contaminated during SFT, current detectors can easily catch it. However, applying even a brief phase of RL (like GRPO) on clean data effectively erases the statistical evidence of that prior contamination, while preserving the inflated benchmark scores.

Density plots showing how RL collapses the log probability gap between seen and unseen data

The Math Behind the Mask The concealment isn't because the model "forgets" the cheated data. Theoretical analysis proves that PPO-style importance sampling and clipping (used in GRPO and RAFT++) are the culprits. Clipping disproportionately affects the loss variance of non-members, artificially shrinking the log-probability gap between seen and unseen data that detectors rely on. When the authors removed the clipping term from RL objectives in ablation studies, the models lost their ability to conceal contamination, perfectly validating the theoretical proofs.

Generalization Breaks Memorization-Based Detectors When advanced LRMs are contaminated with CoT data (Stage II), they don't just memorize the exact text. They internalize the underlying reasoning process. Consequently, they become highly confident on unseen but distributionally similar questions too. Because detectors look for a gap in confidence between seen and unseen data, this generalization causes them to fail completely.

Key Results

  • Stage I (Pre-LRM): SFT contamination inflates pass@1 performance by an average of 8.8%. Initially, detectors like LiRA catch this easily (89.1% AUROC). But after just one epoch of GRPO, detection drops drastically (e.g., LiRA drops by ~14%, Loss drops by ~16%), pushing many reference-free methods toward random guessing (~50% AUROC).
  • Stage II (Post-LRM): Contaminating advanced models yields massive performance inflation (e.g., an 11.7% boost for DeepSeek-R1-Distill-Llama-8B). Yet, almost all 10 detection methods perform near random guessing (averaging 50-58% AUROC).

Limitations and Future Work

This paper serves primarily as a vulnerability disclosure; it highlights that the fundamental assumption of current detectors—that training samples consistently incur lower loss than unseen samples—is fundamentally flawed for LRMs.

To restore trust in public leaderboards, the authors suggest model developers should release intermediate training checkpoints to allow the community to audit for contamination at every stage, not just the final weights. Furthermore, the research community urgently needs to develop new detection paradigms that explicitly account for the generalization and long CoT capabilities of LRMs, moving beyond simple log-probability and memorization metrics.

Summary updated

BibTeX
@inproceedings{wang2026fragility,
  author = {Han Wang and Haoyu Li and Brian Ko and Huan Zhang},
  title = {{On The Fragility of Benchmark Contamination Detection in Reasoning Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=bhR00j6Mku},
}
Figure