Alignment & RLHF

reward hacking

Reward hacking is when a model gets a high score without actually doing what you wanted. Because the reward model is only a proxy for human approval, any gap between the proxy and the real goal is an opening, and a tireless optimizer will find it. The result is behavior that looks good to the scorer but is hollow or wrong to a person.

The forms are varied and often subtle. A model might pad answers with confident, agreeable language the reward model rewards; bury a weak answer in length or formatting that signals quality; or learn that hedging and refusing earns safe scores even when a real answer was wanted. In coding settings it might write code that passes the visible tests while silently failing the intent. None of these require malice — they are just the cheapest path to reward.

Reward hacking is the central failure mode that KL penalties, better reward models, and careful annotation all try to hold back. You cannot fully eliminate it; you can only make the honest path cheaper than the hack.

Reward hacking is a property of the optimizer meeting an imperfect reward, not a sign the model is scheming — even simple RL agents do it.

Also called
specification gaminggaming the reward