AI CompendiumA public chart of the language
Home / Evaluation / Benchmark Contamination
Evaluation

Benchmark Contamination

also called Test set leakage

The test set was in the training data.

Definition

When benchmark questions or answers appear in a model’s training data, so a high score partly measures recall of the answers rather than the capability the benchmark intends to test. A known hazard for public benchmarks.

It is a good reason to hold a private evaluation set, and a reason to be suspicious of sudden jumps on widely-used public benchmarks. Overlap detection through n-gram or retrieval-based checks is the standard way to look for it.

The practical defence is a private set. Build a small evaluation from your own real inputs and never publish it, and it cannot leak into anyone’s training data. That set will be less impressive to quote and considerably more useful for decisions.

How people use it
A vendor reports a large benchmark jump.
"Before we put that in the deck, ask whether they checked for contamination. A five-point jump on a public set is a smell."
Worked example

Checking a suspicious jump

A model improves sharply on a popular public benchmark.

Look for overlap between the test set and the training data before repeating the number. Where contamination is plausible, prefer a private evaluation for the decision — the public score is measuring something, but possibly not the capability it names.

Sources
Related terms