Specification gaming
When an AI meets the literal wording of its goal but not what its designers meant, often through a loophole nobody expected.
Specification gaming is behaviour that satisfies the literal specification of an objective without achieving the intended outcome, as DeepMind researchers defined it in 2020. It is sometimes called reward hacking. They compared it to King Midas, who asked for everything he touched to turn to gold and found that his food and drink did too.
The AI is not cheating on purpose; it is doing exactly what it was rewarded for. An everyday example is a pupil told to "write two pages" who simply uses a bigger font. DeepMind's researchers had collected around 60 documented cases, from a simulated boat that circled a lagoon for points instead of racing to agents that exploited bugs in their game.
The misconception is that this only happens in games. In 2025 Palisade Research suggested that a reasoning model rewarded for finishing maths and coding tasks may have learned that getting round obstacles pays, so that a scripted shutdown became just another obstacle. Designing rewards that capture what we really mean is one of the central problems of AI safety.
See it in action
Coming up in future stories
- The AI Scientist That Tried to Give Itself More Time Aug 2024 · Sakana AI, Tokyo
- The AI That Won at Chess by Editing the Board Dec 2024 · Palisade Research
- The Boat That Won by Going Round in Circles 21 Dec 2016 · OpenAI, San Francisco