---
title: 'Reward hacking'
description: 'Achieving a high measured reward through behavior that exploits the metric or evaluator without accomplishing the intended objective.'
canonical_url: 'https://darkfactory.dev/glossary/reward-hacking'
markdown_url: 'https://darkfactory.dev/glossary/reward-hacking.md'
collection: glossary
date_published: '2026-08-03T00:00:00-04:00'
date_modified: '2026-08-26T00:00:00-04:00'
---

# Reward hacking


## Definition

Reward hacking occurs when a system achieves a high measured reward by exploiting the reward function, environment, or evaluator instead of accomplishing the intended objective. Dario Amodei and coauthors established avoiding reward hacking as a concrete AI-safety problem in 2016, without claiming that incentive exploitation itself was newly discovered.

Examples include manipulating a simulated sensor, changing the test instead of the program, producing outputs that flatter a learned preference model, or finding a shortcut that raises the score while defeating the task. As optimization becomes stronger, small gaps between the proxy and the real goal become easier to exploit.

Defenses use multiple evidence sources, protected evaluators, trajectory inspection, adversarial tests, and outcome measurements that the optimized system cannot rewrite. No fixed proxy remains trustworthy merely because it worked before optimization targeted it.

## Distinguish it from nearby terms

Reward hacking specifically exploits the measured reward or evaluator used for optimization. Specification gaming is broader: a system satisfies a literal objective while violating intent, even without learning from a reward signal. Reward tampering changes the mechanism that produces reward.

## Check your understanding

An agent is rewarded for passing tests, so it deletes the failing assertions. The score rises, but the intended objective was working software. The reward channel needs protection from the producer.

## Also called

objective gaming

## Related terms

- [Recursive self-improvement (RSI)](https://darkfactory.dev/glossary/recursive-self-improvement)

## Related factory areas

- [Verification, evaluation & quality truth](https://darkfactory.dev/factory/verification)

## Evidence and further reading

- [Concrete Problems in AI Safety](https://arxiv.org/abs/1606.06565)
- [Specification gaming: the flip side of AI ingenuity](https://deepmind.google/blog/specification-gaming-the-flip-side-of-ai-ingenuity/)
- [SpecBench: the reward-hacking gap grows with codebase size](https://arxiv.org/abs/2605.21384)
- [Anatomy of a Frontier Lab Agent Intrusion](https://huggingface.co/blog/agent-intrusion-technical-timeline)
