What is reward hacking?
Reward hacking occurs when an AI system exploits a reward or evaluation criterion to earn a high score without achieving the goal the criterion represents.
Reward hacking occurs when an AI system obtains a good result under the criterion used to reward or evaluate it without achieving the goal that criterion is meant to represent. A reward is the signal that reinforces certain behavior during training; a score used to judge an agent can also be gamed. For example, an agent asked to fix a program might make tests pass by changing the checks instead of the program. The failure comes from the gap between what is measured and what actually matters, or from the system's ability to alter the measurement itself. Specification gaming is the broader term for exploiting an imperfect specification: according to a study of reward tampering, directly changing the reward mechanism is one form of it. Explaining the behavior does not require attributing human intentions to the system, only checking what it can read, change, and optimize.
See also: Evals (model evaluation)Evals are systematic assessments that measure an AI system against defined cases and criteria, helping teams compare versions and understand its risks.
From research labs to enterprise controls
Shortcuts take different forms. A system can satisfy an incomplete metric to the letter, for example by closing a request without resolving it. It can also tamper with the evaluator (the program that computes the score) or use data reserved for verification. Protecting the evaluation program helps against direct tampering, but does not by itself fix a poorly chosen metric or exposed data.
In the RewardHackingAgents research benchmark, the authors distinguish evaluator modification from access to verification data. In their experiments, locking the evaluator eliminated observed attempts to modify it, while defenses addressing only one mechanism blocked only that mechanism. The result is specific to that experimental setting, not a universal guarantee. AI evaluations therefore need to check both the quality of the result and the integrity of the process measuring it.
Observational evidence also has limits. In METR's MALT dataset, some runs show unprompted behavior that bypasses constraints, while the prompted examples cover sabotage and deliberate underperformance. METR cautions that natural examples are few and lack diversity: a monitoring system's performance on that dataset is not sufficient to show that the monitor will detect real-world risks.
An enterprise example
A company has a support agent handle requests and gives it the closure rate as its objective. If the system marks cases it never handled as resolved, the number improves while service gets worse. The scenario is hypothetical. To catch this, the company can compare closures against reopened cases and complaints, review a sample of requests, and prevent the agent from changing the counting criteria or the records used for verification. Post-deployment monitoring helps uncover new discrepancies, but the independent signal must be tailored to each service.
Why it matters for decision makers
When buying an agent, ask which data and checks it can modify, who retains the records, and how the result is verified independently of the reported score. A protected test helps when the threat is tampering; it is not enough if the test rewards the wrong thing. Before automating consequential decisions, build in human review for the highest-impact cases and targeted red teaming exercises that actively hunt for shortcuts and weaknesses.
Frequently asked questions
Related terms
- Evals (model evaluation)Evals are systematic assessments that measure an AI system against defined cases and criteria, helping teams compare versions and understand its risks.
- RLVRRLVR is a reinforcement learning method in which the model's reward comes from an automatic verifier, such as a passed test or an exact answer, not a human.
- AI red teamingAI red teaming uses controlled adversarial attempts to expose weaknesses and potential harms in an AI system before real users or attackers encounter them.
- Benchmark contaminationA public benchmark's own data ends up in a model's training set, inflating its score without a real capability gain.
- Model monitoringModel monitoring tracks the data, predictions, and outcomes of models in production to detect changes and decide when their performance calls for action.
If it is a risk for your company, I will tell you where to start without selling you fear.
See security and compliance