Goodhart Taxonomy

Goodhart’s Law states that “any observed statistical regularity will tend to collapse once pressure is placed upon it for control purposes.” However, this is not a single phenomenon. I propose that there are (at least) four different mechanisms through which proxy measures break when you optimize for them.

The four types are Regressional, Causal, Extremal, and Adversarial. In this post, I will go into detail about these four different Goodhart effects using mathematical abstractions as well as examples involving humans and/​or AI. I will also talk about how you can mitigate each effect.

Throughout the post, I will use to refer to the true goal and use to refer to a proxy for that goal which was observed to correlate with and which is being optimized in some way.


Quick Reference

  • Regressional Goodhart—When selecting for a proxy measure, you select not only for the true goal, but also for the difference between the proxy and the goal.

    • Model: When is equal to , where is some noise, a point with a large value will likely have a large value, but also a large value. Thus, when is large, you can expect to be predictably smaller than .

    • Example: height is correlated with basketball ability, and does actually directly help, but the best player is only 6′3″, and a random 7′ person in their 20s would probably not be as good

  • Causal Goodhart—When there is a non-causal correlation between the proxy and the goal, intervening on the proxy may fail to intervene on the goal.

    • Model: If causes (or if and are both caused by some third thing), then a correlation between and may be observed. However, when you intervene to increase through some mechanism that does not involve , you will fail to also increase .

    • Example: someone who wishes to be taller might observe that height is correlated with basketball skill and decide to start practicing basketball.

  • Extremal Goodhart—Worlds in which the proxy takes an extreme value may be very different from the ordinary worlds in which the correlation between the proxy and the goal was observed.

    • Model: Patterns tend to break at simple joints. One simple subset of worlds is those worlds in which is very large. Thus, a strong correlation between and observed for naturally occuring values may not transfer to worlds in which is very large. Further, since there may be relatively few naturally occuring worlds in which is very large, extremely large may coincide with small values without breaking the statistical correlation.

    • Example: the tallest person on record, Robert Wadlow, was 8′11″ (2.72m). He grew to that height because of a pituitary disorder, he would have struggled to play basketball because he “required leg braces to walk and had little feeling in his legs and feet.”

  • Adversarial Goodhart—When you optimize for a proxy, you provide an incentive for adversaries to correlate their goal with your proxy, thus destroying the correlation with your goal.

    • Model: Consider an agent with some different goal . Since they depend on common resources, and are naturally opposed. If you optimize as a proxy for , and knows this, is incentivized to make large values coincide with large values, thus stopping them from coinciding with large values.

    • Example: aspiring NBA players might just lie about their height.


Regressional Goodhart

When selecting for a proxy measure, you select not only for the true goal, but also for the difference between the proxy and the goal.

Abstract Model

When is equal to , where is some noise, a point with a large value will likely have a large value, but also a large value. Thus, when is large, you can expect to be predictably smaller than .

The above description is when is meant to be an estimate of . A similar effect can be seen when is only meant to be correlated with by looking at percentiles. When a sample is chosen which is a typical member of the top percent of all values, it will have a lower value than a typical member of the top percent of all values. As a special case, when you select the highest value, you will often not select the highest value.

Examples

Examples of Regressional Goodhart are everywhere. Every time someone does something that is anything other than the thing that maximizes their goal, you could view it as them optimizing some kind of proxy (and the action to maximize the proxy is not the same as the action to maximize the goal).

Regression to the Mean, Winner’s Curse, and Optimizer’s Curse are all examples of Regressional Goodhart, as is the Tails Come Apart phenomenon.

Relationship with Other Goodhart Phenomena

Regressional Goodhart is by far the most benign of the four Goodhart effects. It is also the hardest to avoid, as it shows up every time the proxy and the goal are not exactly the same.

Mitigation

When facing only Regressional Goodhart, you still want to choose the option with the largest proxy value. While the proxy will be an overestimate it will still be better in expectation than options with a smaller proxy value. If you have control over what proxies to use, you can mitigate Regressional Goodhart by choosing proxies that are more tightly correlated with your goal.

If you are not just trying to pick the best option, but also trying to have an accurate picture of what the true value will be, Regressional Goodhart may cause you to overestimate the value. If you know the exact relationship between the proxy and the goal, you can account for this by just calculating the expected goal value for a given proxy value. If you have access to a second proxy with an error independent from the error in the first proxy, you can use the first proxy to optimize, and the second proxy to get an accurate expectation of the true value. (This is what happens when you set aside some training data to use for testing.)


Causal Goodhart

When there is a non-causal correlation between the proxy and the goal, intervening on the proxy may fail to intervene on the goal.

Abstract Model

If causes (or if and are both caused by some third thing), then a correlation between and may be observed. However, when you intervene to increase through some mechanism that does not involve , you will fail to also increase V.

Examples

Humans often avoid naive Causal Goodhart errors, and most examples I can think of sound obnoxious (like eating caviar to become rich). One possible example is a human who avoids doctor visits because not being told about health is a proxy for being healthy. (I do not know enough about humans to know if Causal Goodhart is actually what is going on here.)

I also cannot think of a good AI example. Most AI is not in acting in the kind of environment where Causal Goodhart would be a problem, and when it is acting in that kind of environment Causal Goodhart errors are easily avoided.

Most of the time the phrase “Correlation does not imply causation” is used it is pointing out that a proposed policy might be subject to Causal Goodhart.

Relationship with Other Goodhart Phenomena

You can tell the difference between Causal Goodhart and the other three types because Causal Goodhart goes away when just sample a world with large proxy value, rather than intervene to cause the proxy to happen.

Mitigation

One way to avoid Causal Goodhart is to only sample from or choose between worlds according to their proxy values, rather than causing the proxy. This clearly cannot be done in all situations, but it is useful to note that there is a class of problems for which Causal Goodhart cannot cause problems. For example, consider choosing between algorithms based on how well they do on some test inputs, and your goal is to choose an algorithm that performs well on random inputs. The fact that you choose an algorithm does not effect its performance, and you don’t have to worry about Causal Goodhart.

In cases where you actually change the proxy value, you can try to infer the causal structure of the variables using statistical methods, and check that the proxy actually causes the goal before you intervene on the proxy.


Extremal Goodhart

Worlds in which the proxy takes an extreme value may be very different from the ordinary worlds in which the correlation between the proxy and the goal was observed.

Abstract Model

Patterns tend to break at simple joints. One simple subset of worlds is those worlds in which is very large. Thus, a strong correlation between and observed for naturally occuring values may not transfer to worlds in which is very large. Further, since there may be relatively few naturally occuring worlds in which is very large, extremely large may coincide with small values without breaking the statistical correlation.

Examples

Humans evolve to like sugars, because sugars were correlated in the ancestral environment (which has fewer sugars) with nutrition and survival. Humans then optimize for sugars, have way too much, and become less healthy.

As an abstract mathematical example, let and be two correlated dimensions in a multivariate normal distribution, but we cut off the normal distribution to only include the ball of points in which for some large . This example represents a correlation between and in naturally occurring points, but also a boundary around what types of points are feasible that need not respect this correlation. Imagine you were to sample points and take the one with the largest value. As you increase , at first, this optimization pressure lets you find better and better points for both and , but as you increase to infinity, eventually you sample so many points that you will find a point near . When enough optimization pressure was applied, the correlation between and stopped mattering, and instead the boundary of what kinds of points were possible at all decided what kind of point was selected.

Many examples of machine learning algorithms doing bad because of overfitting are a special case of Extremal Goodhart.

Relationship with Other Goodhart Phenomena

Extremal Goodhart differs from Regressional Goodhart in that Extremal Goodhart goes away in simple examples like correlated dimensions in a multivariate normal distribution, but Regressional Goodhart does not.

Mitigation

Quantilization and Regularization are both useful for mitigating Extremal Goodhart effects. In general, Extremal Goodhart can be mitigated by choosing an option with a high proxy value, but not so high as to take you to a domain drastically different from the one in which the proxy was learned.


Adversarial Goodhart

When you optimize for a proxy, you provide an incentive for adversaries to correlate their goal with your proxy, thus destroying the correlation with your goal.

Abstract Model

Consider an agent with some different goal . Since they depend on common resources, and are naturally opposed. If you optimize as a proxy for , and knows this, is incentivized to make large values coincide with large values, thus stopping them from coinciding with large values.

Examples

When you use a metric to choose between people, but then those people learn what metric you use and game that metric, this is an example of Adversarial Goodhart.

Adversarial Goodhart is the mechanism behind a superintelligent AI making a Treacherous Turn. Here, is doing what the humans want forever. is doing what the humans want in the training cases where the AI does not have enough power to take over, and is whatever the AI wants to do with the universe.

Adversarial Goodhart is also behind the malignancy of the universal prior, where you want to predict well forever (), so hypotheses might predict well for a while (), so that they can manipulate the world with their future predictions ().

Relationship with Other Goodhart Phenomena

Adversarial Goodhart is the primary mechanism behind the original Goodhart’s Law.

Extremal Goodhart can happen even without any adversaries in the environment. However, Adversarial Goodhart may take advantage of Extremal Goodhart, as an adversary can more easily manipulate a small number of worlds with extreme proxy values, than it can manipulate all of the worlds.

Mitigation

Succesfully avoiding Adversarial Goodhart problems is very difficult in theory, and we understand very little about how to do this. In the case of non-superintelligent adversaries, you may be able to avoid Adversarial Goodhart by keeping your proxies secret (for example, not telling your employees what metrics you are using to evaluate them). However, this is unlikely to scale to dealing with superintelligent adversaries.

One technique that might help in mitigating Adversarial Goodhart is to choose a proxy that is so simple and optimize so hard that adversaries have no or minimal control over the world which maximizes that proxy. (I want to ephasize that this is not a good plan for avoiding Adversarial Goodhart; it is just all I have.)

For example, say you have a complicated goal that includes wanting to go to Mars. If you use a complicated search process to find a plan that is likely to get you to Mars, adversaries in your search process may suggest a plan that involves building a superintelligence that gets you to Mars, but also kills you.

On the other hand, if you use the proxy of getting to Mars as fast as possible and optimize very hard, then (maybe) adversaries can’t add baggage to a proposed plan without being out selected by a plan without that baggage. Buliding a superintelligence maybe takes more time than just having the plan tell you how to build a rocket quickly. (Note that the plan will likely include things like acceleration that humans can’t handle and nanobots that don’t turn off, so Extremal Goodhart will still kill you.)