Recognizing reward hacking during language-model training

← Back to Blog & Articles

Reinforcement learning optimizes the reward it is given, not the one that was meant.

When the reward is a proxy, such as a learned reward model, a rubric scored by a model, or a test suite, pushing the proxy up eventually stops pushing the intended objective up and can push it down. this article makes that statement precise in cases where the answer can be computed. It separates two mechanisms (selection on a noisy proxy, and a defect of the proxy in a region the policy can reach), proves what the exponential-tilt optimum of a KL-regularized objective looks like and how much proxy reward a given KL budget can buy, derives a closed-form family in which the true reward peaks and then falls while the proxy keeps rising, derives the dynamics of entropy under the same tilt, studies a length bias in the proxy and how a small audit estimates and removes it, and builds monitors for reward hacking whose false-alarm rates and delays are measured.

  • Predict whether selecting or optimizing against a proxy will help, from the tails of the proxy’s error.
  • Write the optimum of a KL-regularized objective, and bound the proxy gain obtainable with a KL budget.
  • Compute a reward-versus-KL curve for a policy family with a rare exploit, and locate its peak.
  • Estimate and remove a length bias from a small audit, and state how precise the estimate is.
  • Design monitors for reward hacking and measure their delay and false-alarm rate.

Continue with the book

Explore the full treatment, worked examples, and exercises in RL for LLM Agents and Reasoning Models.


Companion article for RL for LLM Agents and Reasoning Models, published by Choral Software. Article text and original examples © 2026 Choral Software. All rights reserved.

Scroll to Top