NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Soft Contamination Means Benchmarks Test Shallow Generalization

Ari Spiesberger, Juan J Vazquez, Nicky Pochinkov, Tomáš Gavenčiak, Peli Grietzer, Gavin Leech, Nandi Schoots

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Retrieval-Augmented LLM and Search Systems · Type: empirical study · Keywords: soft contamination, semantic duplicates, benchmark bias, LLM evaluation, generalization, decontamination

Areas: Evaluation & Benchmarks › Model Capability Diagnostics › Language Model Reliability

Summary

The paper shows that LLM training corpora often contain semantic duplicates of benchmark test data, causing benchmark scores to be inflated and reflecting shallow memorization rather than genuine out-of-distribution generalization.

Explained to a 5-year-old

People teach computers using lots of stories. Sometimes they accidentally include test questions in those stories. The computer then pretends it knows the answers, even though it just memorized them. This makes the computer look smarter than it really is. We need to clean the stories so the computer learns real understanding.

Explained to a 5-year-old, longer

When we teach a robot to read, we give it many books. Some of those books contain quiz questions that we later use to test the robot. If the robot sees the quiz questions while learning, it might just copy the answers instead of understanding. This makes the robot score high on tests, but it doesn't really know how to solve new problems. We found that many of the books used to teach big language models already have hidden quiz questions inside them. About three quarters of one set of questions and all of another set were already in the training books. When we let the robot practice with these hidden questions, its test scores went up a little, but only on the same kind of questions. It didn't help the robot do better on other kinds of tasks. The same problem happened with different computer models. This tells us that some of the progress we see in tests might just be cheating, not real learning. We need better ways to clean the books so robots learn real understanding.

For a technical reader

The study embeds training corpora to find semantic duplicates of benchmark data, showing that up to 100% of some benchmarks are present in training. This contamination inflates benchmark scores by up to 22 percentage points in controlled settings and 22pp in ecological finetuning, with similar gains on held-out data, but the improvements do not generalize to related benchmarks. The effect is observed across multiple model families, indicating that recent benchmark gains may be partially due to memorized test data rather than true capability advances.

Problem

Benchmark performance can be biased when training data includes semantic duplicates of the very tests used to evaluate models, leading to an inaccurate estimate of true generalization ability.

Method

The authors embed the training corpus to detect semantic duplicates of benchmark data, quantify contamination rates, and assess the impact on benchmark and OOD performance through controlled and ecological finetuning experiments.

Results

Semantic duplicates were found for 76% of CodeForces and 100% of MBPP; training or finetuning on these duplicates boosted benchmark scores by up to 22pp (controlled) and 22pp (ecological), and up to 19pp on held-out data, but the gains did not extend to related benchmarks. The findings were replicated across Olmo 3, Qwen3, and Qwen3.5.

Contributions

It reveals the prevalence of soft contamination in LLM training corpora, quantifies its impact on benchmark performance, and demonstrates that such contamination leads to shallow generalization that does not transfer to related benchmarks.

Practical relevance

This work highlights the need for more robust decontamination methods to ensure benchmark scores reflect true model capabilities rather than memorized test data.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction