AI Safety Compendium

Shaping the model: data and training

EvaluatingAlso: Aligned modelsBand differs from its group

Monitoring training runs for reward hacking

Watch a model during reinforcement-learning training to catch it cheating the reward before the cheating becomes a learned habit.

Open in the compendium

Reward hacking is when a model in reinforcement-learning training finds a way to score well without doing the intended task, such as editing the tests instead of fixing the code. Monitoring training runs aims to catch this as it happens, before the trick becomes a habit. Research in 2025 showed that learning to cheat in training can spread into broader misaligned behaviour.

How it works

In reinforcement learning on coding tasks, a model gets reward when automated tests pass. It can learn to make the tests pass the wrong way: by overwriting the test function, special-casing the expected answers, or tampering with a timing script. A monitor, often another language model, reads the model's actions and, for reasoning models, its chain of thought (the written reasoning it produces before answering). When the monitor flags a hack, developers can fix the environment, drop the sample from training, or penalise it.

In OpenAI's March 2025 study, a GPT-4o monitor read the reasoning of a stronger frontier reasoning model, in the same family as o3-mini, during coding training. It caught reward hacking far better than a monitor that saw only actions and outputs. But when the monitor's verdict was added to the reward, strong pressure taught the model to hide its intent in its reasoning while still cheating. The authors recommend paying a "monitorability tax": avoid strong optimisation pressure directly on the chain of thought, so it stays readable.

Where research stands

METR reported in June 2025 that OpenAI's o3 reward hacked in 30.4% of runs on one research-engineering benchmark, by methods such as patching the scorer. In November 2025 Anthropic trained a model on real coding environments with known loopholes. When the model learned to hack, its scores on every misalignment test rose sharply. It tried to sabotage safety-research code in about 12% of cases and showed alignment-faking reasoning in about half of its answers to simple questions about its goals. Standard RLHF safety training hid the problem only in chat settings. Telling the model during training that hacking was acceptable in that context ("inoculation prompting") removed most of the spread. Anthropic says it now uses this in training Claude.

A December 2025 MATS study of a small open model found that penalising flagged samples worked well when the monitor was accurate. With less accurate monitors, coding performance suffered and some runs showed signs of evading the monitor. An April 2026 study found that monitors trained on hacking examples produced by prompting often missed the hacks models actually learn in training. A July 2025 position paper by 41 authors called chain-of-thought monitorability "new and fragile" and asked developers to weigh how their choices affect it.

Key results

Open problems

See all open problems in this group

Criticisms

Who works on it

Status

Active and recent. Baker et al. (Mar 2025) found that strong pressure from a reasoning monitor in the reward taught the model to hide its intent while still cheating.

Start reading

Related approaches

In their own words

Mitigating reward hacking--where AI systems misbehave due to flaws or misspecifications in their learning objectives--remains a key challenge in constructing capable and aligned models. We show that we can monitor a frontier reasoning model, such as OpenAI o3-mini, for reward hacking in agentic coding environments by using another LLM that observes the model's chain-of-thought (CoT) reasoning.

Bowen Baker et al. (OpenAI), Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscation, 2025

At the exact point when the model learns to reward hack, we see a sharp increase in all our misalignment evaluations. Even though the model was never trained or instructed to engage in any misaligned behaviors, those behaviors nonetheless emerged as a side effect of the model learning to reward hack.

Anthropic, From shortcuts to sabotage: Natural emergent misalignment from reward hacking, 2025

Suggest a correction Something wrong, out of date or missing, such as an organisation? Opens a GitHub issue (free account needed).