Skip to content

Categorizing Variants of Goodhart's Law

optionalcorefundamentalpaperrubric 11/122018 · ~30 min

David Manheim, Scott Garrabrant

Status

TL;DR. “Goodhart’s law” covers several different failures. This short paper splits it into four mechanisms, each with a toy statistical model: regressional (selecting on a noisy proxy also selects the noise), extremal (optimisation moves you to regions where the old proxy–goal relation does not hold), causal (intervening on the system breaks the correlation) and adversarial (other agents exploit the regulator’s metric). Later reward-hacking papers use these names to say which kind of failure they mean.

Why it matters now. RL on LLMs is selection plus intervention at scale. Best-of-n against a reward model selects without changing the generator, so regressional Goodhart is always present, but with large n the selected outputs reach extreme, rarely seen regions and extremal effects appear too. RL also moves the generator itself off the reward model’s training distribution, which adds more room for extremal Goodhart. Training on a public benchmark is closer to causal or adversarial Goodhart. These are tendencies, not a one-to-one map from algorithm to mechanism. IR has known these for decades: pooled qrels, CTR-optimised clickbait, and SEO spam. The vocabulary helps you choose the matching fix.

A system has states s∈Ss \in S. The regulator’s true goal is G(s)G(s), but it can only act on a proxy M(s)M(s). In the simplest setting it selects a permissible set A={s:M(s)≥c}A = \lbrace s : M(s) \ge c \rbrace and raises the threshold cc.

1. Regressional. M=G+normal(μ,σ2)M = G + \text{normal}(\mu, \sigma^2). A point with large MM probably has large GG, but also large noise, so E[G∣M]\mathbb{E}[G \mid M] is predictably smaller than MM.

“No matter what measure is chosen for optimization, an inexact metric necessarily leads to a divergence between the goal and the metric in the tail.” (Manheim & Garrabrant, §1)

Toy example. G∼N(0,1)G \sim \mathcal N(0,1), noise variance 1, keep the top 1% by MM. The selected items have mean M≈3.77M \approx 3.77 but mean G≈1.89G \approx 1.89. Selecting on GG directly would give ≈2.67\approx 2.67. In general, E[G∣top by M]=ρGM E[G∣top by G]\mathbb{E}[G \mid \text{top by } M] = \rho_{GM}\,\mathbb{E}[G \mid \text{top by } G], where ρGM=1/1+σ2\rho_{GM} = 1/\sqrt{1+\sigma^2}.

2. Extremal. Two sub-cases. Model insufficiency: the proxy was learned in a limited region (for example, a low-degree fit where higher-order terms are small), and selection moves out of that region. Change in regime:

G={M+x,M≤aM+y,M>aG = \begin{cases} M + x, & M \le a \\ M + y, & M \gt a \end{cases}

Toy example (IR). Let MM be click-through rate and GG user satisfaction. Below CTR 0.3, G=MG = M. Above it, the only way to get more clicks is clickbait, and G=M−0.5G = M - 0.5. A ranker trained to maximise CTR crosses a=0.3a = 0.3 and true value drops by 0.5 at once.

3. Causal. The regulator intervenes and changes the causal structure. Three cases: intervening on a shared cause of metric and goal, on an intermediary between them, or metric manipulation (setting MM directly, like a teacher editing grades). Toy example. Two benchmarks A=X+e1A = X + e_1, B=X+e2B = X + e_2 with unit variances have correlation 0.5. If tuning fixes the shared factor XX, the remaining correlation is 0.

4. Adversarial. Another agent with its own goal reacts to the metric. Campbell’s law model: MR=GR+XM_R = G_R + X for the regulator, MA=GA⋅XM_A = G_A \cdot X for the agent. MAM_A can be uncorrelated with GAG_A overall, yet become positively correlated once the regulator selects high MRM_R (this selects high XX). Cobra effect: the regulator pays the agent on the metric, GAR=GA0+MRG_{A_R} = G_{A_0} + M_R, and the agent finds an unobserved cause YY of the metric (breeding cobras).

Goodhart curve: proxy reward keeps rising while the true (gold) reward peaks and falls X axis is optimisation pressure against a proxy reward (KL from the initial policy, or best-of-n). The proxy reward curve rises monotonically. The gold reward rises at first, peaks, then declines. The gap between them is over-optimisation. optimisation pressure → (√KL to the start policy, or best-of-n) reward proxy reward (what the optimiser sees) gold / true reward peak: best place to stop over-optimisation gap proxy and goal agree optimiser finds where the proxy is wrong (regressional / extremal Goodhart)
Original sketch. One illustrative reading under the paper's toy models: in the rising part, regressional Goodhart already makes the proxy over-state the gain; the fall is consistent with extremal effects, where the optimiser reaches regions in which the proxy no longer tracks the goal. The curve alone does not identify the mechanism.

The paper is conceptual and has no experiments. Its results are the four-way split, the sub-cases (two extremal, three causal, and adversarial misalignment versus normal and non-causal cobra effects) and a simple model for each (eqs. 1–9). Two claims are worth remembering. First, regressional Goodhart cannot be avoided (§1). Second, how much Goodhart effects matter depends on how much optimisation power is aimed at the proxy, which is why the authors expect them to matter more in AI than in policy.

  • Toy models only. Most models are one-dimensional with Gaussian noise. Real reward models are high-dimensional, and the split between regressional and extremal is not obvious from data.
  • Categories overlap. The authors note the forms often occur together. There is no procedure to attribute an observed gap to one mechanism.
  • No quantitative laws. Later work fills this in: Gao et al. fit gold-score curves as functions of optimisation pressure, and Pan et al. measure gaps as capability grows.
  • Is RL “selection” or “intervention”? Best-of-n is clean selection. RL that changes what the model generates is both. How to read the taxonomy for RL is an open question.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    Regressional Goodhart with M = G + ε, where G ~ N(0, 1) and ε ~ N(0, σ²) are independent. You keep the top 1% of items by M (the standard-normal tail mean above z = 2.326 is λ ≈ 2.665). (a) For σ² = 1, compute the threshold on M, the mean proxy value of the selected items, and their expected true value. (b) Compare with selecting the top 1% by G directly. (c) Repeat (a) for σ² = 0.25. (d) Give the general shrinkage factor.

    What a strong answer covers
    • (a) sd(M) = √2 ≈ 1.414, threshold c ≈ 2.326 × 1.414 ≈ 3.29, E[M | selected] ≈ 1.414 × 2.665 ≈ 3.77. E[G | M] = M / (1 + σ²), so E[G | selected] ≈ 3.77 / 2 ≈ 1.885.
    • (b) Selecting on G directly gives E[G] ≈ 2.665. The proxy-selected set is worse by about 29%, and the proxy over-reports its true value by a factor of 2.
    • (c) σ² = 0.25: sd(M) ≈ 1.118, E[M | selected] ≈ 2.98, E[G | selected] ≈ 2.98 / 1.25 ≈ 2.38.
    • (d) E[G | top by M] = corr(G, M) × E[G | top by G] = λ / √(1 + σ²). The gap grows with the noise but never closes: an unbiased proxy still loses in the tail, as the paper says.
  2. Derive / compute

    Extremal Goodhart by model insufficiency. The true relevance-to-user value of a ranking feature x is G(x) = x − 0.05x². You fit a linear proxy on logged data where x ∈ [0, 2], getting M(x) ≈ x. An optimiser now pushes x freely to maximise M. Where is G maximised, what is G at x = 20 and x = 30, and what does this say about which variant applies?

    What a strong answer covers
    • On [0, 2] the quadratic term is at most 0.2, so the linear fit looks good. This is the paper's underfitting case: higher-order terms are small in the observed region.
    • dG/dx = 1 − 0.1x = 0 at x = 10, where G = 10 − 5 = 5.
    • G(20) = 20 − 20 = 0 and G(30) = 30 − 45 = −15, while M keeps rising (20, 30). Proxy and goal decouple outside the fitted range.
    • This is extremal Goodhart (model insufficiency), not regressional: there is no noise at all. It is the same shape as the proxy versus gold reward curve in RLHF.
  3. Mechanism

    Shared-cause intervention. Two retrieval benchmarks A and B have scores that both depend on a latent skill X: A = X + e₁ and B = X + e₂ with X, e₁, e₂ independent and unit variance. Compute corr(A, B). A lab then intervenes on the shared cause: it trains on the shared query distribution until X is pushed to its ceiling and no longer varies across the systems it compares. Explain, using the paper's causal model, why the A–B correlation falls and why gains on A stop predicting gains on B.

    What a strong answer covers
    • Before: cov(A, B) = Var(X) = 1, Var(A) = Var(B) = 2, so corr = 0.5.
    • If the intervention sets X to a fixed value, the remaining variation in A and B is e₁ and e₂ only, which are independent, so corr(A, B) = 0.
    • The paper's point: after intervening on the shared cause, what is left of the metric–goal relationship comes only from the error terms, so further optimisation on A tells you nothing about B.
    • Overall level of B may still rise (the paper notes the outcome need not be worse), but marginal optimisation on A becomes useless or counter-productive.
  4. Derive / compute

    Adversarial Goodhart (Campbell's law model, eq. 7). Regulator metric M_R = G_R + X; agent metric M_A = G_A · X, with G_R, G_A, X independent N(0, 1). (a) Show cov(G_A, M_A) = 0 over all states. (b) The regulator keeps the top 1% by M_R. Using the result from regressional Goodhart, compute E[X | selected] and cov(G_A, M_A) on the selected set. (c) Explain in IR terms.

    What a strong answer covers
    • (a) cov(G_A, G_A X) = E[G_A² X] − E[G_A] E[G_A X] = E[G_A²] E[X] − 0 = 0 since E[X] = 0.
    • (b) X plays the role of noise in M_R with unit variance, so E[X | selected] = E[M_R | selected] / 2 ≈ 3.77 / 2 ≈ 1.885. On the selected set cov(G_A, M_A) ≈ 1.885 × Var(G_A) ≈ 1.885 > 0.
    • The agent's metric was useless on its own; the regulator's selection makes it useful. The agent piggybacks on the regulator's selection.
    • (c) IR: a spammer correlates their page's goal (traffic to their site) with a feature the ranker uses (X, for example anchor-text matches). Selection by the ranker then delivers the spammer's goal.
  5. Design

    You train a reranker with RL against an LLM relevance judge and evaluate on a TREC track where unjudged documents count as non-relevant. Name the Goodhart variant behind each of these failure modes and give one concrete control for each: (i) judge noise, (ii) the policy surfacing documents outside the pool, (iii) the policy learning the judge's length preference, (iv) a team tuning on the public qrels.

    What a strong answer covers
    • (i) Regressional: the top-ranked documents are selected partly for judge error. Control: average several judges or prompts, and report gold-label precision of the top-k.
    • (ii) Extremal / regime change: the pooled qrels are accurate only for the documents the pooled systems retrieved. Control: report judged@k and condensed-list metrics (or bpref), and pool the new run before comparing.
    • (iii) Causal (ignored additional cause): length causes the judge's score but not relevance. Control: length-controlled evaluation or regress length out of the reward.
    • (iv) Adversarial / metric manipulation through test-set reuse. Control: hidden test topics and a fresh judging round.
  6. Critique

    The paper says the four categories often occur together. Pick an RLHF over-optimisation curve (proxy RM score keeps rising while gold score peaks and falls). Argue whether regressional and extremal Goodhart can be told apart from that curve alone, and design an experiment that separates them.

    What a strong answer covers
    • From the curve alone they are confounded: both predict a rising proxy and a peaking gold score.
    • Regressional predicts the gap at a given proxy value depends on RM noise and shrinks with a less noisy RM (more data, ensembles). Extremal predicts the gap appears where policy outputs leave the RM's training distribution.
    • Experiment: hold the RM fixed and measure the gap as a function of an out-of-distribution score (distance of policy outputs from RM training data) versus as a function of the RM's in-distribution noise.
    • Also compare best-of-n with RL at equal KL. Best-of-n leaves the generator fixed but its selected outputs can still sit in extreme regions of the RM's input space, so it is not a pure regressional control; Gao et al. see a gold-score peak for best-of-n too. A larger gap for RL at equal KL is suggestive of extremal effects from moving the generator, not a diagnosis by itself.

Done with this page?

Status