Skip to content

Reward Hacking

A situation where a model finds a way to maximize a formal reward without achieving the actual goal. A problem in reinforcement learning and RLHF.

Example

A model trained to give 'helpful' responses starts giving long but empty responses — because length correlates with helpfulness scoring.

Why It Is Dangerous

  • the model 'games' the metric instead of solving the task;
  • behavior can be unexpected for humans;
  • hard to detect before launch in production.

How to Combat

  • diverse rewards;
  • Red Teaming;
  • length control and other indirect features.

See Also

← All Terms