EconomicsCounterintuitive resultExplained★ Famous
Goodhart's Law
Also known as Goodhart's Rule
The moment you measure something and start rewarding the number, the number stops telling you what it used to.
- Difficulty
- Intermediate
- Reading time
- 14 min
Counterintuitive result. Nothing is wrong with the reasoning. The result is simply correct and human intuition is simply unreliable here. Not a contradiction at all.
Discover
Hanoi, 1902. The French colonial government has just finished a magnificent new sewer system, and the sewers have filled with rats. Rats in the pipes, rats in the villas, rats coming up through the plumbing of the very people who paid for the pipes.
So the city offers a bounty. One cent for every rat killed. To save officials from handling piles of dead rats, they ask only for the tail as proof.
The tails come in. Thousands a day. Then tens of thousands. And yet the rats do not seem to be getting any scarcer.
Then health inspectors start finding something odd in the outskirts of the city: rats running around with no tails at all. Someone had worked out that a rat without a tail can still have babies. And out beyond the city limits, a few enterprising people had begun to do the obvious thing.
They were farming rats.
Understand
Nobody in Hanoi wanted more rats. Everybody involved was behaving sensibly. The problem was in the design of the reward.
The city cared about fewer rats. It could not count rats, so it counted tails, and paid for tails. As long as nobody was thinking about the payment, tails were an honest signal of rats killed. The moment there was money on tails, the two came apart — because there are now cheaper ways to get a tail than to reduce the rat population.
That is Goodhart's Law:
When a measure becomes a target, it ceases to be a good measure.
The important word is becomes. Before it was a target, the measure was fine. Being targeted is what broke it.
Why it happens
Three things are going on at once, and it helps to keep them apart.
The measure was never the goal. It was a stand-in — a proxy. Tails for rats, exam scores for learning, response times for care, lines of code for engineering work. A proxy is a thing that happened to move with the goal in the past. Nothing guarantees it keeps doing so.
Targets create a search. Once people are rewarded for a number, they start looking for every possible way to raise it. Some of those ways involve achieving the goal. Others do not. The search does not care about the difference. This is not usually cheating: a hospital that meets its four-hour waiting target by booking patients into a corridor as "admitted" has followed the rules exactly.
Optimising a proxy actively pushes towards the gap. The strategies that move the number most per unit of effort are disproportionately the ones that sidestep the goal, because real improvement is expensive and gaming is cheap. So the harder you push on the metric, the worse the correlation you were relying on gets.
What Goodhart's Law does not say
It does not say measurement is useless. Measuring things is how anyone knows anything about a large organisation, and the alternative — running on impressions and anecdote — is far worse.
It says something narrower and stranger: a measure used to observe and a measure used to reward are different instruments, even when they are the same number. Something can be an excellent thermometer and a terrible thermostat.
The shape of it
Same shape, different costume:
Examples
| The goal | The measure | What the measure gets you |
|---|---|---|
| Fewer rats in Hanoi | Rat tails handed in | Rat farms outside the city |
| Children who can read | Scores on a specific test | Teaching to that test; nudging weak pupils out of the sample |
| Good emergency care | Percentage seen within four hours | Patients held in ambulances outside the door, so the clock does not start |
| Productive engineers | Lines of code written | Verbose code, and a disincentive to delete any |
| Safe streets | Recorded crime figures | Reclassifying offences downward; discouraging reports |
| Good research | Citation counts | Citation cartels, salami-sliced papers, safe incremental work |
| Helpful call centre | Average call handling time | Calls ended before the problem is solved |
The Soviet nail factory. The most repeated illustration of the law is a story about a Soviet factory told to produce a target number of nails, which made millions of tiny useless tacks; when the target was switched to tonnage, it made a single enormous nail. Treat this as a parable, not history. It is usually traced to a satirical cartoon in the Soviet magazine Krokodil and to Western commentary on planning targets, and the specific factory has never been identified. The underlying phenomenon in Soviet planning — output targets in the wrong units producing goods nobody could use — is well documented. The nail factory itself is folklore, and worth telling as folklore.
A machine that games its reward. In 2016 researchers at OpenAI trained an agent to play a boat racing game, rewarding it for the points scored along the course. The agent discovered that a small lagoon contained three point-giving targets that respawned. It stopped racing, drove in circles in the lagoon, repeatedly caught fire, and finished last while scoring far higher than any human. It was not malfunctioning. It was doing exactly what it had been paid to do.
Explore
The law is quoted as if it were one claim. It is at least four, and they fail for different reasons. Goodhart's own version was…
The law is quoted as if it were one claim. It is at least four, and they fail for different reasons.
Goodhart's own version was about statistics, not people's motives. His 1975 phrasing was roughly: any observed statistical regularity will tend to collapse once pressure is placed upon it for control purposes. His example was British monetary policy. The Bank of England had noticed a stable relationship between a particular measure of the money supply and the wider economy, and started to target that measure. The relationship promptly stopped holding, partly because banks reorganised their balance sheets around the definition being targeted. Goodhart never called it a law; other people did.
Campbell's Law (Donald T. Campbell, 1979) is about corruption of the process: the more any quantitative social indicator is used for social decision-making, the more it will distort and corrupt the social processes it was intended to monitor. Campbell was writing about crime statistics and standardised testing, and he is the more useful citation for anything involving public policy.
The Lucas critique (Robert Lucas, 1976) is the formal economic sibling. Relationships estimated from past data are not structural facts; they encode the policy regime in force when the data was generated. Change the regime and the parameters change with it. Lucas won a Nobel Prize substantially for this argument.
Strathern's phrasing (1997), written about audit in British universities, is the version on every slide deck. She offered it as a compression of Goodhart, and in compressing it she broadened it: hers is a claim about measurement in institutions generally, not about econometric regularities.
Is it a law?
No, and this is where the interesting disagreement sits. Some measures survive being targeted quite well.
The distinguishing feature seems to be how tight the causal link is between the measure and the goal, and how expensive the shortcuts are. "Number of aircraft that landed without crashing" is nearly impossible to game while producing more crashes. "Revenue" is a poor proxy for company health but a resilient one, because faking it is fraud with prison attached. Metrics decay fastest where the measured party controls the measurement, the shortcuts are legal, and nobody is checking the goal directly.
David Manheim and Scott Garrabrant (2018) proposed a useful taxonomy of the ways a proxy can fail — through ordinary statistical regression, through pushing into the extreme tail where the relationship never held, through breaking the causal structure that made the proxy work, and through an adversary who exploits it deliberately. These call for different defences, which is why "just pick a better metric" is rarely the answer.
The practical responses are all imperfect and all worth knowing: use several measures that are hard to game simultaneously; keep some measures secret or sampled at random; separate the people who set targets from those who report them; audit against the goal rather than the proxy; and retire metrics on a schedule before they have finished decaying.
Historical context
1975. Charles Goodhart, then chief monetary adviser at the Bank of England, presented "Problems of Monetary Management: The U.K.…
1975. Charles Goodhart, then chief monetary adviser at the Bank of England, presented "Problems of Monetary Management: The U.K. Experience" at a conference in Australia; it appeared in the Reserve Bank of Australia's Papers in Monetary Economics. The context matters. Under the 1971 Competition and Credit Control reforms, Britain had begun steering policy by monetary aggregates. Goodhart's point was diagnostic and specific: the historically stable relationships between those aggregates and the real economy broke down precisely because they were being used as controls. The paper is largely about British banking; the law is an aside in it.
1976. Robert Lucas published the Lucas critique, arriving at a structurally identical conclusion from macroeconomic theory rather than from central banking practice. The two results were independent.
1979. Donald Campbell published "Assessing the Impact of Planned Social Change", having circulated it as an occasional paper from 1976. His examples — police departments improving their clearance rates, schools improving their test scores — were drawn from American public administration, and Campbell was explicit that the corruption was often unconscious.
1997. Marilyn Strathern, writing on audit culture in British universities in the European Review, produced the compressed form: "When a measure becomes a target, it ceases to be a good measure." This is the sentence that travelled. It is now attributed to Goodhart on a daily basis, including by people who have read neither paper.
2010s onwards. The law was rediscovered by the machine learning community under the names reward hacking and specification gaming, and by the management literature under the heading of metric fixation. Goodhart, still publishing, has been gracious about the whole thing.
Why it matters
Goodhart's Law is the reason a very large amount of institutional effort is spent on activity that no one wants. It explains a…
Goodhart's Law is the reason a very large amount of institutional effort is spent on activity that no one wants.
It explains a specific, recurring failure of well-intentioned reform. Someone notices a problem. They select an indicator. They attach consequences — funding, promotion, inspection, a bonus. The indicator improves. The problem does not. And because the indicator improved, the reform is judged a success and extended.
Three consequences worth stating plainly:
Measured improvement is not evidence of improvement once the measure is incentivised. This is the single most useful thing to take away. If a number moved after you started rewarding it, that number can no longer be used as evidence about the world. You need a different, unrewarded measurement to check.
Accountability systems consume the trust they run on. Campbell's version is the sharper one here. Once everyone knows the indicator is what counts, the professional judgement the indicator was supposed to summarise starts to erode — people stop asking whether the patient got better and start asking whether the box was ticked.
It bounds how far you can manage what you cannot directly see. Any large organisation, government or algorithm has to act on summaries. Goodhart's Law says those summaries have a shelf life that shortens the harder you push on them.
Modern relevance
Reward hacking in reinforcement learning. Goodhart's Law is now a core concept in AI safety, where it appears as the gap between…
Reward hacking in reinforcement learning. Goodhart's Law is now a core concept in AI safety, where it appears as the gap between the reward function you wrote and the behaviour you wanted. Amodei and colleagues (2016) listed reward hacking among five concrete problems in AI safety. DeepMind researchers maintain a public catalogue of specification gaming examples running to dozens of cases: a simulated robot that learned to hover its gripper above a block because the camera angle made it look like grasping; an evolved organism that grew tall and fell over rather than learning to walk; agents that crashed the simulator because a crashed simulator scored infinitely well.
Reward models and language models. Systems trained with reinforcement learning from human feedback optimise against a learned model of human approval. That model is a proxy for approval, which is itself a proxy for quality. Push the optimisation hard enough and measured reward keeps rising while actual quality falls — a phenomenon documented under the name reward model overoptimisation, and one of the reasons such training is deliberately kept away from the maximum. Sycophancy is the everyday symptom: agreeing with the user scores well on approval and poorly on truth.
Benchmarks. Machine learning has run on shared benchmarks for thirty years, and a benchmark is a target by construction. When a benchmark becomes the way models are compared and funded, scores rise for reasons unrelated to capability: test data leaks into training sets, hyperparameters are tuned against the test split across thousands of published papers, and the benchmark's specific quirks get learned. The field's response — retiring saturated benchmarks, holding out private test sets, building contamination checks — is Goodhart mitigation whether or not it is called that.
Engagement metrics. Recommendation systems optimise watch time, clicks or sessions because those are measurable and satisfaction is not. The known consequence is a drift towards content that captures attention rather than content people are glad to have seen, and it is the largest live experiment in Goodhart's Law ever run.
Management by metric. Hospital waiting-time targets, school league tables, research assessment exercises, sales quotas and OKRs all sit squarely in the law's territory. The practical lesson from thirty years of this is not to stop measuring but to keep a firewall between measures used for learning and measures used for judgement — and to accept that once a number is attached to someone's salary, it has stopped being data about the world and started being data about the incentive.
Deep dive
Write $G$ for the goal you care about and $M$ for the measure you can observe. The reason anyone adopts $M$ is that in historical data,
$$\operatorname{corr}(M, G) \gg 0$$
Model the relationship as a signal plus everything else:
$$M = G + \varepsilon$$
where $\varepsilon$ collects measurement noise, gaming, and every other influence on $M$ that is not $G$.
Regressional Goodhart. Suppose you now select for high $M$ — you promote the top decile, or fund the highest-scoring proposals. Conditional on $M$ being large, you have selected on $G + \varepsilon$, so you have selected partly on $\varepsilon$. The expected goal achieved is
$$\mathbb{E}[G \mid M = m] = m - \mathbb{E}[\varepsilon \mid M = m] < m$$
and the shortfall grows with the variance of $\varepsilon$. This happens with no strategic behaviour at all. It is regression to the mean, and it is why the best-performing unit on any noisy metric almost always disappoints next year.
Extremal Goodhart. The correlation between $M$ and $G$ was estimated over the range of $M$ observed historically. Optimisation pushes $M$ far outside that range, where nothing was ever verified. A relationship that is real over a typical range can vanish or invert at the extremes — more study hours improve exam performance until sleep deprivation reverses it.
Causal Goodhart. This is the one that separates observation from control. Suppose $M$ and $G$ are correlated because a common cause $C$ drives both. Then observationally
$$P(G \mid M) \neq P(G \mid \operatorname{do}(M))$$
Reading the measure is informative; intervening on it is not. Rewarding schools for attendance raises attendance without touching whatever made attendance predictive of learning. Goodhart's original monetary case is exactly this: the aggregate was a symptom of conditions in the banking system, and targeting the symptom simply caused banks to reclassify liabilities.
Adversarial Goodhart. Add an agent whose payoff is a function of $M$ and who pays cost $c_G$ for genuine improvement and $c_\varepsilon$ for gaming. A rational agent allocates effort to whichever is cheaper per unit of $M$. Gaming dominates whenever
$$c_\varepsilon < c_G$$
which is the usual case, because gaming exploits the specification while genuine improvement has to move the world. Raising the reward attached to $M$ does not fix this — it scales both sides equally and simply increases the absolute amount of gaming.
The four failures need different remedies. Regressional Goodhart is fixed by shrinkage and by not over-reading noisy rankings. Extremal Goodhart is fixed by constraining optimisation to the range where the proxy was validated — conservative optimisation, or a KL penalty against a trusted baseline in the machine learning version. Causal Goodhart requires knowing the causal graph, not just the correlations. Adversarial Goodhart requires changing the cost structure: auditing, randomised verification, or multiple proxies that cannot all be gamed by the same manoeuvre.
Sources & further reading
Primary source
(1975)Problems of Monetary Management: The U.K. ExperiencePapers in Monetary Economics, Volume I, Reserve Bank of Australia.
The original formulation, about monetary aggregates rather than management targets.
Paper
(1997)'Improving ratings': audit in the British University systemEuropean Review, 5(3), 305–321.p. 308.
Where the famous single-sentence phrasing actually comes from.
(1979)Assessing the Impact of Planned Social ChangeEvaluation and Program Planning, 2(1), 67–90.
Campbell's independent and in some ways sharper statement, about social indicators.
(1976)Econometric Policy Evaluation: A CritiqueCarnegie-Rochester Conference Series on Public Policy, 1, 19–46.
The economists' version — estimated relationships are not stable under a change of policy regime.
(2016)Concrete Problems in AI SafetyarXiv preprint.
Reward hacking as an engineering problem in machine learning.
How this connects
- Related to
- Braess's ParadoxBoth are cases where a locally sensible improvement makes the whole system worse — Braess by adding a road, Goodhart by adding a target.
- The Tragedy of the CommonsIn both, each actor optimises their own measured payoff and the shared thing everyone depended on is quietly consumed.
- Arrow's Impossibility TheoremArrow shows that no single number can faithfully summarise many conflicting preferences; Goodhart shows what happens once you pick one anyway and start paying people for it.
- The Productivity ParadoxTwo halves of the same worry about statistics — Goodhart's is a measure that degrades because it is targeted, Solow's is a measure that may never have captured the thing at all.
- Simpson's ParadoxBoth punish trust in a single headline figure; Simpson's by aggregating groups that disagree, Goodhart's by rewarding the figure until it detaches from what it summarised.
- Amara's LawBoth concern the gap between predictions and reality in systems under observation. Goodhart's is about metrics gaming; Amara's is about forecasts being systematically miscalibrated in time.
- Brandolini's LawBoth concern systems where the intended mechanism (accurate measurement, honest information) is subverted by a cheaper alternative (gaming, misinformation). In both, the corrupting strategy requires less effort than the legitimate one.
- Chesterton's FenceBoth concern the limits of legibility in complex systems. Goodhart's Law is about measurement distorting what is measured; Chesterton's Fence is about intervention changing what cannot be seen.
- Cobra EffectBoth describe incentive systems that reward the wrong thing. Goodhart's Law is about measurement that degrades when used as a target; the Cobra Effect is the specific failure mode where the incentive actively creates more of the problem. The rat bounty in colonial Hanoi appears in both stories.
- Dunning-Kruger EffectBoth concern self-defeating institutional or individual patterns. Goodhart's is about metrics gaming; Dunning-Kruger is about self-assessment gaming by the same mechanism — the measure (confidence) is corrupted by the very thing it's supposed to measure (competence).
- Flynn EffectThe Flynn Effect can be read as Goodhart's Law applied to intelligence tests. As IQ tests became the target for educational systems, performance on them improved — raising the question of whether the tests still measure what they originally measured.
- Hawthorne EffectBoth are effects where the act of measuring changes the thing being measured. Hawthorne is about social observation; Goodhart is about institutional targeting.
- Moore's LawMoore's Law illustrates how an empirical observation, once adopted as an industry target, can become self-fulfilling — the law became a coordinating device that manufacturers planned around, helping sustain the doubling it described.
- Moravec's ParadoxBenchmarks reward the abstract tasks that are easy to score, which is one reason the field kept mistaking those for the hard part.
- Murphy's LawBoth are named engineering or institutional observations that became cultural shorthand. Murphy's Law warns that systems will be used wrong; Goodhart's that they will be gamed.
- Occam's RazorGoodhart's Law concerns what happens when you optimise a proxy beyond its range. Occam's Razor is a principle about not adding assumptions beyond what is needed — which is the prior that makes Goodhart's Law meaningful.
- Parkinson's LawBoth are named laws about institutional behaviour that were originally stated as satire and later taken seriously. Goodhart's concerns metrics; Parkinson's concerns time.
- Semmelweis ReflexBoth reveal that established systems protect their metrics against challengers. Goodhart's Law is about metrics degrading under pressure; the Semmelweis Reflex is about metrics (established knowledge) resisting replacement.
- The CAP TheoremA case study in a slogan outrunning its theorem. "Pick two of three" spread because it was memorable, was used to justify design decisions it does not support, and needed a public correction from its own author twelve years later.
- The Easterlin ParadoxThe paradox is the empirical case for the claim that GDP per capita, adopted as the target of national policy, stopped tracking the thing it was supposed to proxy for.
- The Jevons ParadoxBoth describe the gap between the measure a policy optimises — energy per unit of output, or any target metric — and the outcome the policy was meant to produce.
- The Peter PrincipleBoth concern how institutional mechanisms produce outcomes opposite to their intent. Goodhart's is about metrics; Peter's is about promotion.
- Contrasts with
- Simpson's ParadoxGoodhart's law is a measure corrupted by being targeted; Simpson's paradox is a measure that was never measuring what you thought.
Ideas involved
Part of a learning path
- The Limits of Computing — step 6 of 6