TL;DR
This paper audits the "partial-prompt completion" test—a common method for detecting benchmark contamination in LLMs—and finds it prone to both false positives and false negatives. The author demonstrates that short remainders lead to high false positive rates due to simple predictability, while distillation can mask actual contamination, and provides a set of rigorous recommendations for more reliable testing.
What Problem Does This Paper Address?
As LLMs achieve higher scores on reasoning benchmarks, the community has become increasingly concerned about benchmark contamination: the possibility that models have seen test questions during training. A popular "smoking gun" test is partial-prompt completion, where a model is given the first $X\%$ of a problem and checked to see if it can verbatim reproduce the rest.
However, this test rests on a shaky assumption: that verbatim completion always implies memorization. This paper investigates whether these tests are firing on items a model couldn't possibly have seen (false positives) or failing to detect models that clearly benefit from contaminated ancestors (false negatives).
Methods
The author audits the completion test across seven open-weight models (including the Qwen2.5, Qwen3, and Olmo 3 families) using a mix of established benchmarks and "true negative" controls.
Key methodological choices include:
- Metrics: Using both Exact Match (EM) and ROUGE-L $\ge 0.75$ to flag potential memorization.
- Prefix Variation: Testing completion at 40%, 60%, and 80% prefix lengths.
- Cross-Family Calibration: A novel approach where a model's completion score is compared against the median score of models from other families. If everyone can complete the sentence, it’s likely predictable; if only one model can, it’s likely memorized.
- Corpus Search: Using
infini-gramto search for MATH-500 problems within the open-source OLMo-2 training corpus to correlate actual exposure with test flags.
Datasets
- MATH-500: The primary audited benchmark.
- AIME 2025/2026: Used as true negatives. Since AIME 2026 postdates all models in the study, any "verbatim completion" here is guaranteed to be a false positive.
- MinervaMath: An older comparison set.
- OLMo-2 & DCLM-baseline: Training corpora used to verify actual data exposure for the Olmo models.
Key Insights and Ideas
- Predictability $\neq$ Memorization: Many math problems end in highly predictable ways (e.g., "Find the value of $n$"). If the prefix is long enough, a model can "guess" the remainder without ever having seen the problem before.
- The "Short Leftover" Bias: The test is extremely sensitive to how many words are left to complete. As shown in Figure 1, flag rates skyrocket when there are 8 or fewer words remaining.
- Distillation Stealth: Models distilled from contaminated bases (like the R1-Distill models) show almost no verbatim recall, even though their performance likely benefits from the contamination in their "teacher" models. This suggests the completion test has a major blind spot for distilled models.
- The 80% Prefix Trap: At an 80% prefix, the test becomes unreliable. Even on problems that didn't exist when the models were trained, the test flags nearly 9% of items as "memorized" via exact match.
Key Results
The audit reveals that the parameters of the test drastically change the conclusion:
- False Positives: On the AIME 2025/2026 "true negative" set, ROUGE-L flags up to 6.7% of problems at a 60% prefix. At an 80% prefix, this jumps to a staggering 13.1% (see Figure 2).
- Leftover Length: For Qwen2.5-7B-Instruct, the flag rate is 31.5% for problems with $\le 8$ leftover words, but drops to just 5.5% for problems with $\ge 25$ words.
- Calibration Works: Cross-family calibration successfully isolated a specific signal for Qwen2.5 while zeroing out flags for other models, suggesting it is a much more robust way to report contamination.
Detailed quantitative results across models are summarized in the table below:
Limitations and Future Work
- Small Control Set: The "true negative" set (AIME) is relatively small (60 problems), leading to wide confidence intervals for per-model false positive rates.
- Domain Specificity: The study focuses exclusively on math benchmarks; the dynamics of predictability vs. memorization might differ in coding or creative writing tasks.
- Model Scope: The current audit focuses on instruction-tuned and distilled models; the author plans to add base models in future iterations.
- Recommendations: The paper concludes with strong advice for future researchers: report flags by leftover length (minimum 15 words), use prefixes of at most 60%, and always use cross-family calibration to separate signal from noise.
Summary updated