Skip to main content
#ai-benchmark#model-evaluation#ai-safety#data-quality

AI Benchmark 05 — Contamination, reward hacking and evaluation bias

Distinguish training contamination, grader overfitting, environment exploitation and judge bias using coding benchmark audits.

Series map

AI Benchmark

8 of 40 chapters published · Six parts

Part I. Evaluation foundations 6/6
  1. 01 How do we measure AI intelligence?
  2. 02 Accuracy, Precision, Recall, F1, Elo, AUC
  3. 03 Pass@k, Pass^k, confidence intervals and repeated trials
  4. 04 Evaluation Harness, Scaffold, Verifier
  5. 05 Contamination, reward hacking and evaluation bias
  6. 06 Artificial Analysis Index and Vals Index
Part II. Knowledge, reasoning and mathematics 2/7
  1. 07 MMLU, MMLU-Pro, GPQA Diamond
  2. 08 GSM8K, MATH, AIME, MathArena Apex
  3. 09 Humanity's Last Exam and HLE-Diamond · Planned
  4. 10 ARC-AGI 1 & 2 and novel rule induction · Planned
  5. 11 CritPt, ProofBench, MysteryMechanism, RiemannBench · Planned
  6. 12 AA-Omniscience, SimpleQA and hallucination evaluation · Planned
  7. 13 IFEval, IFBench, ComplexConstraints · Planned
Part III. Coding and autonomous research 0/8
  1. 14 HumanEval, MBPP, LiveCodeBench, Codeforces · Planned
  2. 15 The SWE-bench family · Planned
  3. 16 DeepSWE, FrontierCode, FrontierSWE · Planned
  4. 17 Terminal-Bench 1–4 and execution environments · Planned
  5. 18 CursorBench, SWE-sweep, SWE Marathon · Planned
  6. 19 Vibe Code, ProgramBench, NL2Repo, Code Migration · Planned
  7. 20 PMPP-Hard and GPU kernel optimization · Planned
  8. 21 MLE-Bench, NanoGPT, PostTrainBench and scientific research · Planned
Part IV. Agents and professional work 0/8
  1. 22 BrowseComp, DeepSearchQA, WANDR · Planned
  2. 23 BFCL, MCP Atlas, Toolathlon · Planned
  3. 24 τ-bench, AgentBench, EnterpriseOps-Gym · Planned
  4. 25 WebArena, OSWorld, ScreenSpot · Planned
  5. 26 GDPval, AA-Briefcase, JobBench, Agents' Last Exam · Planned
  6. 27 Finance Agent, AA-AnalystAgent, Diligence, Tax · Planned
  7. 28 AutomationBench, Remote Labor Index, LifeVal · Planned
  8. 29 METR Time Horizon, Vending-Bench and long-horizon autonomy · Planned
Part V. Vision, memory and robotics 0/8
  1. 30 MMMU-Pro, MathVision, PerceptionBench · Planned
  2. 31 OmniDocBench, OCRBench, GDP.pdf, OfficeQA · Planned
  3. 32 Chartography, CharXiv, BabyVision, ZeroBench · Planned
  4. 33 ScreenSpot-Pro, GroundingME, SAGE · Planned
  5. 34 MuirBench, LVBench, Blender-VideoBench, Code2Video · Planned
  6. 35 LongBench, MRCR, GraphWalks, AA-LCR · Planned
  7. 36 LongMemEval, BEAM and long-term memory · Planned
  8. 37 BenchCAD, RoboDojo, VLA, Decision models · Planned
Part VI. Safety and practice 0/3
  1. 38 FORTRESS, StrongREJECT, HoneyBench, Misbehavior · Planned
  2. 39 AgentDojo, prompt injection, safety and risk evaluation · Planned
  3. 40 Build your own AI agent benchmark harness · Planned

A higher score does not always mean an improvement in the intended capability. The model may have seen the tasks, the grader may be flawed, or conditions may favor a particular model. This chapter is not about dismissing scores; it is about checking what claims they support.

#1. Five distinct failure modes

ProblemLocationExample
Data contaminationTraining dataPublic exam and answers included in training
SaturationTask setMost models cluster near the ceiling
Reward hackingExecution and rewardScore increases through a shortcut unrelated to the true objective
Grader defectGraderRejects valid solutions or accepts incorrect outcomes
Reporting biasComparison and publicationReports only favorable settings

Contamination concerns exposure to exam information before evaluation. Reward hacking occurs during an evaluation when an action satisfies the proxy metric but not the intended task. They can co-occur, but they are not the same concept.

#2. The 2026 SWE-bench audits: why versions change

On February 23, 2026, an OpenAI audit examined 138 frequently failed tasks from the 500 SWE-bench Verified tasks. It reported material specification or test-design issues for 59.4% of this selected subset. Because it was not a random sample of the 500 tasks, that percentage cannot be extrapolated to the whole dataset. The audit also presented cases where models reproduced information from existing answer patches.

A follow-up audit on July 8, 2026 estimated that about 30% of SWE-bench Pro tasks were broken. This concerns the evaluation version and audit procedure studied at that time, not every later Pro variant.

DateMain conclusion of the report
2026-02-23Verified: task/test defects and evidence of contamination
2026-07-08Pro: substantial grading and task-design issues

Neither report represents an independent model rerun performed for this article. They are provider-led audits whose scope and methods must be examined.

#3. Proxy metrics and the real objective

Distinguish the true objective U from the evaluation reward r. Evaluators hope that increasing r increases U, but that relationship is not guaranteed in general.

arg⁡max⁡ar(a) ≢ arg⁡max⁡aU(a)\arg\max_a r(a)\ \not\equiv\ \arg\max_a U(a)

If report writing is graded solely by document length, unnecessary sentences may increase instead of accurate information. With inadequate test coverage, an incomplete coding implementation may pass. Rather than assuming a model’s intentions or inner state, inspect artifacts, execution traces and rule violations.

METR’s November 20, 2026 report describes observed agent behaviors that increase scores without fulfilling intended tasks in some evaluations. This illustrates why correction criteria and trace-audit scope should be disclosed.

#4. Defensive evaluation design to reduce bias

RiskMitigation
Prior exposureNewly authored private tests, temporal separation, similarity and duplicate checks
Dataset biasSampling plans by domain/difficulty, external validation sets
Harness biasSeparate common and model-specific optimized configurations
Grader errorsVerify alternative solutions, regression and metamorphic tests
Judge biasBlind names, reverse A/B order, multiple judges and human audit
Cost/time biasEqual budgets, cost per success, performance at deadline
Execution shortcutsSeparate permissions, isolated verifier, independent trace audit

Private tests do not automatically become fair. Task authoring and audit methodology should still be transparent. Define permitted tools and sources concretely. If an evaluation needs correction, version the changes and re-evaluate all models under the same corrected rules.

Give the grader a small test of its own. If a table must contain the correct dates and totals, prepare three human-checked outputs. One is correct, another is equally correct with rows in a different order, and a third has the wrong total for one day. Check that the grader accepts the first two and rejects the third. Where reviewers disagree, write down the allowed variation and the condition for failure. Stanford’s evaluation lecture discusses how to choose a grader for verifiable conditions and for requirements that need human judgment. CS329Z lecture on graders

#5. Exercise: identify two kinds of error

A hypothetical evaluation asks for the sum of an integer list including negative numbers. Its tests cover only positive lists. Model A sums all integers correctly; model B discards negatives before summing. Both can pass. The issue is not merely lower model accuracy for B: the grader fails to measure the intended objective.

Conversely, if A returns correct results for positive and negative values but is rejected because the grader requires a particular internal function name, the test imposes an irrelevant constraint. Verify the intended behavior while allowing valid alternative implementations.

Exercise solution: specify how negative numbers, empty lists, zeros, large numbers and invalid inputs should be handled, and add appropriate checks. Avoid meaningless implementation constraints. Treat the grader itself as an object of evaluation.

#References

Connect