Skip to content
All papers

Scaling Laws for Reward Model Overoptimization

OpenAIGao, Schulman and Hilton, 202214 min readarXiv 2210.10760Read the paper2022-10

Gao, Schulman and Hilton measure Goodhart's law in RLHF: as a policy is optimized harder against a learned reward model, true quality first rises and then falls. Using a synthetic "gold" reward model in place of humans, they fit simple functional forms to this curve and show how it shifts with reward model size and data.

Ready to ace your system design interview?

This article is just one piece. StackSweep gives you structured, interview-focused practice across every topic that comes up in senior engineering rounds.

  • 1,000+ quiz questions across system design and ML/AI
  • Spaced repetition to lock in what you learn
  • Full case study walkthroughs of real interview topics
  • Track streaks, XP, and progress over time

TL;DR

  • Optimizing against a proxy reward model raises the proxy score steadily, but the true ("gold") score rises, peaks and then declines. That gap is reward model overoptimization.
  • To measure it cheaply, a large "gold" reward model plays the role of human labelers, and smaller proxy reward models are trained on its labels.
  • Optimization is measured as distance from the starting policy, using the square root of KL divergence. Best-of-n sampling and PPO-based RL follow different but simple curves in that distance.
  • Larger proxy reward models and more preference data give a higher peak gold score and less overoptimization, and the fitted coefficients change smoothly with reward model size.
  • In their setup, adding a KL penalty to RL did not improve the gold-score versus KL trade-off; it acted mainly like stopping optimization earlier.

Why this paper matters

This is the reference result for why you cannot just optimize a reward model as hard as possible, and why RLHF pipelines track KL from the reference policy. Research engineer interviews use it to probe whether you understand the synthetic setup, the role of KL as an optimization budget, and what the curves do not tell you about real human preferences.

Breakdown

1.The problem: Goodhart's law in RLHF

In RLHF, humans compare model outputs, a reward model (RM) learns to predict those preferences, and the policy is then optimized to score highly on the RM. The RM is a proxy for what people actually want.

Goodhart's law says that when a measure becomes a target, it stops being a good measure. For RLHF this means: optimize hard enough against the RM and you will find outputs the RM scores highly that people would not prefer. Practitioners had seen this informally: outputs get longer, more repetitive or oddly formatted as RL runs continue.

The question this paper asks is quantitative. How does true quality change as you optimize harder against a proxy? Does it follow a predictable shape? And how does that shape change with the size of the RM, the amount of RM training data, and the optimization method?

Answering this with real humans would need fresh human labels at every point of every training run, which is too expensive. So the authors build a synthetic version of the problem where the "truth" is cheap to query.

Discussion angle: Interviewers may ask which kind of Goodhart failure this is. The authors connect their results to the taxonomy of regressional, extremal, causal and adversarial Goodhart. A good answer notes that the synthetic setup mostly captures failures from the proxy being an imperfect fit, not a policy deliberately manipulating human raters.

2.The synthetic setup: a gold reward model

Instead of humans, the authors use a large "gold" reward model as ground truth. They use it to label comparison data, then train smaller "proxy" reward models of different sizes on those labels. The policy is optimized against a proxy RM, and the gold RM is used to score what the policy actually produces.

This gives a clean experiment. The gold RM is the stand-in for human judgment. The proxy RM is the stand-in for the learned RM in a normal RLHF pipeline. Overoptimization is the gap between how the policy scores on the proxy and how it scores on the gold model.

The trade-off is obvious. The gold RM is not a human. It has its own quirks, and the proxy RMs may share inductive biases with it because they are similar models trained on its outputs. So the results tell you about optimizing a learned proxy of a learned target. Whether the curves transfer to real human preferences is an assumption the paper cannot test directly.

The authors vary proxy RM size across a wide range of parameter counts, vary the number of training comparisons, and test policies of more than one size.

Discussion angle: This is where sharp researchers push. Ask whether the gold model makes overoptimization look smoother or milder than it would be against humans, who are noisier and more exploitable in some ways. Propose a validation: check a few points on the curve with real human ratings and see whether the peak lands in the same place.

3.KL as an optimization budget, and the two methods

To compare optimization methods on one axis, the authors measure how far the optimized policy has moved from the initial policy, using KL divergence. Intuitively, KL is how much "optimization pressure" you have spent. They plot results against d, the square root of KL.

They study two methods.

Best-of-n (BoN) sampling: draw n samples from the initial policy and return the one the proxy RM scores highest. The KL of best-of-n has a closed form that grows roughly like the log of n, so it is easy to dial in.

RL with PPO: fine-tune the policy against the proxy RM, tracking KL as training progresses.

The gold score as a function of d fits simple forms. For BoN, gold reward is roughly d times (alpha minus beta times d): it rises, peaks and falls. For RL, gold reward is roughly d times (alpha minus beta times log d): it also rises and falls, but on a different shape. The alpha and beta coefficients depend on the setup.

One finding: per unit of KL, RL and BoN behave differently. The authors report that RL consumes far more KL than BoN for the same optimization, so matched KL does not mean matched optimization pressure, and they conclude KL should not be used to compare the amount of optimization across methods.

Discussion angle: A good question: is KL actually the right measure of optimization pressure? It is convenient and method-agnostic, but two policies with equal KL could differ greatly in how exploitative they are. Discuss what you would plot instead, such as proxy reward gained, and how that changes the comparison between BoN and RL.

4.How the curves scale

The main result is that overoptimization is predictable. As the proxy RM gets larger, the gold-score curve reaches a higher peak and the gap between proxy and gold grows more slowly: optimization pays off for longer, and the best achievable quality goes up. The fitted alpha and beta coefficients change smoothly with RM parameter count, which is what makes it a scaling law rather than a single observation.

More RM training data helps in a similar direction. The authors also report that below roughly 2,000 comparisons, proxy RMs improve very little over near-chance loss, and this shows up in the gold scores after optimization: there is a data threshold below which optimizing against the RM buys little.

On the policy side, they briefly compare two policy sizes (1.2B and 6B). The larger policy starts higher and gains less from optimizing against the RM, but contrary to the intuition "bigger policy, bigger exploit", it does not overoptimize more: the gold score peaks at almost the same KL and the proxy-gold gap is almost the same. The authors flag that two sizes is a limited test.

The KL penalty result is useful in practice. Many RLHF setups add a penalty for KL from the initial policy. In this paper's setup, the penalty raised the proxy score reachable at a given KL but did not measurably improve the gold-score versus KL frontier; it behaved like early stopping. That suggests the penalty's benefit is mostly in limiting how far you go, not in changing how efficiently you use the KL you spend. The authors note this result could be sensitive to hyperparameters.

Discussion angle: Expect "how would you use this in a real pipeline?" A good answer: hold out a stronger evaluator (or periodic human evals), track gold-like quality against KL during training, and stop near the peak. Then admit the limitation: in production you do not have a gold model, which is exactly why you need held-out evaluations.

5.What to take away, and what not to

The paper changed how people talk about RLHF. "How far can I push against this reward model?" became a question with a measurable answer in principle, and KL budgets and early stopping became standard knobs. Later work built on it: reward model ensembles to reduce overoptimization, and similar curves for direct alignment methods like DPO that do not train an explicit RM.

But be careful about what transfers. The functional forms are empirical fits in one setting, not derived laws. The gold model is a proxy for humans, so the results describe optimizing one learned model against another. The setup has no deliberate manipulation of evaluators, no distribution shift in prompts during deployment, and no agentic behavior.

The qualitative lesson is robust and widely replicated in practice: optimizing harder against a learned reward eventually hurts true quality, and better RMs push that point further out. The exact shape and location of the peak in any real system has to be measured, not assumed from these curves.

Discussion angle: A typical interview question: "Your RLHF run shows reward going up and win rate against the SFT model going down. What is happening and what do you do?" Name overoptimization, check KL and output statistics like length, compare against a held-out RM or human eval, and consider stopping earlier, a larger or ensembled RM, or more preference data.

Reading the evidence

What it shows

  • In a synthetic setup, optimizing against a proxy RM raises gold reward, then lowers it, with a predictable shape.
  • Best-of-n and RL follow different simple functional forms in the square root of KL from the initial policy.
  • Larger proxy RMs and more RM data give higher peak gold scores and less overoptimization, with coefficients that scale smoothly in RM size.
  • In their setup, a KL penalty acted mainly like early stopping and did not improve the gold versus KL frontier.
  • Across the two policy sizes tested, the larger policy gained less from optimization but did not overoptimize more.

What it does not show

  • That the same curves hold when the true target is real human judgment rather than a gold reward model.
  • Anything about policies deliberately manipulating or deceiving evaluators; the gold model is static.
  • That the functional forms are laws; they are empirical fits in one task and model family.
  • Where the peak lies for any specific production system, which still has to be measured.

The most boring explanation

A deflationary reading is that the paper measures ordinary overfitting of one learned model to another, with no humans involved, so the smooth curves may reflect similarities between proxy and gold models rather than anything about human preferences. The authors acknowledge the gold RM is only a stand-in and that proxy and gold may share biases. They argue the setup still isolates the core mechanism, an imperfect proxy being optimized past the point it tracks the target, and that the qualitative pattern matches what practitioners see with human raters. The quantitative fits should be treated as setup-specific.

Key Concepts

Reward model overoptimization

Optimizing a policy hard against a learned reward model raises the proxy score while the true objective first improves and then gets worse.

Analogy: Teaching to a practice test: scores on that test keep rising, but past some point real understanding stops improving and can even drop as students learn test tricks.

Gold reward model

A large reward model used as a synthetic stand-in for human judgment, so true quality can be measured cheaply at every point of training.

Proxy reward model

The reward model the policy is actually optimized against, trained on labels from the gold model.

KL divergence as optimization budget

The distance between the optimized and initial policy, used as a method-agnostic measure of how much optimization pressure has been applied. The paper plots results against its square root.

Analogy: Like measuring how far a car has driven from home rather than how long it drove: it lets you compare a fast car and a slow car on one axis.

Best-of-n sampling

Generate n samples and keep the one the reward model scores highest. Its KL from the base policy grows roughly with log n.

Goodhart's law

When a measure becomes a target, it ceases to be a good measure.

Lessons that use this paper

Knowledge Check

10 questions — your answers are saved locally so you can come back anytime.