Reward Hacking in Reinforcement Learning
Named practitioner synthesis
#233
- Topic
- Practitioner Notes
- First seen
- 2026-07-16 19:08:00
- Last seen
- 2026-07-16 19:08:00
Source raw items (1)
- Blog / Newsletter2026-07-16 19:07:22Reward Hacking in Reinforcement Learning
<p>Reward hacking occurs when a <a href="https://lilianweng.github.io/(https:/lilianweng.github.io/posts/2018-02-19-rl-overview/)">reinforcement learning (RL)</a> agent <a href="https://lilianweng.github.io/posts/2018-01-23-multi-armed-bandit/#exploitation-vs-exploration">exploits</a> flaws or ambiguities in the reward function to achieve high rewards, without genuinely learning or completing the intended task. Reward hacking exists because RL environments are often imperfect, and it is fundamentally challenging to accurately specify a reward function.</p> <p>With the rise of <a href="https://lilianweng.github.io/posts/2019-01-31-lm/">language models</a> generalizing to a broad spectrum of tasks and RLHF becomes a de facto method for alignment training, reward hacking in RL training of language models has become a critical practical challenge. Instances where the model learns to modify unit tests to pass coding tasks, or where responses contain biases that mimic a user’s preferen